Repository navigation
Document optional prop on Step - #7789
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration
Bot
requested review from
jkonrath-postman and
nerminamiller-postman
as code owners
November 7, 2026 17:08
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Contributor
|
🌿 Preview your docs: https://fern-preview-devin-1794071239-step-optional-prop.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
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.
Summary
<Step>now accepts anoptionalboolean prop. It shows an "Optional" badge after the step title, and in the Markdown/llms.txtoutput the step heading gets anOptional:prefix (<Step title="Prune" optional>→#### Optional: Prune). Readers and AI agents can reliably tell which steps they can skip. Authors no longer have to type "Optional:" into titles by hand, and screen readers announce the badge as part of the step heading.Implements docs for: feat(docs): add optional prop to Step (fern-api/fern-platform#16039)
Pages changed
fern/products/docs/pages/component-library/default-components/steps.mdx: new "Optional steps" variant (live example + code) and anoptionalParamFieldunder<Step>properties (boolean, defaultfalse) covering the badge, the screen-reader behavior, and the Markdown/llms.txtoutput (including the**Optional:**paragraph for untitled steps). Also changed "they are" to "they're" on an existing line to clear a Vale error.fern/products/docs/pages/changelog/2026-11-05.mdx: new "Mark steps as optional" entry (componentstag) that links to/learn/docs/writing-content/components/steps#optional-steps.Cross-reference sweep: no other page needed a link. The agent instruction page
fern-instructions/docs/write/components.mdxonly lists<Steps>as a component pick, so I left it alone. The dashboard visual editor renders the badge but has no control for the prop, so no dashboard docs were added.Checks:
pre-commit(Vale) passes on the changed files.fern check --warningsreports 0 errors.Link to Devin session: https://app.devin.ai/sessions/65a522770c5a4bd6859655c099883c52
Open in Devin Desktop: https://app.devin.ai/desktop/session/65a522770c5a4bd6859655c099883c52?variant=devin