# Netlify Redirects File
# https://docs.netlify.com/routing/redirects/

# Old URLs -> New URLs

# OLD
/config.html                    /api/reference/wxt/interfaces/InlineConfig.html
/api/config.html                /api/reference/wxt/interfaces/InlineConfig.html
/api/config                     /api/reference/wxt/interfaces/InlineConfig.html
/entrypoints                    /entrypoints/background.html
/get-started/assets.html        /guide/assets.html
/get-started/build-targets.html /guide/multiple-browsers.html
/get-started/compare.html       /guide/compare.html
/get-started/configuration.html /guide/configuration.html
/get-started/entrypoints.html   /guide/entrypoints.html
/get-started/publishing.html    /guide/publishing.html
/get-started/testing.html       /guide/testing.html
/guide/background.html          /entrypoints/background.html
/guide/bookmarks.html           /entrypoints/bookmarks.html
/guide/content-scripts.html     /entrypoints/content-scripts.html
/guide/css.html                 /entrypoints/css.html
/guide/devtools.html            /entrypoints/devtools.html
/guide/history.html             /entrypoints/history.html
/guide/manifest.html            /entrypoints/manifest.html
/guide/newtab.html              /entrypoints/newtab.html
/guide/options.html             /entrypoints/options.html
/guide/popup.html               /entrypoints/popup.html
/guide/sandbox.html             /entrypoints/sandbox.html
/guide/sidepanel.html           /entrypoints/sidepanel.html
/guide/unlisted-pages.html      /entrypoints/unlisted-pages.html
/guide/unlisted-scripts.html    /entrypoints/unlisted-scripts.html
/guide/build-targets.html       /guide/multiple-browsers.html
/guide/installation.html        /get-started/installation.html
/guide/introduction.html        /get-started/introduction.html
/guide/upgrade-guide/wxt        /guide/resources/upgrading.html
/guide/upgrade-guide/wxt.html   /guide/resources/upgrading.html

# 0.19.0
/guide/go-further/entrypoint-side-effects.html /guide/go-further/entrypoint-loaders.html

# 0.21.0
# The `url:` import feature was removed, along with its docs page.
/guide/essentials/remote-code.html /guide/resources/upgrading.html#url-imports-removed

# https://github.com/wxt-dev/wxt/issues/704
# Generated via `pnpm docs:build && find docs/.vitepress/dist -type f -name "*.html"`

/guide/i18n/build-integrations.html                           /i18n.html#build-integrations
/guide/i18n/introduction.html                                 /i18n.html
/guide/i18n/messages-file-format.html                         /i18n.html#messages-file-format
/guide/i18n/editor-support.html                               /i18n.html#editor-support
/guide/i18n/installation.html                                 /i18n.html#installation
/guide/i18n/installation                                      /i18n.html#installation
/guide/key-concepts/content-script-ui.html                    /guide/essentials/content-scripts.html#ui
/guide/key-concepts/manifest.html                             /guide/essentials/config/manifest.html
/guide/key-concepts/wxt-submit.html                           /api/cli/wxt-submit.html
/guide/key-concepts/auto-imports.html                         /guide/essentials/config/auto-imports.html
/guide/key-concepts/web-extension-polyfill.html               /guide/essentials/extension-apis.html
/guide/key-concepts/frontend-frameworks.html                  /guide/essentials/frontend-frameworks.html
/guide/key-concepts/multiple-browsers.html                    /guide/essentials/target-different-browsers.html
/guide/go-further/entrypoint-loaders.html                     /guide/essentials/config/entrypoint-loaders.html
/guide/go-further/es-modules.html                             /guide/essentials/es-modules.html
/guide/go-further/handling-updates.html                       /guide/essentials/testing-updates.html
/guide/go-further/custom-events.html                          /guide/essentials/content-scripts.html#dealing-with-spas
/guide/go-further/debugging.html                              /TODO
/guide/go-further/remote-code.html                            /guide/resources/upgrading.html#url-imports-removed
/guide/go-further/vite.html                                   /guide/essentials/config/vite.html
/guide/go-further/testing.html                                /guide/essentials/unit-testing.html
/guide/go-further/how-wxt-works.html                          /guide/resources/how-wxt-works.html
/guide/go-further/reusable-modules.html                       /guide/essentials/wxt-modules.html
/guide/extension-apis/messaging.html                          /guide/essentials/messaging.html
/guide/extension-apis/i18n.html                               /guide/essentials/i18n.html
/guide/extension-apis/storage.html                            /guide/essentials/storage.html
/guide/extension-apis/scripting.html                          /guide/essentials/scripting.html
/guide/extension-apis/others.html                             /guide/essentials/extension-apis.html
/guide/upgrade-guide/wxt.html                                 /guide/resources/upgrading.html
/guide/directory-structure/components.html                    /guide/essentials/project-structure.html
/guide/directory-structure/hooks.html                         /guide/essentials/config/hooks.html
/guide/directory-structure/assets.html                        /guide/essentials/assets.html#assets-directory
/guide/directory-structure/package.html                       /guide/essentials/project-structure.html
/guide/directory-structure/env.html                           /guide/essentials/config/runtime.html
/guide/directory-structure/wxt-config.html                    /guide/essentials/project-structure.html
/guide/directory-structure/wxt.html                           /guide/essentials/project-structure.html
/guide/directory-structure/public/locales.html                /guide/essentials/project-structure.html
/guide/directory-structure/public/index.html                  /guide/essentials/assets.html#public-directory
/guide/directory-structure/entrypoints/devtools.html          /guide/essentials/entrypoints.html#devtools
/guide/directory-structure/entrypoints/sidepanel.html         /guide/essentials/entrypoints.html#sidepanel
/guide/directory-structure/entrypoints/content-scripts.html   /guide/essentials/entrypoints.html#content-scripts
/guide/directory-structure/entrypoints/newtab.html            /guide/essentials/entrypoints.html#newtab
/guide/directory-structure/entrypoints/bookmarks.html         /guide/essentials/entrypoints.html#bookmarks
/guide/directory-structure/entrypoints/unlisted-pages.html    /guide/essentials/entrypoints.html#unlisted-pages
/guide/directory-structure/entrypoints/unlisted-scripts.html  /guide/essentials/entrypoints.html#unlisted-scripts
/guide/directory-structure/entrypoints/options.html           /guide/essentials/entrypoints.html#options
/guide/directory-structure/entrypoints/background.html        /guide/essentials/entrypoints.html#background
/guide/directory-structure/entrypoints/popup.html             /guide/essentials/entrypoints.html#popup
/guide/directory-structure/entrypoints/history.html           /guide/essentials/entrypoints.html#history
/guide/directory-structure/entrypoints/sandbox.html           /guide/essentials/entrypoints.html#sandbox
/guide/directory-structure/entrypoints/css.html               /guide/essentials/entrypoints.html#unlisted-css
/guide/directory-structure/web-ext-config.html                /guide/essentials/config/browser-startup.html
/guide/directory-structure/tsconfig.html                      /guide/essentials/config/typescript.html
/guide/directory-structure/utils.html                         /guide/essentials/project-structure.html
/guide/directory-structure/app-config.html                    /guide/essentials/config/runtime.html
/guide/directory-structure/composables.html                   /guide/essentials/project-structure.html
/guide/directory-structure/output.html                        /guide/essentials/project-structure.html
/get-started/assets.html                                      /guide/essentials/assets.html
/get-started/introduction.html                                /guide/introduction.html
/get-started/configuration.html                               /guide/essentials/config/manifest.html
/get-started/publishing.html                                  /guide/essentials/publishing.html
/get-started/migrate-to-wxt.html                              /guide/resources/migrate.html
/get-started/compare.html                                     /guide/resources/compare.html
/get-started/entrypoints.html                                 /guide/essentials/entrypoints.html
/get-started/installation.html                                /guide/installation.html
