We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77a29ba commit cb1360aCopy full SHA for cb1360a
docs/conf.py
@@ -120,6 +120,15 @@
120
121
# -- Options for HTML output -------------------------------------------
122
123
+# Set canonical URL from the Read the Docs Domain
124
+html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
125
+
126
+# Tell Jinja2 templates the build is running on Read the Docs
127
+if os.environ.get("READTHEDOCS", "") == "True":
128
+ if "html_context" not in globals():
129
+ html_context = {}
130
+ html_context["READTHEDOCS"] = True
131
132
# The theme to use for HTML and HTML Help pages. See the documentation for
133
# a list of builtin themes.
134
html_theme = 'dask_sphinx_theme'
0 commit comments