Skip to content

Commit e6418a9

Browse files
committed
docs(conf.py): use env for html_baseurl
1 parent 7c98562 commit e6418a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
exclude_patterns = []
5656

5757
# Set canonical URL from the Read the Docs Domain
58-
html_baseurl = "https://docs.balder.dev/en/stable/"
58+
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "/")
5959

6060
# Tell Jinja2 templates the build is running on Read the Docs
6161
if os.environ.get("READTHEDOCS", "") == "True":

0 commit comments

Comments
 (0)