We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8373b7 commit c26aeb0Copy full SHA for c26aeb0
docs/sphinx/conf.py
@@ -182,6 +182,12 @@
182
# Output file base name for HTML help builder.
183
htmlhelp_basename = 'Nikoladoc'
184
185
+# Set canonical URL from the Read the Docs Domain
186
+html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
187
+
188
+# Tell Jinja2 templates the build is running on Read the Docs
189
+if os.environ.get("READTHEDOCS", "") == "True":
190
+ html_context["READTHEDOCS"] = True
191
192
# -- Options for LaTeX output ---------------------------------------------
193
0 commit comments