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 2f9aa01 commit 6e60c72Copy full SHA for 6e60c72
docs/source/conf.py
@@ -265,6 +265,11 @@
265
# Output file base name for HTML help builder.
266
htmlhelp_basename = "JupyterNotebookdoc"
267
268
+# This will ensure that we use the correctly set environment for canonical URLs
269
+# Old Read the Docs injections makes it point only to the default version,
270
+# for instance /en/stable/
271
+html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "/")
272
+
273
# -- Options for LaTeX output ---------------------------------------------
274
275
latex_elements = {}
0 commit comments