feat(docs): App/Universal Links for Jump docs deep-linking#416
Merged
Conversation
Let nativephp.com/docs pages open in the Jump app (iOS Universal Links +
Android App Links) and fix the native-component examples served over MCP.
- ApplinksController: serve /.well-known/apple-app-site-association (scoped
to /docs/*, Jump's appID) and rewrite assetlinks.json for the Jump app
(com.bifrosttech.jump + release SHA-256). Drops the stale KitchenSink
assetlinks entry, which is no longer used.
- web.php: add the apple-app-site-association route.
- DocsSearchService: stop stripping @press / {{ }} / @Directives from inside
fenced code blocks. This was corrupting the documented native-component
API in MCP-served examples (e.g. `@press="save"` -> `="save"`). Prose is
still cleaned; code fences are now preserved verbatim.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Adds the server-side pieces so
nativephp.com/docspages open in the Jump app, and fixes native-component examples served over the MCP API.What's here
Deep-link verification (Jump app)
/.well-known/apple-app-site-association(iOS Universal Links), scoped to/docs/*and Jump's appIDJ68WFCX458.com.bifrosttech.jump. The rest of the site stays in the browser./.well-known/assetlinks.json(Android App Links) for the Jump app —com.bifrosttech.jump+ its release signing SHA-256.assetlinksentry (was hard-coded, reported as no longer used). If anything still relies on KitchenSink App Links verification, flag it.MCP content fix
DocsSearchService::stripBladeComponentswas running over the whole page, stripping@press/@change/{{ }}/@verbatimfrom inside code blocks — corrupting the documented native-component API in every example the MCP API serves (e.g.<native:button @press="save" />became<native:button ="save" />). Now it preserves fenced code verbatim and only cleans prose. Fixes example code for both v3 and v4 consumers (incl. Jump's in-app docs).Scope of
pathsiOS AASA is driven by a
LINK_PATHSallowlist (currently/docs/*). Adding a future section is a one-line change there plus a matching Android manifest entry in the app — only claim paths the app can actually render.Verified locally
.well-knownendpoints return200+application/json.<native:button label="Get Started" @press="handleStart" />intact.Not included
🤖 Generated with Claude Code