Skip to content

Commit

Permalink
Docs: Added in definition of html_baseurl
Browse files Browse the repository at this point in the history
Added in html_baseurl variable in response to the upcoming RTD changes
which will break builds

* https://about.readthedocs.com/blog/2024/07/addons-by-default/
  • Loading branch information
Matt Marshall committed Jul 17, 2024
1 parent 279fd2e commit a47373e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@

# -- Options for HTML output ----------------------------------------------

# We need to define the html_baseurl variable now as Read the docs have stopped injecting this into conf.py
# see https://about.readthedocs.com/blog/2024/07/addons-by-default/

html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
Expand Down

0 comments on commit a47373e

Please sign in to comment.