Skip to content

Add GitHub Pages deployment workflow#77

Merged
iahncajigas merged 1 commit intomainfrom
fix/deploy-github-pages
Mar 24, 2026
Merged

Add GitHub Pages deployment workflow#77
iahncajigas merged 1 commit intomainfrom
fix/deploy-github-pages

Conversation

@iahncajigas
Copy link
Copy Markdown
Contributor

Summary

  • New deploy-docs.yml workflow that builds Sphinx HTML with sphinx_rtd_theme and deploys to GitHub Pages on every push to main
  • Updates docs/conf.py to use Read the Docs theme with navigation options
  • Adds sphinx-rtd-theme>=3.0 to dev dependencies
  • Adds .nojekyll marker to preserve Sphinx _static/ directories

The live site at cajigaslab.github.io/nSTAT-python/ has been frozen since Feb 28 because no deployment workflow existed. After this merges, every push to main will automatically redeploy the docs.

Test plan

  • docs-build CI job passes (Sphinx build with -W warnings-as-errors)
  • deploy-docs workflow triggers on merge to main
  • Live site at cajigaslab.github.io/nSTAT-python/ updates with RTD theme
  • Paper examples gallery with figure thumbnails renders correctly
  • All navigation pages (PaperOverview, ClassDefinitions, Examples) accessible

🤖 Generated with Claude Code

- New deploy-docs.yml: builds Sphinx HTML and deploys to GitHub Pages
  on every push to main (uses actions/deploy-pages v4)
- docs/conf.py: switch to sphinx_rtd_theme with navigation options;
  exclude superpowers/ specs from build
- pyproject.toml: add sphinx-rtd-theme>=3.0 to dev dependencies
- Add .nojekyll marker in build step to preserve _static/ directories
- Includes design spec at docs/superpowers/specs/

The live site at cajigaslab.github.io/nSTAT-python/ has been frozen
since Feb 28 because no deployment workflow existed. This fix will
automatically deploy fresh docs on every merge to main.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@iahncajigas iahncajigas merged commit 4d29e4b into main Mar 24, 2026
14 checks passed
@iahncajigas iahncajigas deleted the fix/deploy-github-pages branch March 24, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant