From 28c3f12c289836688e13ffb6a87be0f1512c640e Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Tue, 21 Jan 2025 19:10:30 -0800 Subject: [PATCH] Remove delta workarounds (#2952) * Remove delta workarounds * make test change * Revert "make test change" This reverts commit 225fbcec37f5332ccefb5bc50703f8ae00528315. --- source/conf.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source/conf.py b/source/conf.py index 992c18c7b9..f8de3081fb 100644 --- a/source/conf.py +++ b/source/conf.py @@ -274,15 +274,6 @@ def setup(app): "conf_py_path": "/source/", # Path in the checkout to the docs root } -# Override github_version to commit ID for PRs so Delta extension shows PR changed files -if os.getenv("READTHEDOCS_VERSION_TYPE") == "external": - html_context["github_version"] = os.environ.get("READTHEDOCS_GIT_IDENTIFIER") - -# Set commit and current_version, used by delta extension, when on RTD -if os.getenv("READTHEDOCS") == "True": - html_context["commit"] = os.environ.get("READTHEDOCS_GIT_COMMIT_HASH")[:8] - html_context["current_version"] = os.environ.get("READTHEDOCS_VERSION_NAME") - # -- Options for latex generation -------------------------------------------- latex_engine = "xelatex"