This folder hosts our tutorial documents used for our readthedocs page as well as functions to create our docs dynamically.
Our readthedocs page is here.
Pandoc must be installed to use our PandocConverter
class.
You can install it using the pypandoc
package as well.
pip install pypandoc
# expects an installed pypandoc: pip install pypandoc
from pypandoc.pandoc_download import download_pandoc
# see the documentation how to customize the installation path
# but be aware that you then need to include it in the `PATH`
download_pandoc()
- Run createdocs.py using
python createdocs.py
to regenerate docs. - Edit docs for specific add ins.
For example, for main documentation in subfolders such as orthologs, reference
the documentation files of submodules using
submodule <submodulereadme.rst>
__ - Test the docs by running
make html
in thesource
folder. - Commit the changes and push to the branch.
Perform the below command in the root directory of this package. First, remove all of the existing files.
rm -rf Docs/docs/source/modules/*.rst
sphinx-apidoc OrthoEvol/ -o Docs/docs/source/modules