Skip to content

Docs: Use storybook build command in main config build docs#33986

Merged
valentinpalkovic merged 2 commits into
storybookjs:nextfrom
pavan-sh:docs/fix-outdated-build-command
Mar 6, 2026
Merged

Docs: Use storybook build command in main config build docs#33986
valentinpalkovic merged 2 commits into
storybookjs:nextfrom
pavan-sh:docs/fix-outdated-build-command

Conversation

@pavan-sh
Copy link
Copy Markdown
Contributor

@pavan-sh pavan-sh commented Mar 3, 2026

Closes #

What I did

  • Updated the main-config-build documentation to reference the current CLI command storybook build (instead of the legacy build-storybook) when describing how to enable the --test flag behavior.

Checklist for Contributors

Testing

The changes in this PR are covered in the following automated tests:

  • stories
  • unit tests
  • integration tests
  • end-to-end tests

Manual testing

Caution

This section is mandatory for all contributions. If you believe no manual test is necessary, please state so explicitly. Thanks!

Manual test (docs-only):

  1. Open docs/api/main-config/main-config-build.mdx
  2. Confirm the paragraph under the test section now says running storybook build enables the feature via the --test flag.
  3. Ensure the surrounding callout already referencing storybook build is consistent with the updated sentence.

Documentation

  • Add or update documentation reflecting your changes
  • If you are deprecating/removing a feature, make sure to update MIGRATION.MD

Checklist for Maintainers

  • When this PR is ready for testing, make sure to add ci:normal, ci:merged or ci:daily GH label to it to run a specific set of sandboxes.
  • documentation

🦋 Canary release

This PR does not have a canary release associated.

Summary by CodeRabbit

  • Documentation
    • Updated build configuration documentation to display the correct command reference for enabling the test feature. This ensures users have accurate information for their builds.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 3, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7284b33 and 95aaa14.

📒 Files selected for processing (1)
  • docs/api/main-config/main-config-build.mdx

📝 Walkthrough

Walkthrough

Documentation update correcting the command reference in the build configuration section from the deprecated build-storybook to storybook build command.

Changes

Cohort / File(s) Summary
Documentation Update
docs/api/main-config/main-config-build.mdx
Updated command reference from build-storybook to storybook build in narrative text describing test flag activation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Tip

Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs).
Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@valentinpalkovic valentinpalkovic changed the title docs: use storybook build command in main config build docs Docs: Use storybook build command in main config build docs Mar 5, 2026
@valentinpalkovic valentinpalkovic added documentation ci:docs Run the CI jobs for documentation checks only. labels Mar 5, 2026
@valentinpalkovic valentinpalkovic self-assigned this Mar 5, 2026
@valentinpalkovic valentinpalkovic moved this to In Progress in Core Team Projects Mar 5, 2026
@valentinpalkovic valentinpalkovic merged commit 10fb558 into storybookjs:next Mar 6, 2026
11 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Core Team Projects Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:docs Run the CI jobs for documentation checks only. documentation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants