Skip to content

Group KMP and Web into the SDK navigation - #274

Open
dcrawbuck wants to merge 2 commits into
mainfrom
dcrawbuck/sdk-dropdown-sections
Open

Group KMP and Web into the SDK navigation#274
dcrawbuck wants to merge 2 commits into
mainfrom
dcrawbuck/sdk-dropdown-sections

Conversation

@dcrawbuck

@dcrawbuck dcrawbuck commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Moves the KMP and Web tabs off the desktop navbar and into the SDK dropdown, and gives the mobile sidebar dropdown two sections — Docs first, SDKs last — via DocsSidebar.tsx, a copy of the fumadocs notebook sidebar slot that changes only how the tabs dropdown renders.

Both SDKs are now tagged Beta like Unity, and they pick up the home page cards they were missing entirely.

It also fills the KMP/Web gaps in three section-label maps (llms.ts, og.shared.ts, structured-data.ts), so those pages get real llms.txt endpoints, OG card labels, and JSON-LD breadcrumbs instead of falling back to defaults — including the four /docs/{kmp,web}/llms{,-full}.txt route files those maps advertise but that never existed.

Verified with bun run build:cf, bun test (64 pass), and manual checks in the built preview at 1440px and 390px.


Note

Medium Risk
Custom fork of the fumadocs sidebar (~500 LOC) affects all docs pages’ navigation; changes are UI and metadata only, with no auth or data handling.

Overview
KMP and Web docs are folded into the same SDK navigation pattern as other platforms: desktop navbar shows a single SDK dropdown (via shared sdk-tabs helpers) instead of separate top-level tabs, and the docs layout swaps in a custom DocsSidebar so the mobile tab picker splits Docs vs SDKs.

Both sections are marked Beta in meta.json, surfaced on the home page SDK cards, and wired through llms, OG, and structured-data label maps. New /kmp/llms*.txt and /web/llms*.txt routes back those section feeds.

Reviewed by Cursor Bugbot for commit 34c3117. Bugbot is set up for automated code reviews on this repo. Configure here.

Move the KMP and Web tabs into the desktop SDK dropdown, and give the
mobile sidebar dropdown Docs/SDKs sections with the SDKs grouped last.

Tag both SDKs as Beta like Unity, add their missing cards to the home
page grid, and fill the KMP/Web gaps in the llms.txt, OG label, and
structured-data section maps — including the four missing
/docs/{kmp,web}/llms{,-full}.txt route files those maps advertise.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 19, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
superwall-docs 52a69dd Commit Preview URL

Branch Preview URL
Aug 20 2026, 12:08 AM

The shared LLMs.txt table only listed the sections that existed when it
was written, so add the Agents, KMP, Unity, and Web rows now that every
one of them has llms.txt endpoints.

Also ship the guide itself in the three SDK sections that were missing
it, using the same shared include as iOS, Android, Flutter, and Expo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant