We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03fb990 commit 87f639fCopy full SHA for 87f639f
docs/conf.py
@@ -211,6 +211,10 @@ def find_version(*file_paths):
211
html_static_path = ["_static"]
212
html_css_files = ["css/custom.css"]
213
214
+# Canonical link relation
215
+if os.environ.get("READTHEDOCS_CANONICAL_URL"):
216
+ html_baseurl = f"{os.environ['READTHEDOCS_CANONICAL_URL']}"
217
+
218
# html_logo = "logo.svg"
219
220
# -- Options for HTMLHelp output ------------------------------------------
0 commit comments