Skip to content

Publish the built Sphinx documentation to GitHub Pages - #15

Merged
hgopalan merged 1 commit into
developmentfrom
claude/pages-docs
Nov 23, 2026
Merged

hgopalan merged 1 commit into
developmentfrom
claude/pages-docs

Conversation

@hgopalan

Copy link
Copy Markdown
Collaborator

Related to the documentation site https://erf-model.github.io/FLUME/ returning 404.

Summary

The documentation site showed a 404 page. The Pages workflow (static.yml) was GitHub's starter template: it uploaded the whole repository as the site. The repository root has no index.html, so the front page did not exist. Raw files such as README.md were served instead.

The workflow now builds the Sphinx documentation first and uploads only the built HTML. The build uses the same strict command as docs.yml (warnings are errors). No source, test or documentation content changes.

Changes

  1. .github/workflows/static.yml: install Docs/sphinx_doc/requirements.txt, run sphinx-build -W --keep-going -b html Docs/sphinx_doc Docs/sphinx_doc/_build/html, and upload Docs/sphinx_doc/_build/html instead of .. Workflow renamed to "Deploy documentation to Pages"; a 15-minute timeout added. No new inputs.

Test(s)

  • Local strict build (sphinx-build -W --keep-going -b html) of development at e8603e5: completes, writes index.html.
  • The deploy itself runs only on development, so it is checked after merge: https://erf-model.github.io/FLUME/ should then show the documentation front page.

Not in this PR

  • A PDF of the manual on the site.

🤖 Generated with Claude Code

The Pages workflow uploaded the repository root, which has no
index.html, so https://erf-model.github.io/FLUME/ returned 404. The
job now builds the docs with the same strict command as docs.yml and
uploads Docs/sphinx_doc/_build/html.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hgopalan
hgopalan merged commit 9a93a7b into development Nov 23, 2026
9 of 11 checks passed
@hgopalan
hgopalan deleted the claude/pages-docs branch November 23, 2026 06:32
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