Skip to content

Update docs/confi.py to stop inverting version and release - #32

Merged
alexdubois-ni merged 1 commit into
mainfrom
users/adubois/fixReleaseAndVersionInDocs
Sep 2, 2026
Merged

Update docs/confi.py to stop inverting version and release#32
alexdubois-ni merged 1 commit into
mainfrom
users/adubois/fixReleaseAndVersionInDocs

Conversation

@alexdubois-ni

Copy link
Copy Markdown
Collaborator

What does this Pull Request accomplish?

Ensure release and version show up properly.

Why should this Pull Request be merged?

version is accidentally being represented as release and vice versa which causes it to show up wonky in docs

What testing has been done?

PR build.

@ni-github-admins

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change corrects version/release semantics in docs/conf.py and aligns with Sphinx expectations without introducing additional risk.

Pull request overview

Fixes the Sphinx docs version metadata so that release contains the full project version while version contains the short X.Y form, matching Sphinx’s expected semantics and improving how version info renders across the generated documentation.

Changes:

  • Set release to the full pyproject.toml version string.
  • Derive version as the major/minor (X.Y) prefix from release.
File summaries
File Description
docs/conf.py Corrects Sphinx version/release assignment so docs show the proper short and full version strings.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@alexdubois-ni
alexdubois-ni merged commit dd6aa44 into main Sep 2, 2026
30 checks passed
@alexdubois-ni
alexdubois-ni deleted the users/adubois/fixReleaseAndVersionInDocs branch September 2, 2026 22:14
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.

4 participants