Skip to content

Commit 9ecb2bd

Browse files
authored
Fix on_pr call (#14)
1 parent b421952 commit 9ecb2bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinxext/delta.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def inject_changed_files(html_context: Dict[str, str], app: Sphinx) -> None:
9494

9595

9696
def config_inited(app: Sphinx, config: Dict[str, Any]):
97-
if on_rtd() and on_pr(config["html_context"]):
97+
if on_rtd() and on_pr():
9898
inject_changed_files(config["html_context"], app)
9999

100100

0 commit comments

Comments
 (0)