From 311cc8657d94244ae1931e9cea889910ffeef865 Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Tue, 30 Jan 2024 13:05:23 +0000 Subject: [PATCH] Docs: Remove main-config option from the documentation --- docs/api/main-config-config.md | 11 ----------- docs/api/main-config.md | 1 - docs/faq.md | 1 - docs/toc.js | 5 ----- 4 files changed, 18 deletions(-) delete mode 100644 docs/api/main-config-config.md diff --git a/docs/api/main-config-config.md b/docs/api/main-config-config.md deleted file mode 100644 index 326f28f9ace7..000000000000 --- a/docs/api/main-config-config.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: 'config' ---- - -(⛔️ **Deprecated**) - -Parent: [main.js|ts configuration](./main-config.md) - -Type: `string[] | ((config: string[], options: Options) => string[] | Promise)` - -Add additional scripts to run in the story preview. Deprecated in favor of [`previewAnnotations`](./main-config-preview-annotations.md). diff --git a/docs/api/main-config.md b/docs/api/main-config.md index 51fc0888aff4..a9013268e45c 100644 --- a/docs/api/main-config.md +++ b/docs/api/main-config.md @@ -47,4 +47,3 @@ An object to configure Storybook containing the following properties: - [`typescript`](./main-config-typescript.md) - [`viteFinal`](./main-config-vite-final.md) - [`webpackFinal`](./main-config-webpack-final.md) -- [`config`](./main-config-config.md) (⛔️ Deprecated) diff --git a/docs/faq.md b/docs/faq.md index 50ebca8baaf5..6e6ce176787a 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -329,7 +329,6 @@ We're only covering versions 5.3 and 5.0 as they were important milestones for S | | `main.js` configuration/typescript | [See current documentation](./api/main-config-typescript.md) | Non existing feature or undocumented | Non existing feature or undocumented | | | `main.js` configuration/viteFinal | [See current documentation](./api/main-config-vite-final.md) | Non existing feature or undocumented | Non existing feature or undocumented | | | `main.js` configuration/webpackFinal | [See current documentation](./api/main-config-webpack-final.md) | Non existing feature or undocumented | Non existing feature or undocumented | -| | `main.js` configuration/config | [See current documentation](./api/main-config-config.md) | Non existing feature or undocumented | Non existing feature or undocumented | | | Frameworks | [See current documentation](./api/new-frameworks.md) | Non existing feature or undocumented | Non existing feature or undocumented | | | CLI options | [See current documentation](./api/cli-options.md) | [See versioned documentation](https://github.com/storybookjs/storybook/tree/release/5.3/docs/src/pages/configurations/cli-options) | [See versioned documentation](https://github.com/storybookjs/storybook/tree/release/5.0/docs/src/pages/configurations/cli-options) | diff --git a/docs/toc.js b/docs/toc.js index 97a927484010..601adf1c9218 100644 --- a/docs/toc.js +++ b/docs/toc.js @@ -582,11 +582,6 @@ module.exports = { pathSegment: 'main-config-webpack-final', type: 'link', }, - { - title: 'config', - pathSegment: 'main-config-config', - type: 'link', - }, ], }, {