From 5843fe3ce261205f659a86726bd17c57524e13a7 Mon Sep 17 00:00:00 2001 From: Charles de Dreuille Date: Fri, 14 Jun 2024 09:15:05 +0100 Subject: [PATCH] Update order --- docs/api/cli-options.mdx | 2 +- docs/api/doc-blocks/doc-block-argtypes.mdx | 3 +++ docs/api/doc-blocks/doc-block-canvas.mdx | 3 +++ docs/api/doc-blocks/doc-block-colorpalette.mdx | 3 +++ docs/api/doc-blocks/doc-block-controls.mdx | 3 +++ docs/api/doc-blocks/doc-block-description.mdx | 3 +++ docs/api/doc-blocks/doc-block-icongallery.mdx | 3 +++ docs/api/doc-blocks/doc-block-markdown.mdx | 3 +++ docs/api/doc-blocks/doc-block-meta.mdx | 3 +++ docs/api/doc-blocks/doc-block-primary.mdx | 3 +++ docs/api/doc-blocks/doc-block-source.mdx | 3 +++ docs/api/doc-blocks/doc-block-stories.mdx | 3 +++ docs/api/doc-blocks/doc-block-story.mdx | 3 +++ docs/api/doc-blocks/doc-block-subtitle.mdx | 3 +++ docs/api/doc-blocks/doc-block-title.mdx | 3 +++ docs/api/doc-blocks/doc-block-typeset.mdx | 3 +++ docs/api/doc-blocks/doc-block-unstyled.mdx | 3 +++ docs/api/doc-blocks/doc-block-useof.mdx | 3 +++ docs/api/main.js configuration/main-config-addons.mdx | 3 +++ docs/api/main.js configuration/main-config-babel-default.mdx | 3 +++ docs/api/main.js configuration/main-config-babel.mdx | 3 +++ docs/api/main.js configuration/main-config-build.mdx | 3 +++ docs/api/main.js configuration/main-config-core.mdx | 3 +++ docs/api/main.js configuration/main-config-docs.mdx | 3 +++ docs/api/main.js configuration/main-config-env.mdx | 3 +++ docs/api/main.js configuration/main-config-features.mdx | 3 +++ docs/api/main.js configuration/main-config-framework.mdx | 3 +++ docs/api/main.js configuration/main-config-indexers.mdx | 3 +++ docs/api/main.js configuration/main-config-log-level.mdx | 3 +++ docs/api/main.js configuration/main-config-manager-head.mdx | 3 +++ .../main.js configuration/main-config-preview-annotations.mdx | 3 +++ docs/api/main.js configuration/main-config-preview-body.mdx | 3 +++ docs/api/main.js configuration/main-config-preview-head.mdx | 3 +++ docs/api/main.js configuration/main-config-refs.mdx | 3 +++ docs/api/main.js configuration/main-config-static-dirs.mdx | 3 +++ docs/api/main.js configuration/main-config-stories.mdx | 3 +++ docs/api/main.js configuration/main-config-swc.mdx | 3 +++ docs/api/main.js configuration/main-config-typescript.mdx | 3 +++ docs/api/main.js configuration/main-config-vite-final.mdx | 3 +++ docs/api/main.js configuration/main-config-webpack-final.mdx | 3 +++ docs/api/main.js configuration/main-config.mdx | 3 +++ 41 files changed, 121 insertions(+), 1 deletion(-) diff --git a/docs/api/cli-options.mdx b/docs/api/cli-options.mdx index 0720aecbe603..bdfc192d816f 100644 --- a/docs/api/cli-options.mdx +++ b/docs/api/cli-options.mdx @@ -2,7 +2,7 @@ title: 'CLI options' hideRendererSelector: true sidebar: - order: 7 + order: 8 title: CLI options --- diff --git a/docs/api/doc-blocks/doc-block-argtypes.mdx b/docs/api/doc-blocks/doc-block-argtypes.mdx index 54dffe45d7b1..fb8a063b4c14 100644 --- a/docs/api/doc-blocks/doc-block-argtypes.mdx +++ b/docs/api/doc-blocks/doc-block-argtypes.mdx @@ -1,5 +1,8 @@ --- title: 'ArgTypes' +sidebar: + order: 1 + title: ArgTypes --- diff --git a/docs/api/doc-blocks/doc-block-canvas.mdx b/docs/api/doc-blocks/doc-block-canvas.mdx index 56c768b62fb8..5a21a54dd750 100644 --- a/docs/api/doc-blocks/doc-block-canvas.mdx +++ b/docs/api/doc-blocks/doc-block-canvas.mdx @@ -1,5 +1,8 @@ --- title: 'Canvas' +sidebar: + order: 2 + title: Canvas --- diff --git a/docs/api/doc-blocks/doc-block-colorpalette.mdx b/docs/api/doc-blocks/doc-block-colorpalette.mdx index 887b69f32822..7c3a79db4668 100644 --- a/docs/api/doc-blocks/doc-block-colorpalette.mdx +++ b/docs/api/doc-blocks/doc-block-colorpalette.mdx @@ -1,5 +1,8 @@ --- title: 'ColorPalette' +sidebar: + order: 3 + title: ColorPalette --- diff --git a/docs/api/doc-blocks/doc-block-controls.mdx b/docs/api/doc-blocks/doc-block-controls.mdx index 04a1f1735d25..3aaaf33b0e87 100644 --- a/docs/api/doc-blocks/doc-block-controls.mdx +++ b/docs/api/doc-blocks/doc-block-controls.mdx @@ -1,5 +1,8 @@ --- title: 'Controls' +sidebar: + order: 4 + title: Controls --- diff --git a/docs/api/doc-blocks/doc-block-description.mdx b/docs/api/doc-blocks/doc-block-description.mdx index b856b142ef55..5f8e3b80ac7b 100644 --- a/docs/api/doc-blocks/doc-block-description.mdx +++ b/docs/api/doc-blocks/doc-block-description.mdx @@ -1,5 +1,8 @@ --- title: 'Description' +sidebar: + order: 5 + title: Description --- diff --git a/docs/api/doc-blocks/doc-block-icongallery.mdx b/docs/api/doc-blocks/doc-block-icongallery.mdx index 35594a48bca4..72b3686a8a71 100644 --- a/docs/api/doc-blocks/doc-block-icongallery.mdx +++ b/docs/api/doc-blocks/doc-block-icongallery.mdx @@ -1,5 +1,8 @@ --- title: 'IconGallery' +sidebar: + order: 6 + title: IconGallery --- diff --git a/docs/api/doc-blocks/doc-block-markdown.mdx b/docs/api/doc-blocks/doc-block-markdown.mdx index f794d142b1b8..6e3b7075aff2 100644 --- a/docs/api/doc-blocks/doc-block-markdown.mdx +++ b/docs/api/doc-blocks/doc-block-markdown.mdx @@ -1,5 +1,8 @@ --- title: 'Markdown' +sidebar: + order: 7 + title: Markdown --- The `Markdown` block allows you to import and include plain markdown in your MDX files. diff --git a/docs/api/doc-blocks/doc-block-meta.mdx b/docs/api/doc-blocks/doc-block-meta.mdx index d2de6c7dfb3c..c790d313d0c2 100644 --- a/docs/api/doc-blocks/doc-block-meta.mdx +++ b/docs/api/doc-blocks/doc-block-meta.mdx @@ -1,5 +1,8 @@ --- title: 'Meta' +sidebar: + order: 8 + title: Meta --- The `Meta` block is used to [attach](#attached-vs-unattached) a custom MDX docs page alongside a component’s list of stories. It doesn’t render any content, but serves two purposes in an MDX file: diff --git a/docs/api/doc-blocks/doc-block-primary.mdx b/docs/api/doc-blocks/doc-block-primary.mdx index 4b1a357aeece..c851f7afce46 100644 --- a/docs/api/doc-blocks/doc-block-primary.mdx +++ b/docs/api/doc-blocks/doc-block-primary.mdx @@ -1,5 +1,8 @@ --- title: 'Primary' +sidebar: + order: 9 + title: Primary --- diff --git a/docs/api/doc-blocks/doc-block-source.mdx b/docs/api/doc-blocks/doc-block-source.mdx index be0a1b74d60b..0881df2fa923 100644 --- a/docs/api/doc-blocks/doc-block-source.mdx +++ b/docs/api/doc-blocks/doc-block-source.mdx @@ -1,5 +1,8 @@ --- title: 'Source' +sidebar: + order: 10 + title: Source --- diff --git a/docs/api/doc-blocks/doc-block-stories.mdx b/docs/api/doc-blocks/doc-block-stories.mdx index 6d492f564945..dd973889e6ca 100644 --- a/docs/api/doc-blocks/doc-block-stories.mdx +++ b/docs/api/doc-blocks/doc-block-stories.mdx @@ -1,5 +1,8 @@ --- title: 'Stories' +sidebar: + order: 11 + title: Stories --- diff --git a/docs/api/doc-blocks/doc-block-story.mdx b/docs/api/doc-blocks/doc-block-story.mdx index e4f2894a6d7a..8e4e72fa269c 100644 --- a/docs/api/doc-blocks/doc-block-story.mdx +++ b/docs/api/doc-blocks/doc-block-story.mdx @@ -1,5 +1,8 @@ --- title: 'Story' +sidebar: + order: 12 + title: Story --- diff --git a/docs/api/doc-blocks/doc-block-subtitle.mdx b/docs/api/doc-blocks/doc-block-subtitle.mdx index 505b05a22a24..f4aa981592dc 100644 --- a/docs/api/doc-blocks/doc-block-subtitle.mdx +++ b/docs/api/doc-blocks/doc-block-subtitle.mdx @@ -1,5 +1,8 @@ --- title: 'Subtitle' +sidebar: + order: 13 + title: Subtitle --- diff --git a/docs/api/doc-blocks/doc-block-title.mdx b/docs/api/doc-blocks/doc-block-title.mdx index a28f563c8110..6241306e302d 100644 --- a/docs/api/doc-blocks/doc-block-title.mdx +++ b/docs/api/doc-blocks/doc-block-title.mdx @@ -1,5 +1,8 @@ --- title: 'Title' +sidebar: + order: 14 + title: Title --- diff --git a/docs/api/doc-blocks/doc-block-typeset.mdx b/docs/api/doc-blocks/doc-block-typeset.mdx index 4f9448aed594..22b67729d098 100644 --- a/docs/api/doc-blocks/doc-block-typeset.mdx +++ b/docs/api/doc-blocks/doc-block-typeset.mdx @@ -1,5 +1,8 @@ --- title: 'Typeset' +sidebar: + order: 15 + title: Typeset --- diff --git a/docs/api/doc-blocks/doc-block-unstyled.mdx b/docs/api/doc-blocks/doc-block-unstyled.mdx index 5fb011ba1cbf..2b4789ca9982 100644 --- a/docs/api/doc-blocks/doc-block-unstyled.mdx +++ b/docs/api/doc-blocks/doc-block-unstyled.mdx @@ -1,5 +1,8 @@ --- title: 'Unstyled' +sidebar: + order: 16 + title: Unstyled --- The `Unstyled` block is a special block that disables Storybook's default styling in MDX docs wherever it is added. diff --git a/docs/api/doc-blocks/doc-block-useof.mdx b/docs/api/doc-blocks/doc-block-useof.mdx index a91db0957e71..e192cc2d0f81 100644 --- a/docs/api/doc-blocks/doc-block-useof.mdx +++ b/docs/api/doc-blocks/doc-block-useof.mdx @@ -1,5 +1,8 @@ --- title: 'useOf' +sidebar: + order: 17 + title: useOf --- The default blocks supplied by Storybook do not fit all use cases, so you might want to write your own blocks. diff --git a/docs/api/main.js configuration/main-config-addons.mdx b/docs/api/main.js configuration/main-config-addons.mdx index 5279e0a8b87d..b07ad5d5ec81 100644 --- a/docs/api/main.js configuration/main-config-addons.mdx +++ b/docs/api/main.js configuration/main-config-addons.mdx @@ -1,5 +1,8 @@ --- title: 'addons' +sidebar: + order: 4 + title: addons --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-babel-default.mdx b/docs/api/main.js configuration/main-config-babel-default.mdx index 80f7f3945370..4fd137534b9a 100644 --- a/docs/api/main.js configuration/main-config-babel-default.mdx +++ b/docs/api/main.js configuration/main-config-babel-default.mdx @@ -1,5 +1,8 @@ --- title: 'babelDefault' +sidebar: + order: 6 + title: babelDefault --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-babel.mdx b/docs/api/main.js configuration/main-config-babel.mdx index dadb457b1d5d..aff3c84b718d 100644 --- a/docs/api/main.js configuration/main-config-babel.mdx +++ b/docs/api/main.js configuration/main-config-babel.mdx @@ -1,5 +1,8 @@ --- title: 'babel' +sidebar: + order: 5 + title: babel --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-build.mdx b/docs/api/main.js configuration/main-config-build.mdx index 146d11f70705..da388485d7ef 100644 --- a/docs/api/main.js configuration/main-config-build.mdx +++ b/docs/api/main.js configuration/main-config-build.mdx @@ -1,5 +1,8 @@ --- title: 'build' +sidebar: + order: 7 + title: build --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-core.mdx b/docs/api/main.js configuration/main-config-core.mdx index c14737ab2261..92ceca4a3740 100644 --- a/docs/api/main.js configuration/main-config-core.mdx +++ b/docs/api/main.js configuration/main-config-core.mdx @@ -1,5 +1,8 @@ --- title: 'core' +sidebar: + order: 8 + title: core --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-docs.mdx b/docs/api/main.js configuration/main-config-docs.mdx index 0dcf99b7670c..8f490765c88a 100644 --- a/docs/api/main.js configuration/main-config-docs.mdx +++ b/docs/api/main.js configuration/main-config-docs.mdx @@ -1,5 +1,8 @@ --- title: 'docs' +sidebar: + order: 9 + title: docs --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-env.mdx b/docs/api/main.js configuration/main-config-env.mdx index 1d3f46f8b2fb..df9bb37d5b87 100644 --- a/docs/api/main.js configuration/main-config-env.mdx +++ b/docs/api/main.js configuration/main-config-env.mdx @@ -1,5 +1,8 @@ --- title: 'env' +sidebar: + order: 10 + title: env --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-features.mdx b/docs/api/main.js configuration/main-config-features.mdx index c849603028cc..d6ceaaf573ff 100644 --- a/docs/api/main.js configuration/main-config-features.mdx +++ b/docs/api/main.js configuration/main-config-features.mdx @@ -1,5 +1,8 @@ --- title: 'features' +sidebar: + order: 11 + title: features --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-framework.mdx b/docs/api/main.js configuration/main-config-framework.mdx index 07293f93db19..f13d43ebf213 100644 --- a/docs/api/main.js configuration/main-config-framework.mdx +++ b/docs/api/main.js configuration/main-config-framework.mdx @@ -1,5 +1,8 @@ --- title: 'framework' +sidebar: + order: 2 + title: framework --- (**Required**) diff --git a/docs/api/main.js configuration/main-config-indexers.mdx b/docs/api/main.js configuration/main-config-indexers.mdx index a02e89d0c840..c8c2a650876c 100644 --- a/docs/api/main.js configuration/main-config-indexers.mdx +++ b/docs/api/main.js configuration/main-config-indexers.mdx @@ -1,5 +1,8 @@ --- title: 'indexers' +sidebar: + order: 12 + title: indexers --- (⚠️ **Experimental**) diff --git a/docs/api/main.js configuration/main-config-log-level.mdx b/docs/api/main.js configuration/main-config-log-level.mdx index 0507771bee04..b79c834978d1 100644 --- a/docs/api/main.js configuration/main-config-log-level.mdx +++ b/docs/api/main.js configuration/main-config-log-level.mdx @@ -1,5 +1,8 @@ --- title: 'logLevel' +sidebar: + order: 13 + title: logLevel --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-manager-head.mdx b/docs/api/main.js configuration/main-config-manager-head.mdx index 62863559a1e4..e3a73c7c84be 100644 --- a/docs/api/main.js configuration/main-config-manager-head.mdx +++ b/docs/api/main.js configuration/main-config-manager-head.mdx @@ -1,5 +1,8 @@ --- title: 'managerHead' +sidebar: + order: 14 + title: managerHead --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-preview-annotations.mdx b/docs/api/main.js configuration/main-config-preview-annotations.mdx index 82bf4817941b..0abf900c7fdd 100644 --- a/docs/api/main.js configuration/main-config-preview-annotations.mdx +++ b/docs/api/main.js configuration/main-config-preview-annotations.mdx @@ -1,5 +1,8 @@ --- title: 'previewAnnotations' +sidebar: + order: 15 + title: previewAnnotations --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-preview-body.mdx b/docs/api/main.js configuration/main-config-preview-body.mdx index 6ba4d69f0e0c..20b6b67d6194 100644 --- a/docs/api/main.js configuration/main-config-preview-body.mdx +++ b/docs/api/main.js configuration/main-config-preview-body.mdx @@ -1,5 +1,8 @@ --- title: 'previewBody' +sidebar: + order: 16 + title: previewBody --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-preview-head.mdx b/docs/api/main.js configuration/main-config-preview-head.mdx index 960e2b0b2625..0ca24773c279 100644 --- a/docs/api/main.js configuration/main-config-preview-head.mdx +++ b/docs/api/main.js configuration/main-config-preview-head.mdx @@ -1,5 +1,8 @@ --- title: 'previewHead' +sidebar: + order: 17 + title: previewHead --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-refs.mdx b/docs/api/main.js configuration/main-config-refs.mdx index e4ae814ba826..0d8aaa5eded0 100644 --- a/docs/api/main.js configuration/main-config-refs.mdx +++ b/docs/api/main.js configuration/main-config-refs.mdx @@ -1,5 +1,8 @@ --- title: 'refs' +sidebar: + order: 18 + title: refs --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-static-dirs.mdx b/docs/api/main.js configuration/main-config-static-dirs.mdx index 7d32621fdf60..66adc72f2d3f 100644 --- a/docs/api/main.js configuration/main-config-static-dirs.mdx +++ b/docs/api/main.js configuration/main-config-static-dirs.mdx @@ -1,5 +1,8 @@ --- title: 'staticDirs' +sidebar: + order: 19 + title: staticDirs --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-stories.mdx b/docs/api/main.js configuration/main-config-stories.mdx index c0a2240a4728..c85ad5f4a44b 100644 --- a/docs/api/main.js configuration/main-config-stories.mdx +++ b/docs/api/main.js configuration/main-config-stories.mdx @@ -1,5 +1,8 @@ --- title: 'stories' +sidebar: + order: 3 + title: stories --- (**Required**) diff --git a/docs/api/main.js configuration/main-config-swc.mdx b/docs/api/main.js configuration/main-config-swc.mdx index 4d67bd8b4c32..926370dbc565 100644 --- a/docs/api/main.js configuration/main-config-swc.mdx +++ b/docs/api/main.js configuration/main-config-swc.mdx @@ -1,5 +1,8 @@ --- title: 'swc' +sidebar: + order: 20 + title: swc --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-typescript.mdx b/docs/api/main.js configuration/main-config-typescript.mdx index cdcd4b2e98e6..e01aef243e57 100644 --- a/docs/api/main.js configuration/main-config-typescript.mdx +++ b/docs/api/main.js configuration/main-config-typescript.mdx @@ -1,5 +1,8 @@ --- title: 'typescript' +sidebar: + order: 21 + title: typescript --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-vite-final.mdx b/docs/api/main.js configuration/main-config-vite-final.mdx index ffb9b04600a5..df293995c441 100644 --- a/docs/api/main.js configuration/main-config-vite-final.mdx +++ b/docs/api/main.js configuration/main-config-vite-final.mdx @@ -1,5 +1,8 @@ --- title: 'viteFinal' +sidebar: + order: 22 + title: viteFinal --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config-webpack-final.mdx b/docs/api/main.js configuration/main-config-webpack-final.mdx index 7b4cb00af1e3..bcae5f188567 100644 --- a/docs/api/main.js configuration/main-config-webpack-final.mdx +++ b/docs/api/main.js configuration/main-config-webpack-final.mdx @@ -1,5 +1,8 @@ --- title: 'webpackFinal' +sidebar: + order: 23 + title: webpackFinal --- Parent: [main.js|ts configuration](./main-config.md) diff --git a/docs/api/main.js configuration/main-config.mdx b/docs/api/main.js configuration/main-config.mdx index 68e3b10db2d6..c6a10f775a7f 100644 --- a/docs/api/main.js configuration/main-config.mdx +++ b/docs/api/main.js configuration/main-config.mdx @@ -1,5 +1,8 @@ --- title: 'Main configuration' +sidebar: + order: 1 + title: Overview --- The main configuration defines a Storybook project's behavior, including the location of stories, addons to use, feature flags, and other project-specific settings.