Skip to content

Commit

Permalink
Merge pull request #943 from cweikl/master
Browse files Browse the repository at this point in the history
Update conf.py
  • Loading branch information
cweikl authored Jul 17, 2024
2 parents 4d0591b + 9e6c289 commit c953dcb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('.'))

# ---- inserted according to read-the-docs announcement on deprecating build time changes ---
# Define the canonical URL if you are using a custom domain on Read the Docs
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")

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

# ---- end ---

# > Sphinx v1.6.1
def setup(app):
# app.add_stylesheet("theme_overrides.css")
Expand Down

0 comments on commit c953dcb

Please sign in to comment.