diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 8faae8c..e8c0e3e 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -11,14 +11,14 @@ formats: - epub build: - os: "ubuntu-22.04" + os: ubuntu-22.04 tools: - python: "3.8" + python: 3.8 python: install: - - requirements: "requirements.txt" + - requirements: requirements.txt sphinx: - configuration: "conf.py" + configuration: conf.py fail_on_warning: true # Make warnings more visible by forcing build to fail diff --git a/conf.py b/conf.py index 588e551..ff60af8 100644 --- a/conf.py +++ b/conf.py @@ -48,10 +48,6 @@ # 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 - # These folders are copied to the documentation's HTML output html_static_path = ["_static"]