feat(snippets): add react-native-client-sdk/sdk-docs install-the-sdk shell canonicals#437
Closed
kinyoklion wants to merge 1 commit into
Closed
feat(snippets): add react-native-client-sdk/sdk-docs install-the-sdk shell canonicals#437kinyoklion wants to merge 1 commit into
kinyoklion wants to merge 1 commit into
Conversation
…shell canonicals Captures both shell-install bodies verbatim from ld-docs-private's React Native SDK reference page (the v10 yarn add for the SDK + observability plugin, and the async storage dependency yarn add) so the markers in ld-docs PR #7592 have canonicals to render from. Both bodies preserve the 2-space MDX indentation as their parent ordered list expects.
Member
Author
|
Superseded by #439 — combining all 9 SDK install canonicals into a single PR per the user's intent. |
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.
One of 9 stacked sdk-meta PRs that unblock ld-docs-private PR #7592. Once this lands, #7592 gets updated to insert
SDK_SNIPPET:RENDERmarkers pointing at these canonicals.Snippets
Two reference fragments under
snippets/sdks/react-native-client-sdk/snippets/sdk-docs/. Both bodies preserve the 2-space leading indentation of their MDX context (the parent ordered list inside### Install the SDK).install-the-sdk-installing-react-native-sdk-v10.snippet.mdBody (verbatim from
fern/topics/sdk/client-side/react/react-native/index.mdxlines 118-121):yarn add @launchdarkly/react-native-client-sdk # optional observability plugin, requires React Native SDK v10.10+ yarn add @launchdarkly/observability-react-nativeinstall-the-sdk-adding-the-async-storage-dependency.snippet.mdBody (verbatim from
fern/topics/sdk/client-side/react/react-native/index.mdxline 136):Where the markers land
After this merges, ld-docs PR #7592 inserts markers before the existing
<CodeBlock title='Installing, React Native SDK v10'>(line 115) and<CodeBlock title='Adding the async storage dependency'>(line 133) atfern/topics/sdk/client-side/react/react-native/index.mdx.No
validation:blocks: shell install fragments, runtime validation isn't required and would need shell-install harness work that's out of scope for this PR (see #423/#428).