Skip to content

Commit

Permalink
Readthedocs deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdoug committed Jul 16, 2024
1 parent 415122b commit dd02e42
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

# General information about the project.
project = u'Behat Code Coverage'
copyright = u'2019-2023, Doug Wright'
copyright = u'2019-2024, Doug Wright'
author = u'Doug Wright'

# The version info for the project you're documenting, acts as replacement for
Expand Down Expand Up @@ -78,6 +78,13 @@

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

# 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}

# 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 dd02e42

Please sign in to comment.