Skip to content

Deploy documentation to GitHub Pages#1436

Open
bmehta001 wants to merge 1 commit intomicrosoft:mainfrom
bmehta001:bhamehta/deploy-docs-github-pages
Open

Deploy documentation to GitHub Pages#1436
bmehta001 wants to merge 1 commit intomicrosoft:mainfrom
bmehta001:bhamehta/deploy-docs-github-pages

Conversation

@bmehta001
Copy link
Copy Markdown
Contributor

Summary

  • add a GitHub Actions workflow that builds docs/public with Sphinx, Exhale, Breathe, Doxygen, and Graphviz
  • upload docs/public/_build/html as a GitHub Pages artifact on main pushes
  • deploy that artifact to the github-pages environment with the official Pages actions
  • run the docs build on future docs/header PRs without deploying from pull requests

Why

PR #1435 restored the Sphinx/Doxygen site build configuration, but after it merged there was still no repository workflow that published the generated HTML to GitHub Pages. The current github-pages deployment records are stale failures from 2022 and no fresh deployment was created by the #1435 merge.

Validation

  • parsed .github/workflows/deploy-docs-pages.yml as YAML
  • ran python -m sphinx -q -b html docs/public docs/public/_build/html with Doxygen on PATH
  • generated docs/public/_build/html/index.html

The ReadTheDocs fix restored the Sphinx/Doxygen build, but the repository had no active workflow to publish that output to the github-pages environment. Add a Pages workflow that validates docs on PRs and deploys generated HTML from main pushes.

Files changed:
- .github/workflows/deploy-docs-pages.yml

Co-authored-by: Copilot <[email protected]>
@bmehta001 bmehta001 requested a review from a team as a code owner May 5, 2026 19:53
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