docs/_docu-tools/README.md
This website is built using Docusaurus, a modern static website generator.
pnpm install
pnpm start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
pnpm build
This command generates static content into the build directory and can be served using any static contents hosting service.
The contents in the woocommerce/docs folder are pulled via a nightly GitHub Actions cron job in the woocommerce-woo-docs-multi-com repository, built for production, and a PR is created against the main branch of the same repository. The PR is then merged and the changes are deployed to the live site.
Changes to the developer docs will typically show up on the live site within 24 hours of being merged.