Skip to content

Use ScrollWalkthrough on the npm publishing page - #6604

Open
fern-api[bot] wants to merge 3 commits into
mainfrom
fern/scroll-walkthrough-audit
Open

Use ScrollWalkthrough on the npm publishing page #6604
fern-api[bot] wants to merge 3 commits into
mainfrom
fern/scroll-walkthrough-audit

Conversation

@fern-api

@fern-api fern-api Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Converts the three-step generators.yml sequence in Configure SDK package settings on the TypeScript npm publishing page from <Steps> to <ScrollWalkthrough>.

Previously each step re-pasted the whole generators.yml with a different line highlight ({6-7}, {8}, {9-10}), leaving the reader to diff three near-identical YAML blocks. Now the file is declared once and each step points at it with focus, so the pinned panel highlights the lines that step adds:

- <Steps> + 3x ```yaml {6-7} | {8} | {9-10} title="generators.yml"
+ <ScrollWalkthrough>
+   <Step ... file="generators.yml" focus="6-7" />  # output.location
+   <Step ... file="generators.yml" focus="8" />    # package-name
+   <Step ... file="generators.yml" focus="9-10" /> # config.namespaceExport
+   ```yaml generators.yml (final state, declared once)

Step prose and titles are unchanged; the trailing colons that introduced the removed code blocks are dropped. Headings, anchors, and the Configure GitHub publishing section are untouched.

This page is the template for the other six publishing-to-* pages (PyPI, Maven Central, NuGet, RubyGems, crates.io, Packagist), which share the same progressive-YAML pattern.

Validation

fern check passes: 0 errors.

Requested by: Fern Support

@fern-api
fern-api Bot requested a review from devalog as a code owner August 12, 2026 22:18
@github-actions

Copy link
Copy Markdown
Contributor

🌿 Preview your docs: https://fern-preview-fern-scroll-walkthrough-audit.docs.buildwithfern.com/learn

Here are the markdown pages you've updated:

@fern-api

fern-api Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

Requested by: devin.logan
Slack thread: View conversation

@devalog

devalog commented Aug 13, 2026

Copy link
Copy Markdown
Collaborator

@claude can you review

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