8000 Rebuild on changes to Misc/NEWS.d/ (#211) · python/docsbuild-scripts@a1c7fb8 · GitHub
[go: up one dir, main page]

Skip to content

Commit a1c7fb8

Browse files
authored
Rebuild on changes to Misc/NEWS.d/ (#211)
1 parent 38645de commit a1c7fb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ def should_rebuild(self):
929929
diff = self.cpython_repo.run(
930930
"diff", "--name-only", state["cpython_sha"], cpython_sha
931931
).stdout
932-
if "Doc/" in diff:
932+
if "Doc/" in diff or "Misc/NEWS.d/" in diff:
933933
logging.info(
934934
"Should rebuild: Doc/ has changed (from %s to %s)",
935935
state["cpython_sha"],

0 commit comments

Comments
 (0)
0