Back to Woocommerce

Website

docs/_docu-tools/README.md

10.8.0-dev950 B
Original Source

Website

This website is built using Docusaurus, a modern static website generator.

Installation

bash
npm install

Local Development

bash
npm run 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.

Build

bash
npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

The contents in the woocommerce/docs folder are pulled via a GitHub Actions cron job defined in the deploy-docs workflow.

They are then built for production and a PR is created against the woocommerce-woo-docs-multi-com repository in that same GitHub Action.