New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use mkdocstrings to generate API docs #79
Conversation
While playing with this, I hit the following error when building the docs with
This is somehow caused by having all
Workaround is to just wipe
|
default_handler: python | ||
handlers: | ||
python: | ||
paths: [src] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe src/easybuild-framework
makes more sense?
Eventually, it could be interesting to also have auto-generated API docs for easybuild.easyblocks
, perhaps...
We can tackle this in a follow-up PR, where we also try to avoid that src
must be populated in order for the documentation build to work, since this also requires changes to gen_ref_pages.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can tackle that in a follow on to this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
opened #88 to follow up on this
Co-authored-by: Kenneth Hoste <kenneth.hoste@ugent.be>
Uses:
mkdocstrings
mkdocs-gen-files
mkdocs-literate-nav
mkdocs-section-index
Based on the example at https://mkdocstrings.github.io/recipes/#automatic-code-reference-pages.
This expects to find the easybuild framework checked out in
src
git clone git@github.com:easybuilders/easybuild-framework.git src
Issue:
py2.py
causes this to failpy2.py
as we are using Python 3