mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-17 05:02:23 +08:00
107 lines
2.9 KiB
JavaScript
107 lines
2.9 KiB
JavaScript
module.exports = {
|
|
pathPrefix: '/docs',
|
|
siteMetadata: {
|
|
siteTitle: 'Storybook',
|
|
baseColor: '#e64074',
|
|
linkPrefix: '/',
|
|
|
|
docSections: {
|
|
basics: [
|
|
'/basics/introduction/',
|
|
'/basics/writing-stories/',
|
|
'/basics/exporting-storybook/',
|
|
'/basics/faq/',
|
|
'/basics/live-examples/',
|
|
],
|
|
guides: [
|
|
'/guides/quick-start-guide/',
|
|
'/guides/slow-start-guide/',
|
|
'/guides/guide-html/',
|
|
'/guides/guide-react/',
|
|
'/guides/guide-react-native/',
|
|
'/guides/guide-vue/',
|
|
'/guides/guide-angular/',
|
|
'/guides/guide-mithril/',
|
|
'/guides/guide-marko/',
|
|
'/guides/guide-ember/',
|
|
'/guides/guide-riot/',
|
|
'/guides/guide-svelte/',
|
|
'/guides/guide-preact/',
|
|
'/guides/guide-web-components/',
|
|
],
|
|
configurations: [
|
|
'/configurations/overview/',
|
|
'/configurations/options-parameter/',
|
|
'/configurations/default-config/',
|
|
'/configurations/custom-webpack-config/',
|
|
'/configurations/custom-babel-config/',
|
|
'/configurations/typescript-config/',
|
|
'/configurations/add-custom-head-tags/',
|
|
'/configurations/add-custom-body/',
|
|
'/configurations/serving-static-files/',
|
|
'/configurations/env-vars/',
|
|
'/configurations/theming/',
|
|
'/configurations/cli-options/',
|
|
'/configurations/standalone-options/',
|
|
],
|
|
formats: [
|
|
'/formats/component-story-format/',
|
|
'/formats/storiesof-api/',
|
|
'/formats/mdx-syntax/',
|
|
],
|
|
testing: [
|
|
'/testing/react-ui-testing/',
|
|
'/testing/structural-testing/',
|
|
'/testing/interaction-testing/',
|
|
'/testing/automated-visual-testing/',
|
|
'/testing/manual-testing/',
|
|
],
|
|
addons: [
|
|
'/addons/introduction/',
|
|
'/addons/using-addons/',
|
|
'/addons/writing-addons/',
|
|
'/addons/api/',
|
|
],
|
|
presets: ['/presets/introduction/', '/presets/preset-gallery/', '/presets/writing-presets/'],
|
|
},
|
|
},
|
|
plugins: [
|
|
{
|
|
resolve: 'gatsby-source-filesystem',
|
|
options: {
|
|
name: 'pages',
|
|
path: `${__dirname}/src/pages/`,
|
|
},
|
|
},
|
|
{
|
|
resolve: `gatsby-plugin-styled-components`,
|
|
options: {
|
|
repoUrl: 'https://github.com/storybookjs/storybook',
|
|
},
|
|
},
|
|
{
|
|
resolve: 'gatsby-transformer-remark',
|
|
options: {
|
|
plugins: [
|
|
{
|
|
resolve: 'gatsby-remark-images',
|
|
options: {
|
|
maxWidth: 690,
|
|
},
|
|
},
|
|
'gatsby-remark-autolink-headers',
|
|
'gatsby-remark-copy-linked-files',
|
|
'gatsby-remark-smartypants',
|
|
],
|
|
},
|
|
},
|
|
'gatsby-plugin-sharp',
|
|
{
|
|
resolve: 'gatsby-plugin-segment',
|
|
options: {
|
|
writeKey: 'AvvBObOmHaEMqfub8JJUXq5umjsuaqS8',
|
|
},
|
|
},
|
|
],
|
|
};
|