# See https://www.netlify.com/docs/redirects/

# Older (prev 5.0 doc URLs)
/basics/quick-start-guide                   /docs/get-started/                                                                                  301
/basics/slow-start-guide                    /docs/configure/                                                                                    301
/basics/guide-react                         /docs/get-started/                                                                                  301
/basics/guide-react-native                  https://github.com/storybookjs/react-native#storybook-for-react-native                              301
/basics/guide-vue                           /docs/get-started/                                                                                  301
/basics/guide-angular                       /docs/get-started/                                                                                  301
/basics/guide-mithril                       /docs/get-started/                                                                                  301
/basics/guide-ember                         /docs/get-started/                                                                                  301
/basics/guide-riot                          /docs/get-started/                                                                                  301
/basics/guide-html                          /docs/get-started/                                                                                  301
/docs/basics/quick-start-guide              /docs/get-started/                                                                                  301
/docs/basics/slow-start-guide               /docs/configure/                                                                                    301
/docs/basics/guide-react                    /docs/get-started/                                                                                  301
/docs/basics/guide-react-native             https://github.com/storybookjs/react-native#storybook-for-react-native                              301
/docs/basics/guide-vue                      /docs/get-started/                                                                                  301
/docs/basics/guide-angular                  /docs/get-started/                                                                                  301
/docs/basics/guide-mithril                  /docs/get-started/                                                                                  301
/docs/basics/guide-ember                    /docs/get-started/                                                                                  301
/docs/basics/guide-riot                     /docs/get-started/                                                                                  301
/docs/basics/guide-html                     /docs/get-started/                                                                                  301

/basics/*                                   /docs/basics/:splat                                                                                 301
/configurations/*                           /docs/configurations/:splat                                                                         301
/examples/*                                 /docs/examples/:splat                                                                               301
/logos/*                                    /docs/logos/:splat                                                                                  301
/testing/*                                  /docs/testing/:splat                                                                                301

# Pre 6.0 URLs
/docs/basics/introduction/                  /docs/get-started/                                                                                  301
/docs/basics/writing-stories/               /docs/get-started/whats-a-story/                                                                    301
/docs/basics/exporting-storybook/           /docs/workflows/publish-storybook/                                                                  301
/docs/basics/faq/                           /docs/workflows/faq/                                                                                301
/docs/basics/live-examples/                 https://github.com/storybookjs/storybook/blob/next/examples/README.md                               301
/docs/examples/                             /docs/get-started/examples/                                                                         301

/docs/guides/quick-start-guide/             /docs/get-started/                                                                                  301
/docs/guides/slow-start-guide/              /docs/configure/                                                                                    301
/docs/guides/guide-html/                    /docs/get-started/                                                                                  301
/docs/guides/guide-react/                   /docs/get-started/                                                                                  301
/docs/guides/guide-react-native/            https://github.com/storybookjs/react-native#storybook-for-react-native                              301
/docs/guides/guide-vue/                     /docs/get-started/                                                                                  301
/docs/guides/guide-angular/                 /docs/get-started/                                                                                  301
/docs/guides/guide-mithril/                 /docs/get-started/                                                                                  301
/docs/mithril/                              /docs/get-started/                                                                                  301
/docs/guides/guide-marko/                   /docs/get-started/                                                                                  301
/docs/marko/                                /docs/get-started/                                                                                  301
/docs/guides/guide-ember/                   /docs/get-started/                                                                                  301
/docs/guides/guide-rax/                     /docs/get-started/                                                                                  301
/docs/rax/                                  /docs/get-started/                                                                                  301
/docs/guides/guide-riot/                    /docs/get-started/                                                                                  301
/docs/riot/                                 /docs/get-started/                                                                                  301
/docs/guides/guide-svelte/                  /docs/get-started/                                                                                  301
/docs/guides/guide-preact/                  /docs/get-started/                                                                                  301

/docs/configurations/overview/              /docs/configure/                                                                                    301
/docs/configurations/options-parameter/     /docs/configure/features-and-behavior/                                                              301
/docs/configurations/default-config/        /docs/configure/                                                                                    301
/docs/configurations/custom-webpack-config/ /docs/builders/webpack/                                                                             301
/docs/configurations/custom-babel-config/   /docs/configure/compilers/                                                                          301
/docs/configurations/typescript-config/     /docs/configure/typescript/                                                                         301
/docs/configurations/add-custom-head-tags/  /docs/configure/story-rendering#adding-to-head                                                      301
/docs/configurations/add-custom-body/       /docs/configure/story-rendering#adding-to-body                                                      301
/docs/configurations/serving-static-files/  /docs/configure/images-and-assets#serving-static-files-via-storybook/                               301
/docs/configurations/env-vars/              /docs/configure/environment-variables/                                                              301
/docs/configurations/theming/               /docs/configure/theming/                                                                            301
/docs/configurations/cli-options/           /docs/api/cli-options/                                                                              301
/docs/configurations/standalone-options/    https://github.com/storybookjs/storybook/blob/next/lib/core/docs/standalone.md                      301
/docs/formats/component-story-format/       /docs/api/csf/                                                                                      301
/docs/formats/storiesof-api/                https://github.com/storybookjs/storybook/blob/next/lib/core/docs/storiesOf.md                       301
/docs/formats/mdx-syntax/                   /docs/api/mdx/                                                                                      301
/docs/testing/react-ui-testing/             /docs/writing-tests/                                                                                301
/docs/testing/structural-testing/           /docs/writing-tests/snapshot-testing/                                                               301
/docs/testing/interaction-testing/          /docs/writing-tests/interaction-testing/                                                            301
/docs/testing/automated-visual-testing/     /docs/writing-tests/visual-testing/                                                                 301
/docs/testing/manual-testing/               /docs/writing-tests/                                                                                301
/docs/addons/using-addons/                  /docs/addons/install-addons/                                                                        301
/docs/addons/writing-addons/                /docs/addons/writing-addons/                                                                        301
/addons/writing-addons/                     /docs/addons/writing-addons/                                                                        301
/docs/addons/api/                           /docs/addons/addons-api/                                                                            301
/docs/presets/introduction/                 /docs/api/presets/                                                                                  301
/docs/presets/preset-gallery/               https://github.com/storybookjs/presets                                                              301
/docs/presets/writing-presets/              /docs/api/writing-presets/                                                                          301

# Other
/versions.json                              /.netlify/functions/versions/:splat                                                                 200
/whats-new/v1/                              https://storybook-dx.netlify.app/.netlify/functions/whats-new/:splat                                200
/event-log                                  https://us-central1-storybook-warehouse.cloudfunctions.net/storybook-event-log-production-event-log 200
/blog/*                                     https://storybook-blog.netlify.app/blog/:splat                                                      200
/showcase/*                                 https://storybook-component-catalog.netlify.app/showcase/:splat                                     200
/tutorials/*                                https://storybook-tutorials.netlify.app/tutorials/:splat                                            200
/day/*                                      https://storybook-day-2023.netlify.app/day/:splat                                                   200

/status                                     https://github.com/storybookjs/storybook/issues/23279                                               302
/telemetry                                  /docs/configure/telemetry                                                                           301

# Plausible analytics
/js/script.js                               https://plausible.io/js/script.js                                                                   200
/api/event                                  https://plausible.io/api/event                                                                      200
/proxy/api/event                            https://plausible.io/api/event                                                                      200

# We can't use updateRedirectsFile for these because it adds the version to the destination
/docs/react/get-started/examples            /showcase                                                                                           301
/docs/vue/get-started/examples              /showcase                                                                                           301
/docs/angular/get-started/examples          /showcase                                                                                           301
/docs/web-components/get-started/examples   /showcase                                                                                           301
/docs/ember/get-started/examples            /showcase                                                                                           301
/docs/html/get-started/examples             /showcase                                                                                           301
/docs/mithril/get-started/examples          /showcase                                                                                           301
/docs/marko/get-started/examples            /showcase                                                                                           301
/docs/svelte/get-started/examples           /showcase                                                                                           301
/docs/riot/get-started/examples             /showcase                                                                                           301
/docs/preact/get-started/examples           /showcase                                                                                           301
/docs/rax/get-started/examples              /showcase                                                                                           301

# We can't use updateRedirectsFile for these because the /get-started route is valid for 8.0+ and the logic doesn't allow for that
/docs/7.6/get-started                       https://release-7-6--storybook-frontpage.netlify.app/docs/7.6/get-started/install                   301
/docs/7.5/get-started                       https://release-7-5--storybook-frontpage.netlify.app/docs/7.5/get-started/install                   301
/docs/7.4/get-started                       https://release-7-4--storybook-frontpage.netlify.app/docs/7.4/get-started/install                   301
/docs/7.3/get-started                       https://release-7-3--storybook-frontpage.netlify.app/docs/7.3/get-started/install                   301
/docs/7.2/get-started                       https://release-7-2--storybook-frontpage.netlify.app/docs/7.2/get-started/install                   301
/docs/7.1/get-started                       https://release-7-1--storybook-frontpage.netlify.app/docs/7.1/get-started/install                   301
/docs/7.0/get-started                       https://release-7-0--storybook-frontpage.netlify.app/docs/7.0/get-started/install                   301
/docs/6.5/get-started                       https://release-6-5--storybook-frontpage.netlify.app/docs/6.5/get-started/install                   301

# Integration Catalog redirects
/addons/addon-gallery/                      /integrations/                                                                                      301
/addons/                                    /integrations/                                                                                      301
/recipes/                                   /integrations/                                                                                      301
/addons/tag/*                               /integrations/tag/:splat                                                                            301

/design-system                              https://master--5ccbc373887ca40020446347.chromatic.com                                              301
/migration-guides/7.0                       https://storybook.js.org/docs/7.0/react/migration-guide                                             301

# Rest of this file is generated (see gatsby-node.js > updateRedirectsFile)
