RTD base url

This commit is contained in:
Amethyst Reese 2024-07-22 12:43:34 -07:00
parent 340cdb54e4
commit f817d72822
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,7 @@
# -- Project information -----------------------------------------------------
import datetime
import os
import pathlib
import sys
@ -49,6 +50,9 @@ highlight_language = "python3"
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
master_doc = "index"
# Set canonical URL from the Read the Docs Domain
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for