diff --git a/code/addons/docs/docs/recipes.md b/code/addons/docs/docs/recipes.md index e98c89145b78..0a982974f390 100644 --- a/code/addons/docs/docs/recipes.md +++ b/code/addons/docs/docs/recipes.md @@ -184,7 +184,7 @@ The Storybook UI is a workshop for developing components in isolation. Storybook To address this, we’ve added a CLI flag to only export the docs. This flag is also available in dev mode: ```sh -yarn build-storybook --docs +yarn storybook build --docs ``` ## Disabling docs stories diff --git a/code/core/src/core-server/README.md b/code/core/src/core-server/README.md index 4af52cb89409..3dcc1dfcbac2 100644 --- a/code/core/src/core-server/README.md +++ b/code/core/src/core-server/README.md @@ -6,8 +6,8 @@ It contains: - CLI arg parsing - Storybook UI "manager" webpack configuration -- `start-storybook` dev server -- `build-storybook` static builder +- `storybook dev` dev server +- `storybook build` static builder - presets handling The "preview" (aka iframe) side is implemented in pluggable builders: diff --git a/docs/api/main-config/main-config-build.mdx b/docs/api/main-config/main-config-build.mdx index 73d56d975273..d488fd06b0aa 100644 --- a/docs/api/main-config/main-config-build.mdx +++ b/docs/api/main-config/main-config-build.mdx @@ -31,7 +31,9 @@ Type: `TestBuildFlags` Configures Storybook's production builds for performance testing purposes by disabling certain features from the build. When running `build-storybook`, this feature is enabled by setting the `--test` [flag](../cli-options.mdx#build). - The options documented on this page are automatically enabled when the `--test` flag is provided to the `build-storybook` command. We encourage you to override these options only if you need to disable a specific feature for your project or if you are debugging a build issue. + + The options documented on this page are automatically enabled when the `--test` flag is provided to the [`storybook build`](../cli-options.mdx#build) command. We encourage you to override these options only if you need to disable a specific feature for your project or if you are debugging a build issue. + ### `test.disableBlocks` diff --git a/docs/writing-docs/build-documentation.mdx b/docs/writing-docs/build-documentation.mdx index b32752fce3eb..19f052996a4d 100644 --- a/docs/writing-docs/build-documentation.mdx +++ b/docs/writing-docs/build-documentation.mdx @@ -33,7 +33,7 @@ There's some caveats to this build mode, as to the normal Storybook build: ## Publish Storybook's documentation -You can also publish your documentation, the same you would [publish](../sharing/publish-storybook.mdx) your Storybook. You can use the `--docs` flag with `build-storybook` command. We recommend as well including it as a script in your `package.json` file: +You can also publish your documentation the same you would [publish](../sharing/publish-storybook.mdx) your Storybook. You can use the `--docs` flag with the [`storybook build`](../api/cli-options.mdx#build) command. We recommend as well including it as a script in your `package.json` file: ```json {