The create_documentation.sh
script automates the process of generating local documentation for the bionemo.moco
project and ensures its accuracy by performing a post-generation cleanup. This process enhances discoverability and maintainability of the project's codebase including local changes.
./create_documentation.sh
pydoc-markdown -I src/bionemo --render-toc > documentation.md
pydoc-markdown
to parse the src/bionemo
directory, generating Markdown documentation. The --render-toc
flag includes a Table of Contents for easier navigation. The output is redirected to a file named documentation.md
.python scripts/clean_documentation.py
clean_documentation.py
) is executed to:documentation.md
.bionemo.moco
, covering modules, classes, functions, and variables documented within the src/bionemo
directory.