Skip to content

Use GitHub release metadata for docs release string#15

Merged
brianckeegan merged 1 commit into
mainfrom
codex/update-conf.py-to-use-github-release-value
Feb 13, 2026
Merged

Use GitHub release metadata for docs release string#15
brianckeegan merged 1 commit into
mainfrom
codex/update-conf.py-to-use-github-release-value

Conversation

@brianckeegan

Copy link
Copy Markdown
Owner

Motivation

  • Replace the hard-coded Sphinx release in docs/conf.py with the GitHub release/tag when docs are built from a release event, falling back to GITHUB_REF_NAME and then to "0.1.0"; no skills were used.

Description

  • Update docs/conf.py to import json, add a _get_release() helper that reads the GitHub event payload from GITHUB_EVENT_PATH and returns release.tag_name when available, otherwise returns GITHUB_REF_NAME or the default "0.1.0", and set release = _get_release().

Testing

  • Ran python -m py_compile docs/conf.py which succeeded.

Codex Task

@brianckeegan brianckeegan merged commit c1c633a into main Feb 13, 2026
@brianckeegan brianckeegan deleted the codex/update-conf.py-to-use-github-release-value branch April 28, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant