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 5f03dfb commit 688a1ecCopy full SHA for 688a1ec
docs/conf.py
@@ -4,6 +4,15 @@
4
# https://www.sphinx-doc.org/en/master/usage/configuration.html
5
# -- Project information -----------------------------------------------------
6
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
7
+import os
8
+
9
+# Set canonical URL from the Read the Docs Domain
10
+html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
11
12
+html_context = {}
13
+# Tell Jinja2 templates the build is running on Read the Docs
14
+if os.environ.get("READTHEDOCS", "") == "True":
15
+ html_context["READTHEDOCS"] = True
16
17
project = "python.berlin"
18
copyright = "2023, Berlin Python User Groups"
0 commit comments