Repository navigation
[expo-ui] State the lowercase docs slug for per-component URLs - #248
Open
RaphaelFakhri wants to merge 1 commit into
Open
RaphaelFakhri wants to merge 1 commit into
RaphaelFakhri wants to merge 1 commit into
Conversation
RaphaelFakhri
force-pushed
the
fix/expo-ui-docs-slug
branch
from
October 22, 2026 13:52
7a857e2 to
52b87b0
Compare
Author
|
Rebased onto current |
RaphaelFakhri
force-pushed
the
fix/expo-ui-docs-slug
branch
from
October 24, 2026 16:06
52b87b0 to
8286665
Compare
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.
Fixes #57
Why
The SwiftUI, Jetpack Compose, and universal references tell the agent to fetch
.../sdk/ui/<layer>/{component-name}/index.mdbefore using a component. The URL template does not say how to form the slug, so agents substitute the component name as written (Button) or in kebab case (bottom-sheet). Both return 404 on docs.expo.dev, and the agent writes code without confirming the API. The pages exist only at the lowercased name without hyphens (button,bottomsheet).drop-in-replacements.mdalready states this rule. This change adds the same note, with examples that resolve, to the other three references.How
references/swift-ui.md,references/jetpack-compose.md,references/universal.md: append(slug is the component name lowercased, no hyphens, e.g. ...)to the per-component docs URL, matching the existing wording indrop-in-replacements.md.Test plan
swift-ui/button,swift-ui/bottomsheet,swift-ui/navigationstack,jetpack-compose/button,jetpack-compose/bottomsheet,jetpack-compose/datetimepicker,universal/button,universal/bottomsheet,universal/textinputall return 200.swift-ui/Button,swift-ui/bottom-sheet,jetpack-compose/Button,jetpack-compose/date-time-picker,universal/BottomSheet, anduniversal/text-inputreturn 404.bun scripts/check-skill-limits.tspasses.bun scripts/check-plugin-version-bump.ts origin/mainpasses.bun scripts/check-overview-routing.tspasses.bun test scripts/check-plugin-version-bump.test.ts: 20 pass, 0 fail.