Skip to content

Add CI workflow to auto-update Doxygen docs on gh-pages branch - #266

Merged
TheOnlyZac merged 3 commits into
mainfrom
claude/doxygen-gh-actions-workflow-d4nzmm
Jun 29, 2026
Merged

Add CI workflow to auto-update Doxygen docs on gh-pages branch#266
TheOnlyZac merged 3 commits into
mainfrom
claude/doxygen-gh-actions-workflow-d4nzmm

Conversation

@TheOnlyZac

@TheOnlyZac TheOnlyZac commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Triggers on every push to main. Checks out gh-pages and main into ./sly1/, then replicates the manual steps
in generate.sh: strips #include "common.h" from headers, runs doxygen, and force-commits the updated html/ directory back to gh-pages.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_011NDfvdWjURZNnXERVyz8o7

claude added 2 commits June 29, 2026 14:19
Triggers on every push to main. Checks out gh-pages to the workspace
root (preserving the doxygen-awesome-css submodule at the expected
relative path) and main into ./sly1/, then replicates the manual steps
in generate.sh: strips `#include "common.h"` from headers, runs
doxygen, and force-commits the updated html/ directory back to gh-pages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011NDfvdWjURZNnXERVyz8o7
Dry run revealed two issues:
- mv html/ .. fails when html/ already exists in the gh-pages checkout;
  add rm -rf html before generating (mirrors generate.sh behaviour)
- PROJECT_LOGO = logo.png expects the file in the doxygen working dir,
  but it lives at docs/logo.png; copy it into place before running doxygen

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011NDfvdWjURZNnXERVyz8o7
@TheOnlyZac TheOnlyZac changed the title ci: add GitHub Actions workflow to auto-update Doxygen docs on gh-pages Add CI workflow to auto-update Doxygen docs on gh-pages branch Jun 29, 2026
@TheOnlyZac
TheOnlyZac requested a review from Copilot June 29, 2026 14:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a GitHub Actions workflow to automatically regenerate and publish Doxygen documentation to the gh-pages branch whenever main is updated, aligning docs publishing with the existing manual generation steps.

Changes:

  • Introduces .github/workflows/doxygen.yml to run on pushes to main.
  • Checks out gh-pages (publish target) and main (source), preprocesses headers, runs Doxygen, and commits html/ updates back to gh-pages.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/doxygen.yml
Comment thread .github/workflows/doxygen.yml Outdated
Comment thread .github/workflows/doxygen.yml
Comment thread .github/workflows/doxygen.yml
Comment thread .github/workflows/doxygen.yml
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@TheOnlyZac
TheOnlyZac merged commit 4f3f057 into main Jun 29, 2026
2 checks passed
@TheOnlyZac
TheOnlyZac deleted the claude/doxygen-gh-actions-workflow-d4nzmm branch June 29, 2026 14:54
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.

3 participants