Skip to content

Commit

Permalink
Remove delta workarounds (#2952)
Browse files Browse the repository at this point in the history
* Remove delta workarounds

* make test change

* Revert "make test change"

This reverts commit 225fbce.
  • Loading branch information
sciencewhiz authored Jan 22, 2025
1 parent 4a90c16 commit 28c3f12
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 28c3f12

Please sign in to comment.