mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-18 05:02:24 +08:00
253 lines
6.0 KiB
JavaScript
253 lines
6.0 KiB
JavaScript
module.exports = {
|
|
toc: [
|
|
{
|
|
title: 'Get Started',
|
|
type: 'menu',
|
|
children: [
|
|
{
|
|
path: '/docs/get-started/introduction/',
|
|
title: 'Introduction',
|
|
type: 'bullet-link',
|
|
},
|
|
{
|
|
path: '/docs/get-started/install/',
|
|
title: 'Install',
|
|
type: 'bullet-link',
|
|
},
|
|
{
|
|
path: '/docs/get-started/whats-a-story/',
|
|
title: "What's a story?",
|
|
type: 'bullet-link',
|
|
},
|
|
{
|
|
path: '/docs/get-started/browse-stories/',
|
|
title: 'Browse stories',
|
|
type: 'bullet-link',
|
|
},
|
|
{
|
|
path: '/docs/get-started/setup/',
|
|
title: 'Setup',
|
|
type: 'bullet-link',
|
|
},
|
|
{
|
|
path: '/docs/get-started/conclusion/',
|
|
title: 'Conclusion',
|
|
type: 'bullet-link',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Writing Stories',
|
|
type: 'menu',
|
|
children: [
|
|
{
|
|
path: '/docs/writing-stories/introduction/',
|
|
title: 'Introduction',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/writing-stories/args/',
|
|
title: 'Args',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/writing-stories/parameters/',
|
|
title: 'Parameters',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/writing-stories/decorators/',
|
|
title: 'Decorators',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/writing-stories/naming-components-and-hierarchy/',
|
|
title: 'Naming components and hierarchy',
|
|
type: 'link',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Writing Docs',
|
|
type: 'menu',
|
|
children: [
|
|
{
|
|
path: '/docs/writing-docs/introduction/',
|
|
title: 'Introduction',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/writing-docs/docs-page/',
|
|
title: 'Docs Page',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/writing-docs/mdx/',
|
|
title: 'MDX',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/writing-docs/doc-blocks/',
|
|
title: 'Docs Blocks',
|
|
type: 'link',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Essentials',
|
|
type: 'menu',
|
|
children: [
|
|
{
|
|
path: '/docs/essentials/introduction/',
|
|
title: 'Introduction',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/essentials/controls/',
|
|
title: 'Controls',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/essentials/actions/',
|
|
title: 'Actions',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/essentials/viewports/',
|
|
title: 'Viewports',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/essentials/backgrounds/',
|
|
title: 'Backgrounds',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/essentials/toolbars-and-globals/',
|
|
title: 'Toolbars & globals',
|
|
type: 'link',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Configure',
|
|
type: 'menu',
|
|
children: [
|
|
{
|
|
path: '/docs/configure/overview/',
|
|
title: 'Overview',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/configure/integration/',
|
|
title: 'Integration',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/configure/story-rendering/',
|
|
title: 'Story rendering',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/configure/user-interface/',
|
|
title: 'User interface',
|
|
type: 'link',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'Workflows',
|
|
type: 'menu',
|
|
children: [
|
|
{
|
|
path: '/docs/workflows/publish-storybook/',
|
|
title: 'Publish Storybook',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/workflows/build-pages-with-storybook/',
|
|
title: 'Building pages with Storybook',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/workflows/stories-for-multiple-components/',
|
|
title: 'Stories for multiple components',
|
|
type: 'link',
|
|
},
|
|
{
|
|
title: 'Testing with Storybook',
|
|
type: 'menu',
|
|
children: [
|
|
{
|
|
path: '/docs/workflows/testing-with-storybook/',
|
|
title: 'Introduction',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/workflows/unit-testing/',
|
|
title: 'Unit testing',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/workflows/visual-testing/',
|
|
title: 'Visual testing',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/workflows/interaction-testing/',
|
|
title: 'Interaction testing',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/workflows/snapshot-testing/',
|
|
title: 'Snapshot testing',
|
|
type: 'link',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
path: '/docs/workflows/storybook-composition/',
|
|
title: 'Storybook Composition',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/workflows/package-composition/',
|
|
title: 'Package Composition',
|
|
type: 'link',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: 'API',
|
|
type: 'menu',
|
|
children: [
|
|
{
|
|
path: '/docs/api/stories/',
|
|
title: 'Stories',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/api/addons/',
|
|
title: 'Addons',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/api/new-frameworks/',
|
|
title: 'Frameworks',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/api/cli-options/',
|
|
title: 'CLI Options',
|
|
type: 'link',
|
|
},
|
|
{
|
|
path: '/docs/api/frameworks-feature-support/',
|
|
title: 'Feature support for frameworks',
|
|
type: 'link',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|