Repository navigation
docs(mkdocs): cover IS_WEB in the platform-specific code FAQ - #85
Merged
owenthcarey merged 3 commits intoSep 10, 2026
Merged
Conversation
Contributor
|
@nigelseah24, I've updated #59 for the current browser preview and kept it assigned to you. This PR is still useful with a small update:
The original issue sent you toward APIs that #74 removed, so the stale instructions are on me. Please update this same PR; it shouldn't be merged with the desktop import or removed guide link. Thank you for catching the mismatch. |
nigelseah24
force-pushed
the
docs/faq-docs-add-desktop-os
branch
from
September 9, 2026 16:15
897c1eb to
4bce863
Compare
nigelseah24
force-pushed
the
docs/faq-docs-add-desktop-os
branch
from
September 9, 2026 16:19
4bce863 to
0956970
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.
What
Add browser preview to the FAQ's platform-specific branching example.
Why
The example only covered Android and iOS, leaving browser preview behavior
unexplained.
How
Import and branch on
IS_WEBalongsideIS_ANDROIDandIS_IOS. Explain thatpn previewandpn startsetPN_PLATFORM=web. Link to the browser previewguide and
Platform.select, including its"web"key.Testing
uv run --locked --group docs mkdocs build --strictpasses with this branchmerged locally into current
main.Platform.selectlinks.Risks/Impact
Documentation only. The FAQ still distinguishes browser preview as a
development tool and Android and iOS as app deployment targets.
Docs/Follow-ups
Updates the platform-specific code FAQ. No runtime changes are needed.
Closes #59