Fix missing directory of document for new tag v0.9.0 #776
Merged
mahdiehghazim merged 2 commits intomainfrom Apr 8, 2026
Merged
Fix missing directory of document for new tag v0.9.0 #776mahdiehghazim merged 2 commits intomainfrom
mahdiehghazim merged 2 commits intomainfrom
Conversation
Binyang2014
reviewed
Apr 8, 2026
…uild_multiversion
Binyang2014
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The v0.9.0 conf.py (introduced in #775) dynamically loads the version from python/mscclpp/_version.py.
This file is generated at build time by setuptools_scm and is listed in .gitignore — it is never committed to the repo. Earlier tags (v0.8.0 and below) used a hardcoded release (e.g., "v0.8.0") in conf.py, so they had no dependency on generated files.
sphinx-multiversion checks out each tag using git archive, which only extracts committed files.
Since _version.py is not committed, the v0.9.0 checkout is missing it, and conf.py crashes on import. All future tags will have this same problem.
Three changes:
Testing
Verified locally:
• make multiversion now successfully builds all 11 versions (v0.4.0 through v0.9.0)
• v0.9.0 docs are correctly generated under _build/html/v0.9.0/
Version selector shows v0.9.0 as latest