storybook/docs/toc.js

116 lines
2.8 KiB
JavaScript
Raw Normal View History

module.exports = {
toc: [
{
2020-07-09 19:15:35 +10:00
title: 'Get Started',
prefix: 'get-started',
pages: ['introduction', 'install', 'whats-a-story', 'browse-stories', 'setup', 'conclusion'],
},
{
2020-07-09 19:15:35 +10:00
title: 'Writing Stories',
prefix: 'writing-stories',
pages: [
'introduction',
'args',
'parameters',
'decorators',
'naming-components-and-hierarchy',
],
},
{
2020-07-09 19:15:35 +10:00
title: 'Writing Docs',
prefix: 'writing-docs',
pages: ['introduction', 'docs-page', 'mdx', 'doc-blocks'],
},
{
2020-07-24 16:15:19 +01:00
title: 'Essentials',
prefix:'essentials',
pages:['introduction','controls','actions','viewports','backgrounds','toolbars-and-globals']
},
{
title: 'Configure',
prefix: 'configure',
pages: ['overview', 'integration', 'story-rendering', 'user-interface'],
},
{
title:'Workflows',
prefix:'workflows',
pages:[
'publish-storybook',
'build-pages-with-storybook',
'stories-for-multiple-components',
'testing-with-storybook',
'unit-testing',
'visual-testing',
'interaction-testing',
'snapshot-testing',
'storybook-composition',
'package-composition'
]
},
{
2020-08-05 23:51:38 +01:00
title: 'API',
2020-08-05 23:14:32 +01:00
pathSegment: 'api',
type: 'menu',
children:[
{
pathSegment: 'stories',
title: 'Stories',
type: 'link',
},
{
pathSegment: 'csf',
title: 'Component Story Format',
description:'Learn about the Component Story Format API',
type: 'bullet-link',
},
{
pathSegment: 'mdx',
title: 'MDX syntax',
description:'Learn how to add MDX to your Storybook',
type: 'bullet-link',
},
{
pathSegment: 'argtypes',
title: 'ArgTypes',
description:'Learn how to use Argtypes with your Storybook',
type: 'bullet-link',
},
{
pathSegment: 'addons',
title: 'Addons',
type: 'link',
},
{
pathSegment: 'addons-api',
title: 'Addons API',
type: 'link',
},
{
pathSegment: 'presets',
title: 'Presets',
type: 'link',
},
{
pathSegment: 'writing-presets',
title: 'Writing your own Storybook Preset',
type: 'link',
},
{
pathSegment: 'new-frameworks',
title: 'Frameworks',
type: 'link',
},
{
pathSegment: 'cli-options',
title: 'CLI Options',
type: 'link',
},
{
pathSegment: 'frameworks-feature-support',
title: 'Feature support for frameworks',
type: 'link',
},
],
},
],
};