The source for Kipoi documentation is in this directory under sources/.
Our documentation uses extended Markdown, as implemented by MkDocs and wrapped by Keras.
- Install MkDocs:
pip install mkdocs - If you are on OS-x, install
gnu-sedfrom conda-forgeconda install -c conda-forge sed. Make sure thatwhich sedreturns the right path. cdto thedocs/folder and run:make build# Builds a static site in "site" directory- injects the docstrings into placeholders. See
docs/autogen.pyanddocs/templates/api/model.md - converts the ipynbs (
docs/ipynb_pages.txt) to .md - Converts the .md files to a static page. See
docs/mkdocs.yml
- injects the docstrings into placeholders. See
mkdocs serve# Starts a local webserver: localhost:8000