Skip to content

Commit

Permalink
fix(locales): add redirect links
Browse files Browse the repository at this point in the history
  • Loading branch information
thetaPC committed Nov 1, 2023
1 parent 7d6f55a commit fbb0361
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down
5 changes: 4 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "/" },
Expand Down

0 comments on commit fbb0361

Please sign in to comment.