๐ Documentation Scripts
npm run docsโ
Runs whatever scripts are inside the /docs directory (Docusaurus) from the project's root.
npm run --prefix docs
Used for dev/staging/production documentation commands depending on what's in docs/package.json.
All of the commands below can be run using the command below (e.g., npm run docs start)
Docusaurus-Only Commandsโ
These commands can ony be run from the /docs folder unless you use the exception mentioned above.
npm run startโ
Starts the Docusaurus development server.
- Hot reload enabled
- Runs at
http://localhost:3000 - Rebuilds instantly when editing MDX or config
docusaurus start
npm run buildโ
Builds the full production static site into:
docusaurus build
npm run swizzleโ
Builds the full production static site into:
docusaurus swizzle
npm run deployโ
Builds the full production static site into:
docusaurus deploy
npm run clearโ
Builds the full production static site into:
docusaurus clear
npm run serveโ
Builds the full production static site into:
docusaurus serve
npm run write-translationsโ
Builds the full production static site into:
docusaurus write-translations
npm run write-heading-idsโ
Builds the full production static site into:
docusaurus write-heading-ids