mirror of https://github.com/scrapy/scrapy.git
Explictly set html_baseurl on RTD. (#6507)
This commit is contained in:
parent
b4bad97eae
commit
0523e1616d
|
|
@ -8,7 +8,7 @@
|
|||
#
|
||||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import os
|
||||
import sys
|
||||
from 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
|
||||
# ------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue