Skip to content

feat(snippets): add dotnet-server-sdk/sdk-docs/install-the-sdk-shell canonical#430

Closed
kinyoklion wants to merge 1 commit into
mainfrom
rlamb/sdk-docs-install-dotnet-server-sdk
Closed

feat(snippets): add dotnet-server-sdk/sdk-docs/install-the-sdk-shell canonical#430
kinyoklion wants to merge 1 commit into
mainfrom
rlamb/sdk-docs-install-dotnet-server-sdk

Conversation

@kinyoklion
Copy link
Copy Markdown
Member

One of 9 stacked sdk-meta PRs that unblock ld-docs-private PR #7592. Once this lands, #7592 gets updated to insert a SDK_SNIPPET:RENDER marker pointing at this canonical.

Snippet

Path: snippets/sdks/dotnet-server-sdk/snippets/sdk-docs/install-the-sdk-shell.snippet.md
ID: dotnet-server-sdk/sdk-docs/install-the-sdk-shell

Body (verbatim from fern/topics/sdk/server-side/dotnet/index.mdx line 80-83):

Install-Package LaunchDarkly.ServerSdk
dotnet add package LaunchDarkly.Observability

Where the marker lands

After this merges, ld-docs PR #7592 inserts a marker before the existing <CodeBlock title='Shell'> at fern/topics/sdk/server-side/dotnet/index.mdx line 78.

No validation: block: this is a shell/manifest fragment, runtime validation isn't required and would need shell-install harness work that's out of scope for this PR (see #423/#428).

…canonical

Captures the Install-Package + dotnet add observability shell body
verbatim from ld-docs-private's .NET (server-side) SDK reference page
so the marker in ld-docs PR #7592 has a canonical to render from.
@kinyoklion
Copy link
Copy Markdown
Member Author

Superseded by #439 — combining all 9 SDK install canonicals into a single PR per the user's intent.

@kinyoklion kinyoklion closed this May 8, 2026
@kinyoklion kinyoklion deleted the rlamb/sdk-docs-install-dotnet-server-sdk branch May 8, 2026 22:24
kinyoklion added a commit that referenced this pull request May 8, 2026
Adds 12 canonical .snippet.md files under
snippets/sdks/<sdk>/snippets/sdk-docs/ for the install/manifest
CodeBlocks in ld-docs's top-level reference pages
(`fern/topics/sdk/{server-side,client-side}/<sdk>/index.mdx`) that
the original auto-port (sdk-meta PR #414) skipped per the
shell/bash/cmd skip rule (SDK-2300).

These snippets unblock ld-docs-private PR #7592, which can insert
markers pointing at them in a follow-up commit once this lands and
a new `snippets/v*` is cut.

Per-SDK file count:

| SDK | snippet IDs |
|---|---|
| dotnet-server-sdk | install-the-sdk-shell |
| java-server-sdk | install-the-sdk-gradle |
| node-server-sdk | install-the-sdk-shell |
| php-server-sdk | install-the-sdk-shell |
| ruby-server-sdk | install-the-sdk-shell |
| rust-server-sdk | install-the-sdk-shell |
| node-client-sdk | install-the-sdk-installing-with-npm, install-the-sdk-installing-with-yarn |
| react-native-client-sdk | install-the-sdk-installing-react-native-sdk-v10, install-the-sdk-adding-the-async-storage-dependency |
| vue-client-sdk | install-the-sdk-installing-with-npm, install-the-sdk-installing-with-yarn |

`go-server-sdk` is intentionally not in the list: the "Shell install"
mention in PR #7592's per-SDK table refers to a prose backtick quote
of `go get …`, not an MDX CodeBlock — there's nothing to canonicalize.

Bodies are byte-verbatim copies of what's in ld-docs today; verified
by running `snippets render --target=ld-docs` after a synthetic
marker insertion and confirming a zero-body-diff.

No `validation:` block: these are install/manifest fragments, not
runnable units. Adding shell-install or build-system-harness
validation for them is a separate workstream (PR #428's territory).

Replaces the originally-opened-as-9-separate-PRs sequence
(#430-#438) with a single PR per the user's
intent.
kinyoklion added a commit that referenced this pull request May 8, 2026
Adds 12 canonical .snippet.md files under
snippets/sdks/<sdk>/snippets/sdk-docs/ for the install/manifest
CodeBlocks in ld-docs's top-level reference pages
(`fern/topics/sdk/{server-side,client-side}/<sdk>/index.mdx`) that
the original auto-port (sdk-meta PR #414) skipped per the
shell/bash/cmd skip rule (SDK-2300).

These snippets unblock ld-docs-private PR #7592, which can insert
markers pointing at them in a follow-up commit once this lands and
a new `snippets/v*` is cut.

Per-SDK file count:

| SDK | snippet IDs |
|---|---|
| dotnet-server-sdk | install-the-sdk-shell |
| java-server-sdk | install-the-sdk-gradle |
| node-server-sdk | install-the-sdk-shell |
| php-server-sdk | install-the-sdk-shell |
| ruby-server-sdk | install-the-sdk-shell |
| rust-server-sdk | install-the-sdk-shell |
| node-client-sdk | install-the-sdk-installing-with-npm, install-the-sdk-installing-with-yarn |
| react-native-client-sdk | install-the-sdk-installing-react-native-sdk-v10, install-the-sdk-adding-the-async-storage-dependency |
| vue-client-sdk | install-the-sdk-installing-with-npm, install-the-sdk-installing-with-yarn |

`go-server-sdk` is intentionally not in the list: the "Shell install"
mention in PR #7592's per-SDK table refers to a prose backtick quote
of `go get …`, not an MDX CodeBlock — there's nothing to canonicalize.

Bodies are byte-verbatim copies of what's in ld-docs today; verified
by running `snippets render --target=ld-docs` after a synthetic
marker insertion and confirming a zero-body-diff.

No `validation:` block: these are install/manifest fragments, not
runnable units. Adding shell-install or build-system-harness
validation for them is a separate workstream (PR #428's territory).

Replaces the originally-opened-as-9-separate-PRs sequence
(#430-#438) with a single PR per the user's
intent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant