We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe82c6 commit 1049d26Copy full SHA for 1049d26
docs/conf.py
@@ -1,6 +1,7 @@
1
from __future__ import annotations
2
3
import datetime
4
+import os
5
import sys
6
from pathlib import Path
7
@@ -33,9 +34,10 @@
33
34
extensions = [
35
"sphinx.ext.autodoc",
36
"sphinx.ext.extlinks",
- "sphinx_build_compatibility.extension",
37
"sphinx_copybutton",
38
]
39
+if os.environ.get("READTHEDOCS") == "True":
40
+ extensions.append("sphinx_build_compatibility.extension")
41
42
# Add any paths that contain templates here, relative to this directory.
43
templates_path = ["_templates"]
0 commit comments