Uh oh!
There was an error while loading. Please reload this page.
Group KMP and Web into the SDK navigation - #274
Open
dcrawbuck wants to merge 2 commits into
Open
Conversation
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.Deploying with |
| 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.
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 freeto 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.
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
Betalike 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}.txtroute 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-tabshelpers) instead of separate top-level tabs, and the docs layout swaps in a customDocsSidebarso 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*.txtand/web/llms*.txtroutes back those section feeds.Reviewed by Cursor Bugbot for commit 34c3117. Bugbot is set up for automated code reviews on this repo. Configure here.