Repository navigation
Unify shell docs theme with CopilotKit website - #5842
Closed
tylerslaton wants to merge 7 commits into
Closed
tylerslaton wants to merge 7 commits into
tylerslaton wants to merge 7 commits into
Conversation
Contributor
📣 Social Copy GeneratorGenerate social media copies (Twitter/X, LinkedIn, Blog Post) for this PR using Claude.
|
Contributor
Production Digest-Pinning AuditAll 41 services digest-pinned. Run 2026-07-07 11:58:28 PDT — 0 finding(s). |
BenTaylorDev
added a commit
that referenced
this pull request
Oct 5, 2026
…#7611) ## What Adds a **Community frameworks** page at `/community-frameworks`. It says what "community" means for a community-built frontend package, and lists those frameworks: - tested with one stated `@copilotkit/core` version - updates are best effort, with no promised response time - releases on its own schedule, never blocking CopilotKit releases - each package's README is its setup guide; the CopilotKit documentation does not cover community packages **The framework table launches empty.** Svelte (#5905, for #310) gets a row once its package lands under `community/` (the folder and its contract landed in #7616), not while it is still a pull request. The page hides its page actions (the copy-prompt widget) with `hidePageActions: true`, as 13 other pages do. ## How readers reach it 1. **Root sidebar, "Other" section.** That section is hand-curated in `normalizeSidebarNav` (`src/lib/docs-render.tsx`), so a `meta.json` entry alone never shows it. The page is added there after "Open-source telemetry", using the same lookup as telemetry. It is also added to `docs/meta.json`, which is what puts it in the nav tree. 2. **Site search.** The search index only keeps pages that some sidebar can reach (`search-index-navigability.test.ts`), so (1) is what makes it searchable. 3. **Frontend picker.** A muted "Community frameworks →" link sits at the bottom of the picker, below the coming-soon channels. Clicking it sends `docs.frontend_picker.community_frameworks_clicked` (with `from_frontend` and `from_path`), so the clicks count as a demand signal for community frameworks. This is a low-stakes link, so it has no capture test. The existing `docs.frontend_selected` and `docs.framework_selected` names are unchanged. ## Testing All in a fresh worktree of current `main` with a clean `npm ci` of `showcase/shell-docs`: - `npm run pretest` (the generators): success - `tsc --noEmit`: success - `oxlint` on the two changed source files: 0 errors. The one warning (`isSection`, `docs-render.tsx:1558`) is not in this diff. - `oxfmt --check` on the changed source files: clean - `vitest run`: **1105 passed**, 3 failed. The 3 failures are all in `public-assets.test.ts`, which checks that PNGs start with the PNG signature. My worktree had no Git LFS objects, so the files were pointers: the test read `118 101 114 115` (`vers`, from `version https://git-lfs…`). CI fetches LFS, so these do not fail there. - Generated search index: contains `/docs/community-frameworks` → public href `/community-frameworks`. - **Rendered in the dev server** (`next dev --webpack`): - `GET /community-frameworks` returns 200 with title "Community frameworks", and every section is present. After the second commit: the heading reads "What community means", the table has a header and no rows, there is no #5905 link, and the copy-prompt widget (`docs-page-tools`) is gone. - The sidebar on `/webmcp` and on the page itself lists, under "Other": `/telemetry` "Open-source telemetry", then `/community-frameworks` "Community frameworks". - Frontend-scoped pages such as `/vue` have no "Other" section, so the picker link is the way in from there. - Conflicts: this branch adds no merge conflicts to the open PRs that touch the same files (#7471, #7231, #5842). Their conflict sets against this branch match their conflict sets against `main`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a “Community frameworks” link to the framework picker sidebar. Selecting it opens the community frameworks documentation and closes the picker. * Added a documentation page describing community package maintenance and release expectations, linking to package READMEs for setup, and explaining how to request or build a framework package. The frameworks table currently has no entries. * Added the page to the “Other” section of the documentation navigation. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
How
showcase/shell-docs/src/app/globals.css.Validation:
git diff --check origin/main...HEADnpm --prefix showcase/shell-docs run lintnpm --prefix showcase/shell-docs run testnpm --prefix showcase/shell-docs run typechecknpm --prefix showcase/shell-docs run buildNote: I attempted Nx first with
pnpm nx show project @copilotkit/showcase-shell-docs --json, but local pnpm attempted a non-interactive reinstall and failed withERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTY, so I used the shell-docs npm scripts for validation.