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 9a0f999 commit c380cb2Copy full SHA for c380cb2
1 file changed
docs/source/conf.py
@@ -51,6 +51,15 @@
51
"dissect_plugins",
52
]
53
54
+# Define the canonical URL if you are using a custom domain on Read the Docs
55
+html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
56
+
57
+# Tell Jinja2 templates the build is running on Read the Docs
58
+if os.environ.get("READTHEDOCS", "") == "True":
59
+ if "html_context" not in globals():
60
+ html_context = {}
61
+ html_context["READTHEDOCS"] = True
62
63
# Allow disabling of time consuming autoapi generation
64
if not os.getenv("NO_AUTOAPI"):
65
extensions.append("autoapi.extension")
0 commit comments