docs/README.md
These are the docs for the classic version of mochajs.org. For the Astro site released in 2025, see docs-next.
The classic mochajs.org is built using Eleventy, a simple static site generator.
npm install / npm ci from working copy root to get Node.js deps.npm run docs:api before the either of the following commands.npm run docs-watch.npm run docs. This also builds the Astro site.npm run docs:preview. The Astro site is available at /next.docs/index.md; everything else is markup, scripts, assets, etc.docs/README.md) should not be included in the build.docs/_site_ is where the deployed site lives. This directory is not under version control.