ci: add GitHub Actions workflow for documentation build and deploy - #286
ci: add GitHub Actions workflow for documentation build and deploy#286santhil-cyber wants to merge 1 commit into
Conversation
Add a CI/CD workflow that: - Builds Sphinx documentation on every push and PR to main - Validates with -W (warnings as errors) and linkcheck - Deploys to GitHub Pages on merge to main - Uses path filters to only trigger on docs/ or neural_lam/ changes - Installs graphviz for inheritance diagram rendering Also adds docs/requirements.txt with minimal Sphinx dependencies. Relates to mllam#61
|
hey @santhil-cyber - good work with the CI structure, path filters and concurrency control are good additions. One thing to note is that #272 already includes a GitHub Actions workflow that uses |
|
I agree with @Mohit-Lakra for the organization of this, let's try to keep things to #272 for now. You can always suggest changes directly in there until it is merged. Will close this in favor of this workflow. |
Describe your changes
Adds a CI/CD workflow for automated documentation building and deployment. This complements the ongoing documentation efforts in #252 and #272 by providing the infrastructure to automatically verify and deploy docs.
What the workflow does:
-W(warnings as errors) and runslinkcheckto catch broken references earlydocs/,neural_lam/(for docstring changes), or the workflow file itself changes — avoids unnecessary runsinheritance_diagramandgraphvizdirectives render properlyAlso includes a minimal
docs/requirements.txtwith core Sphinx dependencies. This is intentionally lean so it can work with whichever documentation tooling is settled on (Sphinx, Jupyter Book, etc.) — only the install step and build command would need updating.Issue Link
Relates to #61
Type of change
Checklist before requesting a review