#Mozilla Docs
- node.js
- npm
The following instructions are intended to be run from a command line.
- Clone mozilla-docs:
git clone [email protected]: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 themozdoc
cli to your path.
Put markdown files into a documents/
folder inside your project folder.
Images should be placed into images/
.
- Run
mozdoc serve
to preview your doc and serve a live copy locally. - Run
mozdoc build
to build a production readybuild/
directory.