Skip to content

Curious question: What python library are you using to automate documentation generation? #192

Answered by maclandrol
Pakman450 asked this question in Q&A
Discussion options

You must be logged in to vote

We use mkdocs-material, part of the mkdocs ecosystem and mike for version control of the docs.

Please see: https://github.com/datamol-io/datamol/blob/main/mkdocs.yml for an example configuration file and https://github.com/datamol-io/datamol/tree/main/docs for the corresponding documentation links.

This file give an example of how the document link for a module should look like: https://raw.githubusercontent.com/datamol-io/datamol/main/docs/api/datamol.mol.md. This is assuming that all relevant function have proper docstrings (and optionally type hints).

For release, we just need to update/add docstrings or add new documentation page, then we have a github-action: https://github.com/datam…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Pakman450
Comment options

Answer selected by Pakman450
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants