Repository navigation
Support Sphinx 7.2 and later - #28
Merged
Merged
Conversation
Lower the Sphinx floor from 9.0 to 7.2, the minimum for Breathe 5. CI tests each Sphinx minor version from 7.2 to 8.2 on Python 3.11. Import ExtensionMetadata for type checking only, since Sphinx 7.2 lacks it. Check both noindexentry and no-index-entry, because Sphinx 7 and 8 only alias them in the desc node. The tests avoid the testing APIs added in Sphinx 7.3 and 9.
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.
sphinx-csharp required Sphinx 9.0, which excludes projects pinned to older Sphinx releases. The floor is now 7.2, the minimum for Breathe 5. A new CI job tests each Sphinx minor version from 7.2 to 8.2 on Python 3.11.
Fixes. On Sphinx 7.2 the extension failed on import, because
ExtensionMetadatawas added in Sphinx 7.3. On Sphinx 7 and 8,:noindexentry:still added an index entry, because those versions keep it separate from:no-index-entry:.Testing. The full suite passes locally on Python 3.11 to 3.15 with Sphinx 9, and on each Sphinx minor version from 7.2 to 8.2, including the Breathe project with Doxygen.