#Mozilla Docs
- node.js
- npm
The following instructions are intended to be run from a command line.
- Clone mozilla-docs:
git clone git@github.com:darrinhenein/mozilla-docs.git. - Create a new folder outside of mozilla-docs that will store your project.
- Change directories into your new project:
cd <path/to/project>. - Run
npm install <path/to/mozilla-docs>inside of your project folder. - Run
npm install -g <path/to/mozilla-docs>to add themozdoccli to your path.
Put markdown files into a documents/ folder inside your project folder.
Images should be placed into images/.
- Run
mozdoc serveto preview your doc and serve a live copy locally. - Run
mozdoc buildto build a production readybuild/directory.