diff --git a/docs/conf.py b/docs/conf.py index 304bee5d8..6253c80f6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -21,6 +21,11 @@ # import sys # sys.path.insert(0, os.path.abspath('.')) +import os + +# Set canonical URL from the Read the Docs Domain +html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "") + # -- General configuration ------------------------------------------------