coderefinery / sphinx-lesson

Sphinx extension for creating CodeRefinery lessons
https://coderefinery.github.io/sphinx-lesson/
MIT License
15 stars 20 forks source link

Fix sphinx 5.0 ignoring :std:doc: links by default #96

Closed rkdarst closed 2 years ago

rkdarst commented 2 years ago
rkdarst commented 2 years ago

This should have worked, but less than 30 minutes before this, sphinx version 5.2.0.post2 was released, which appears to cause an error in sphinx_rtd_theme. That version ID appears to be allowed (https://peps.python.org/pep-0440/#public-version-identifiers), but sphinx_rtd_theme assumes only two . characters for splitting it. Random incompatibilities have happened before, I will go to sleep and see if it gets fixed, but it's not too hard to work around this.