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 56cb8ab commit 4e1731c
Show file tree
Hide file tree
Showing 3 changed files with 266 additions and 177 deletions.
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'BoxPacker'
copyright = u'2012-2023, Doug Wright'
copyright = u'2012-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
Loading

0 comments on commit 4e1731c

Please sign in to comment.