Skip to content

Latest commit

 

History

History

docs

mochajs.org

So you wanna build the site?

mochajs.org is built using Eleventy, a simple static site generator.

Development

  1. Run npm install / npm ci from working copy root to get Node.js deps.
  2. To serve the site and rebuild as changes are made, execute npm run docs-watch.
  3. To rebuild the site once, execute npm run docs.

Notes

  • The content lives in docs/index.md; everything else is markup, scripts, assets, etc.
  • This file (docs/README.md) should not be included in the build.
  • docs/_site_ is where the deployed site lives. This directories are not under version control.