This repository contains the user documentation for JSDoc 3. Use this repository to report documentation bugs, and to submit pull requests for improving the docs.
If you just want to read the documentation, please visit Use JSDoc.
The HTML docs are generated with Metalsmith and Gulp. If you'd like to contribute to the docs, make sure Node.js and npm are installed, then follow these steps:
-
Clone this repository:
git@github.com:jsdoc3/jsdoc3.github.com.git
-
Install Bower and Gulp globally:
npm install -g gulp npm install -g bower
-
Install the dependencies:
npm install bower install
-
Make your changes in the
content
directory, which contains the source files for the docs.The first few lines of each source file contain YAML front matter, which is metadata in YAML format. If you need to use the character
@
or[
at the start of a YAML value, you can escape it with a backslash. For example, writetitle: @class
astitle: \@class
. -
Rebuild the HTML files:
gulp
-
Review the updated HTML files, and make sure your changes look okay. In particular, if you edited the YAML front matter, make sure your changes are reflected in the generated HTML files.
-
Submit a pull request with your changes.
Copyright (c) 2011-2014 by Michael Mathews and the JSDoc 3 documentation contributors.
This repository is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported
license. A copy of the license is included in the LICENSE
file.