-
Notifications
You must be signed in to change notification settings - Fork 0
Generating API Documentation
The API is fully documented using ESDoc syntax. You can read the docs in the source, or you can generate very readable and very nice-looking HTML documentation pages by running esdoc on the project.
To make the process easier, there is an npm script in the package.json file which you can use to generate the documentation. To do this, just follow along with this guide.
You need nodejs and npm installed on your machine.
Clone the repository to your local machine
git clone https://github.com/RichardMarks/Collision2D.git
Change directory into the cloned directory
cd Collision2D
Install the node dependency tree for the project
npm install
Generate the documentation by running the script
npm run docs
After a few seconds or so, a new directory named docs will be created.
View the generated documentation by opening the index.html file.
open docs/index.html
The content of this wiki is © Copyright 2016, Richard Marks. All Rights Reserved.