These are the legacy docs for Mocha built using Eleventy, a simple static site generator. They used to be served on mochajs.org; now they're served on legacy.mochajs.org.
- Run
npm installfrom working copy root to get Node.js deps. - To include the API documentation, run
npm run apibefore the either of the following commands. - To serve the site and rebuild as changes are made, run
npm run watch. - To rebuild the site once, run
npm run docs. - To preview the site, run
npm run preview.
- The content lives in
index.md; everything else is markup, scripts, assets, etc. - This file (
README.md) should not be included in the build. _site_is where the deployed site lives. This directory is not under version control.