storybook/docs/toc.js

67 lines
1.6 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',
2020-08-03 22:15:39 +01:00
pages: [
'overview',
'integration',
'story-rendering',
'user-interface',
'features-and-behavior',
'theming',
'sidebar-and-urls',
'storybook-addons',
'environment-variables'
],
},
{
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'
]
},
{
title: 'API',
prefix:'api',
pages:['stories','addons','new-frameworks','cli-options','frameworks-feature-support']
},
],
};