-
Notifications
You must be signed in to change notification settings - Fork 2
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
Sphinx Documentation and Deploymment #18
base: devel
Are you sure you want to change the base?
Conversation
8df1eb7
to
5c40732
Compare
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.
LGTM!
# 'sphinx.ext.napoleon', # Support for NumPy and Google style docstrings | ||
# 'sphinx.ext.autodoc', | ||
# 'sphinx.ext.autosummary', |
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.
I personally like autodoc and napoleon - maybe for a later iteration :)
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.
I also like it a lot but as there is not really Python code for now, I disabled it for the moment. Happy to change if there is Phython code that requires documentation.
Changelog
This pull request introduces a GitHub Actions workflow for automatically building and publishing Sphinx-based documentation. The workflow triggers on every push or pull request and ensures consistent generation and deployment of project documentation.
The documentation is built using Sphinx, with integration of Doxygen to extract inline documentation from C source code. The Doxygen output is then parsed and incorporated into the Sphinx build using the Breathe plugin, allowing seamless inclusion of API documentation within the overall project documentation.
The workflow supports multi-branch GitHub Pages, enabling documentation for different branches to be deployed side-by-side. This allows maintaining documentation for various development stages (e.g.,
main
, feature branches, and PR-specific previews). Each branch’s documentation is hosted under its respective path. For example:master
) is deployed to the root of the GitHub Pages site.(e.g. https://pulp-platform.github.io/chimera-sdk/)
(e.g. https://pulp-platform.github.io/chimera-sdk/branch/devel)
An example documentation for this branch can be previewed here.
Added
.github/workflows/docs.yml
.Changed
README.md
to avoid duplication and divergence.