diff --git a/scripts/data/coding-docs-map.json b/scripts/data/coding-docs-map.json index 12306250..0faa81a4 100644 --- a/scripts/data/coding-docs-map.json +++ b/scripts/data/coding-docs-map.json @@ -156,6 +156,12 @@ "output_path": "guides/integrations/open-webui.mdx", "service_alias": "integrations", "source_doc_key": "development_open_webui" + }, + { + "canonical_alias": "development_cherry_studio", + "output_path": "guides/integrations/cherry-studio.mdx", + "service_alias": "integrations", + "source_doc_key": "development_cherry_studio" } ] } diff --git a/tests/test_sync_from_platformbackend.py b/tests/test_sync_from_platformbackend.py index b80e19a5..5126a6a0 100644 --- a/tests/test_sync_from_platformbackend.py +++ b/tests/test_sync_from_platformbackend.py @@ -86,6 +86,15 @@ def test_integrations_exact_record_writes_discoverable_path(self) -> None: self.assertTrue((output / "zh-Hans/guides/integrations/open-webui.mdx").is_file()) + def test_cherry_studio_has_an_integration_output_record(self) -> None: + bundle = json.loads(sync.EXACT_MAP_PATH.read_text()) + record = next( + row for row in bundle["records"] if row["source_doc_key"] == "development_cherry_studio" + ) + self.assertEqual(record["service_alias"], "integrations") + self.assertEqual(record["output_path"], "guides/integrations/cherry-studio.mdx") + self.assertEqual(record["canonical_alias"], "development_cherry_studio") + def test_sync_guides_writes_exact_output_path(self) -> None: with tempfile.TemporaryDirectory() as temporary_directory: root = Path(temporary_directory)