diff --git a/docs/conf.py b/docs/conf.py index dc338eb..b6845ce 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,6 +18,7 @@ # -- Project information ----------------------------------------------------- import datetime +import os project = "aiomultiprocess" copyright = f"{datetime.date.today().year}, Amethyst Reese" @@ -51,6 +52,9 @@ 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