-
Notifications
You must be signed in to change notification settings - Fork 112
Packaging: AutoDoc
lneuhaus edited this page Aug 17, 2017
·
6 revisions
For the automatic documentation to work, please follow the code style guidelines for docstrings. To compile the autodoc with sphinx, simply install sphinx > 1.3 (pip install sphinx
) and type (starting from the pyrpl root directory)
cd doc/sphinx
make html
An extensive discussion of the (automatic) documentation can be found in issue #291.
A few useful links and older information (from issue #85):
- We should implement this in order to view the autodoc online, preferentially by having travis perform a build of the autodoc at each commit: https://daler.github.io/sphinxdoc-test/includeme.html
- The good commands for building autodoc are described here: http://gisellezeno.com/tutorials/sphinx-for-python-documentation.html
- These commands are:
cd doc/sphinx
sphinx-apidoc -f -o source/ ../../pyrpl/
make html
Current version of autodoc: https://github.com/lneuhaus/pyrpl/blob/master/doc/sphinx/build/html/pyrpl.html