mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-25 11:37:43 -10:00
The template is used in one of the page, but the plugin wasn't installed, so Gitbook would fail generating the doc. Differential Revision: https://phabricator.services.mozilla.com/D39156
28 lines
908 B
Markdown
28 lines
908 B
Markdown
# About this documentation
|
|
|
|
This guide is built with MarkDown files and [GitBook](https://github.com/GitbookIO/gitbook).
|
|
|
|
The source code for this documentation is distributed with the source code for the tools, in the `docs/` folder.
|
|
|
|
If you want to contribute to the documentation, [clone the repository](./getting-started/build.md#getting-the-code), make your changes locally, and then regenerate the book to see how it looks like before submitting a patch:
|
|
|
|
```bash
|
|
# Install GitBook locally
|
|
npm install -g gitbook-cli
|
|
|
|
# Go into the docs directory
|
|
cd /path/to/mozilla-central/devtools/docs/
|
|
|
|
# Install plugins
|
|
gitbook install
|
|
|
|
# Generate the docs and start a local server
|
|
gitbook serve
|
|
|
|
# You can now navigate to localhost:4000 in your browser to see the output
|
|
open http://localhost:4000 # this would work in MacOS
|
|
|
|
# Or build the book only (this places the output into `docs/_book`)
|
|
gitbook build
|
|
```
|