diff --git a/docs/toc.js b/docs/toc.js index c793804b860b..ade7f3aa517f 100644 --- a/docs/toc.js +++ b/docs/toc.js @@ -197,92 +197,48 @@ module.exports = { ], }, { - title: '⚙️ Configure', - pathSegment: 'configure', + title: '🧩 Essential addons', + pathSegment: 'essentials', type: 'menu', children: [ { - pathSegment: 'overview', - title: 'Overview', + pathSegment: 'introduction', + title: 'Introduction', type: 'link', }, { - pathSegment: 'upgrading', - title: 'Upgrading', + pathSegment: 'controls', + title: 'Controls', type: 'link', }, { - pathSegment: '', - title: 'Integration', - type: 'menu', - children: [ - { - pathSegment: 'webpack', - title: 'Webpack', - type: 'link', - }, - { - pathSegment: 'babel', - title: 'Babel', - type: 'link', - }, - { - pathSegment: 'typescript', - title: 'TypeScript', - type: 'link', - }, - { - pathSegment: 'styling-and-css', - title: 'Styling and CSS', - type: 'link', - }, - { - pathSegment: 'images-and-assets', - title: 'Images and assets', - type: 'link', - }, - ], + pathSegment: 'actions', + title: 'Actions', + type: 'link', }, { - pathSegment: 'story-rendering', - title: 'Story rendering', + pathSegment: 'viewport', + title: 'Viewport', type: 'link', }, { - pathSegment: 'story-layout', - title: 'Story Layout', + pathSegment: 'backgrounds', + title: 'Backgrounds', type: 'link', }, { - pathSegment: '', - title: 'User interface', - type: 'menu', - children: [ - { - pathSegment: 'features-and-behavior', - title: 'Features and behavior', - type: 'link', - }, - { - pathSegment: 'theming', - title: 'Theming', - type: 'link', - }, - { - pathSegment: 'sidebar-and-urls', - title: 'Sidebar & URLS', - type: 'link', - }, - { - pathSegment: 'storybook-addons', - title: 'Storybook Addons', - type: 'link', - }, - ], + pathSegment: 'toolbars-and-globals', + title: 'Toolbars & globals', + type: 'link', }, { - pathSegment: 'environment-variables', - title: 'Environment variables', + pathSegment: 'measure-and-outline', + title: 'Measure & Outline', + type: 'link', + }, + { + pathSegment: 'interactions', + title: 'Interactions', type: 'link', }, ], @@ -340,48 +296,92 @@ module.exports = { ], }, { - title: '🧩 Essential addons', - pathSegment: 'essentials', + title: '⚙️ Configure', + pathSegment: 'configure', type: 'menu', children: [ { - pathSegment: 'introduction', - title: 'Introduction', - type: 'link', - }, - { - pathSegment: 'controls', - title: 'Controls', + pathSegment: 'overview', + title: 'Overview', type: 'link', }, { - pathSegment: 'actions', - title: 'Actions', + pathSegment: 'upgrading', + title: 'Upgrading', type: 'link', }, { - pathSegment: 'viewport', - title: 'Viewport', - type: 'link', + pathSegment: '', + title: 'Integration', + type: 'menu', + children: [ + { + pathSegment: 'webpack', + title: 'Webpack', + type: 'link', + }, + { + pathSegment: 'babel', + title: 'Babel', + type: 'link', + }, + { + pathSegment: 'typescript', + title: 'TypeScript', + type: 'link', + }, + { + pathSegment: 'styling-and-css', + title: 'Styling and CSS', + type: 'link', + }, + { + pathSegment: 'images-and-assets', + title: 'Images and assets', + type: 'link', + }, + ], }, { - pathSegment: 'backgrounds', - title: 'Backgrounds', + pathSegment: 'story-rendering', + title: 'Story rendering', type: 'link', }, { - pathSegment: 'toolbars-and-globals', - title: 'Toolbars & globals', + pathSegment: 'story-layout', + title: 'Story Layout', type: 'link', }, { - pathSegment: 'measure-and-outline', - title: 'Measure & Outline', - type: 'link', + pathSegment: '', + title: 'User interface', + type: 'menu', + children: [ + { + pathSegment: 'features-and-behavior', + title: 'Features and behavior', + type: 'link', + }, + { + pathSegment: 'theming', + title: 'Theming', + type: 'link', + }, + { + pathSegment: 'sidebar-and-urls', + title: 'Sidebar & URLS', + type: 'link', + }, + { + pathSegment: 'storybook-addons', + title: 'Storybook Addons', + type: 'link', + }, + ], }, { - pathSegment: 'interactions', - title: 'Interactions', + pathSegment: 'environment-variables', + title: 'Environment variables', type: 'link', }, ],