We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e0ed5c commit e0a5033Copy full SHA for e0a5033
conf.py
@@ -13,6 +13,17 @@
13
14
import sys, os
15
16
+### DPVC -- from https://about.readthedocs.com/blog/2024/07/addons-by-default/
17
+# Define the canonical URL if you are using a custom domain on Read the Docs
18
+html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
19
+
20
+# Tell Jinja2 templates the build is running on Read the Docs
21
+if os.environ.get("READTHEDOCS", "") == "True":
22
+ if "html_context" not in globals():
23
+ html_context = {}
24
+ html_context["READTHEDOCS"] = True
25
+### /DPVC
26
27
# If extensions (or modules to document with autodoc) are in another directory,
28
# add these directories to sys.path here. If the directory is relative to the
29
# documentation root, use os.path.abspath to make it absolute, like shown here.
0 commit comments