mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-06 01:53:56 -06:00
fix: name website/ where docs/ was written
This commit is contained in:
1 parent
1de4cb4516
commit
103417a343
3 files changed
+8
-5
No files matched your search
+4
-2
@@ -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()
|
||||
|
||||
@@ -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"))
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user