From 3e02a40ed7651a51e898591c2c6e54d5cbc650a8 Mon Sep 17 00:00:00 2001 From: Ace Data Cloud Dev Date: Wed, 9 Sep 2026 04:51:39 +0800 Subject: [PATCH] docs: route Cherry Studio into integrations Co-Authored-By: Claude Opus 5 (1M context) --- scripts/data/coding-docs-map.json | 6 ++++++ tests/test_sync_from_platformbackend.py | 9 +++++++++ 2 files changed, 15 insertions(+) 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)