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 340cdb5 commit f817d72Copy full SHA for f817d72
docs/conf.py
@@ -7,6 +7,7 @@
7
# -- Project information -----------------------------------------------------
8
9
import datetime
10
+import os
11
import pathlib
12
import sys
13
@@ -49,6 +50,9 @@
49
50
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
51
master_doc = "index"
52
53
+# Set canonical URL from the Read the Docs Domain
54
+html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
55
+
56
# -- Options for HTML output -------------------------------------------------
57
58
# The theme to use for HTML and HTML Help pages. See the documentation for
0 commit comments