diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/docs_translation_parity.py | 2 | ||||
| -rw-r--r-- | scripts/test_preview.py | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/scripts/docs_translation_parity.py b/scripts/docs_translation_parity.py index 6b15441b..a7f117c3 100644 --- a/scripts/docs_translation_parity.py +++ b/scripts/docs_translation_parity.py @@ -114,7 +114,7 @@ def parse_args(argv: list[str]) -> argparse.Namespace: ) parser.add_argument( "--docs-root", - default="website/src/content/docs", + default="docs/next/website/src/content/docs", type=Path, help="Docs content root containing English .mdx files and locale subdirectories.", ) diff --git a/scripts/test_preview.py b/scripts/test_preview.py index 7270e45c..c280f572 100644 --- a/scripts/test_preview.py +++ b/scripts/test_preview.py @@ -181,8 +181,11 @@ file: ../../../public/assets/logo.svg self.assertIn("file: ../../../../public/assets/logo.svg", output) self.assertIn("from '../../../components/ConfigReference.astro'", output) self.assertIn("from '../../../../components/LocaleWidget.astro'", output) - self.assertIn("Next docs describe unreleased work", output) - self.assertIn("edit/master/docs/next/website/src/content/docs/", output) + self.assertIn("Preview build `2026-07-29-44b3adb12552`", output) + self.assertIn( + "blob/44b3adb125524ea9a55739eee3776f922f2115ad/docs/next/website/src/content/docs/", + output, + ) def test_version_docs_rewrite_links_and_source_paths(self): source = """--- |
