Updating automated documentation
Documentation links
Note that for now the index.html
nwjs starter page is left out of the automatically generated docs.
Updating documentation with Docco
Using docco for documentation inspired by this blog post. In conjunction with json doc.
install docco globally
to re-generate documentation run from root of app
this puts documentation in /docs/docco_docs
folder.
Docco config
The setup for this is done in package.json
scripts where the folders/files to consider for documentations and destination folder(-o
) are specified.
Updating documentation with JSDoc
see here for jsodc tags to use when writing code comments.
To get up and running with updating the documentation install jsdoc locally
Edit config file as explain in blog post{:target="_blank"}
This is because you need to edit the config file in the module at .
/node_modules/jsdoc/config.json
. And this part of the information is at usejsdoc.org.
to re-generate documentation run from root of app
Jsdoc config
This executes the script in package.json
, and places the documentation inside of /docs/jsdoc_docs
.
See /docs/jdocs_conf/conf.json
for the config options,that specify which files to include, exclude etc..
Updating developer's tutorial
To add or update a tutorial in the developer documentation tutorials, go to /docs/_posts/tutorial
where you can find the markdown files.
Jsdoc allows to link to tutorial in documentation. In this project this is used for topics that might deserve a standalone explanation such as the one on the EDL format.
Last updated