You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brian L edited this page Nov 1, 2013
·
5 revisions
======
Epydoc generates html documentation for our project. To generate documentation, just run ./manage.py makedocs. This creates html documentation inside the doc directory. To view the documentation, just open doc/index.html in a web browser.
To add or remove a directory to the list of searched directories, edit folders_to_include in apps/utils/management/commands/makedocs.py
Documenting Code
To document code, just add a docstring. Epydoc includes formatting tags to indicate things like parameters and return values, a full list can be found here. At minimum, every function should list the return value as @return and include a short description of what it does.
JSDoc
To read documentation for our JavaScript (pages.js), run this in the command line.