Skip to content

Commit 17cc006

Browse files
authored
Add sphinx-build-compatibility for Read the Docs (#656)
This is a workaround to restore some features, like the GitHub link, until Furo updates to deal with the new RtD environment: pradyunsg/furo#795.
1 parent f19d0fb commit 17cc006

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
extensions = [
3434
"sphinx.ext.autodoc",
3535
"sphinx.ext.extlinks",
36+
"sphinx_build_compatibility.extension",
3637
"sphinx_copybutton",
3738
]
3839

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ test = [
6060
docs = [
6161
"furo>=2024.8.6",
6262
"sphinx>=7.4.7",
63+
"sphinx-build-compatibility",
6364
"sphinx-copybutton>=0.5.2",
6465
]
6566

@@ -144,3 +145,6 @@ conflicts = [
144145
{ group = "django52" },
145146
],
146147
]
148+
149+
[tool.uv.sources]
150+
sphinx-build-compatibility = { git = "https://github.com/readthedocs/sphinx-build-compatibility" }

uv.lock

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)