mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
a92d9e5e9a
## Summary Adds shell-docs deliberate-deletion / divergent paths to `PATH_EXCLUSIONS` in `showcase/scripts/sync-docs-from-main.ts`, so the docs-sync workflow doesn't keep re-proposing them as upstream-wins conflicts. PR #4771 surgical review surfaced two clusters worth excluding now. ## Paths added ### Cluster 1: deliberately-deleted landing pages (5 paths) - **`(root)/index.mdx`** + **`(root)/quickstart.mdx`** — collapsed into a single shell-docs `/` route in commit `8adbebd30` ("merge docs landing + /quickstart picker"). - **`(root)/prebuilt-components.mdx`** — top-level single-file version is duplicative of the `prebuilt-components/` directory + index. - **`integrations/langgraph/index.mdx`** + **`integrations/microsoft-agent-framework/index.mdx`** — framework landing files collapsed into the canonical `/<framework>/` route in commit `d1cd9f06a` ("collapse framework landing into shell"). ### Cluster 2: reference/v2/* duplicates (5 paths) - **`reference/v2/index.mdx`** + 4 component/hook files (`components/CopilotChat.mdx`, `components/CopilotKit.mdx`, `hooks/useCopilotKit.mdx`, `hooks/useThreads.mdx`) Shell-docs's canonical reference path is `showcase/shell-docs/src/content/reference/**` (no `v2` segment, no `docs/` prefix). The upstream `docs/content/docs/reference/v2/*` files mirror that content under a parallel `docs/`-prefixed path that doesn't exist in shell-docs's routing. Syncing them in creates duplicate parallel files. ## Scope 10 paths total. Other contested DROPs from #4771 (`shared-state.mdx`, `a2ui.mdx`, `threads.mdx`, `premium/self-hosting.mdx`) were re-evaluated and the bot's versions were either taken into PR #4771 or held pending follow-up work — none are permanent exclusions, so they're NOT in this PR. ## Test plan - [ ] Next docs-sync workflow run does not flag these 10 paths as conflicts - [ ] Existing exclusions still work (no regression in current behavior)