Scrapy, a fast high-level web crawling & scraping framework for Python.
Explictly set html_baseurl on RTD. (#6507)
Andrey Rakhmatullin0523e1616d32
diff --git a/docs/conf.py b/docs/conf.pyindex dcd2c9a3a..3de50e54e 100644--- a/docs/conf.py+++ b/docs/conf.py@@ -8,7 +8,7 @@## All configuration values have a default; values that are commented out# serve to show the default.-+import osimport sysfrom pathlib import Path@@ -186,6 +186,8 @@ html_css_files = ["custom.css",]+# Set canonical URL from the Read the Docs Domain+html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")# Options for LaTeX output# ------------------------