About this documentation ======================== How to generate this documentation ---------------------------------- * Install Sphinx * change dir to project main dir * create symlink: ``ln -s src pyi2ncommon`` * change dir into doc * run ``sphinx-apidoc -o ./ ../pyi2ncommon`` (you may have to add a -f if you added a new module) * run ``make html`` (this will create one .rst file for each python file in pyi2ncommon directory) Good to know ------------ * lots of example documentation can be found in the docu of template.py (:py:mod:`template`) * this Documentation was initialized using sphinx-quickstart * doc/conf.py can be used to configure lots of the documentation * the autodoc extension is responsible for creating .rst files from documentation in .py files * you should not have to change the my_module_name.rst files or modules.rst since they are auto-created * by including modules.rst in the toctree of index.rst, all modules' source doc is included in this help * in conf.py, there is a setup() function in the end which can be used to influence the doc strings * sometimes, adding . to the end of list items is required (not always as in this example) TODO ---- * before committing run pylint and pep8 (--> check.sh) * automatically get classes and exceptions (and free functions?) into sidebar when opening module doc * automatically set module name as title for module doc