From 69e547a8f1aef8778d29c4f89e35912b72ff682f Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Wed, 2 Oct 2024 22:59:58 +0100 Subject: [PATCH] Rebuild on changes to Misc/NEWS.d/ --- build_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_docs.py b/build_docs.py index e7b8129..5d3ed4d 100755 --- a/build_docs.py +++ b/build_docs.py @@ -929,7 +929,7 @@ def should_rebuild(self): diff = self.cpython_repo.run( "diff", "--name-only", state["cpython_sha"], cpython_sha ).stdout - if "Doc/" in diff: + if "Doc/" in diff or "Misc/NEWS.d/" in diff: logging.info( "Should rebuild: Doc/ has changed (from %s to %s)", state["cpython_sha"],