From fbb036134e79143d664a9df8fa200a3d90b77e89 Mon Sep 17 00:00:00 2001 From: Maria Hutt Date: Wed, 1 Nov 2023 14:55:59 -0700 Subject: [PATCH] fix(locales): add redirect links --- docusaurus.config.js | 3 +-- vercel.json | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index ce2f32d9068..7e982da5587 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -11,8 +11,7 @@ module.exports = { tagline: 'Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards', url: 'https://ionicframework.com', - baseUrl: `${BASE_URL}`, - // trailingSlash: true, + baseUrl: `${BASE_URL}/`, i18n: { defaultLocale: 'en', locales: ['en', 'ja'], diff --git a/vercel.json b/vercel.json index b7f986824c5..825ac404216 100644 --- a/vercel.json +++ b/vercel.json @@ -64,7 +64,10 @@ "destination": "/docs/vue/your-first-app/deploying-mobile" }, { "source": "/docs/vue/your-first-app/7-live-reload", "destination": "/docs/vue/your-first-app/live-reload" }, - { "source": "/docs/react/testing", "destination": "/docs/react/testing/introduction" } + { "source": "/docs/react/testing", "destination": "/docs/react/testing/introduction" }, + { "source": "/docs/docs", "destination": "/docs" }, + { "source": "/docs/ja/docs", "destination": "/docs/ja" }, + { "source": "/docs/ja/docs/ja", "destination": "/docs/ja" } ], "rewrites": [ { "source": "/docs", "destination": "/" },