Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 871 Bytes

File metadata and controls

18 lines (13 loc) · 871 Bytes

mochajs.org

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.

Development

  1. Run npm install from working copy root to get Node.js deps.
  2. To include the API documentation, run npm run api before the either of the following commands.
  3. To serve the site and rebuild as changes are made, run npm run watch.
  4. To rebuild the site once, run npm run docs.
  5. To preview the site, run npm run preview.

Notes

  • 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.