fix: name website/ where docs/ was written

This commit is contained in:
Abdessamad Derraz committed 2026-11-03 10:12:40 +01:00
1 parent 1de4cb4516
commit 103417a343
3 files changed
+8 -5

No files matched your search

+4 -2
View File
@@ -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()
+2 -1
View File
@@ -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"))
+2 -2
View File
@@ -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