From 103417a3430821dd67f9c69d138d13188637bf00 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Tue, 3 Nov 2026 10:12:40 +0100 Subject: [PATCH] fix: name website/ where docs/ was written --- scripts/pipeline.py | 6 ++++-- tests/test_audit_regressions.py | 3 ++- tests/test_site_copy.py | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/scripts/pipeline.py b/scripts/pipeline.py index 7ee5d5100..9f1696ceb 100644 --- a/scripts/pipeline.py +++ b/scripts/pipeline.py @@ -676,7 +676,8 @@ def main() -> None: "--skip-packs", action="store_true", help="Skip steps 4 to 6 except 4d: packs, manifests and their checks. " - "Steps 7 and 8 still rewrite README.md and docs/, add --skip-docs to " + "Steps 7 and 8 still rewrite README.md and the site pages in website/, " + "add --skip-docs to " "stop after verify", ) parser.add_argument( @@ -732,7 +733,8 @@ def main() -> None: # hold lasts until this process exits: taken step by step, it let another # run purge the packs between the build and the integrity check, which # then reported every platform SKIP and passed. - # database.json, install/, README.md and docs/ sit at fixed paths, so + # database.json, install/, README.md, CONTRIBUTING.md and website/ sit at + # fixed paths (artifacts.REPOSITORY_OUTPUTS), so # every run holds them too: a run on a scratch --output-dir otherwise # rewrote them beside the run on dist/. held = contextlib.ExitStack() diff --git a/tests/test_audit_regressions.py b/tests/test_audit_regressions.py index 955b0dc52..fe6ff453a 100644 --- a/tests/test_audit_regressions.py +++ b/tests/test_audit_regressions.py @@ -6576,7 +6576,8 @@ class SkipPacksHelpSaysWhatRuns(unittest.TestCase): ) text = " ".join(proc.stdout.split()) self.assertNotIn("Only regenerate DB and verify", text) - self.assertIn("Steps 7 and 8 still rewrite README.md and docs/", text) + self.assertIn("Steps 7 and 8 still rewrite README.md and the site pages in website/", text) + self.assertNotIn("docs/", text) def test_every_step_it_names_is_one_it_skips(self): sys.path.insert(0, str(ROOT / "scripts")) diff --git a/tests/test_site_copy.py b/tests/test_site_copy.py index ac3991abd..47507aa5f 100644 --- a/tests/test_site_copy.py +++ b/tests/test_site_copy.py @@ -6,8 +6,8 @@ every platform's check. Each budget below is a number on the built page: words before the first action, sentence and block length, words per page, and a list of words a newcomer does not know or does not need. -Run ``python -m tests.test_site_copy --report docs`` to print the measures of -every page held here. +Run ``python -m tests.test_site_copy --report website/src/content/docs`` to +print the measures of every page held here. """ from __future__ import annotations