Skip to content

Commit

Permalink
Fix on_pr call (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Jan 17, 2025
1 parent b421952 commit 9ecb2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxext/delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def inject_changed_files(html_context: Dict[str, str], app: Sphinx) -> None:


def config_inited(app: Sphinx, config: Dict[str, Any]):
if on_rtd() and on_pr(config["html_context"]):
if on_rtd() and on_pr():
inject_changed_files(config["html_context"], app)


Expand Down

0 comments on commit 9ecb2bd

Please sign in to comment.