Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[i18nIgnore]docs: redirects broken links #2088

Merged
merged 6 commits into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 29 additions & 1 deletion public/_redirects
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,32 @@

# Decommissioned locales
/ko/* /:splat 302
/it/* /:splat 302
/it/* /:splat 302

# Docs rework

/guides /start 301
/guides/prerequisites /start/prerequisites 301
/guides/create /start/create-project 301
/guides/plugins /develop/plugins/ 301

/guides/frontend /start/frontend-configuration 301
/guides/frontend/* /start/frontend-configuration/:splat 301

/guides/upgrade-migrate /start/upgrade--migrate 301
/guides/upgrade-migrate/* /start/upgrade--migrate/:splat 301

/references/v2/cli /references/cli 301
/references/v2/acl /references/acl 301
/references/v2/config /references/config 301
/references/v2/js /references/javascript/api 301
/references/v2/js/* /references/javascript/api/:splat 301
/references/v2/* /references/:splat 301

/2/reference/js/core/namespacepath /references/javascript/api/namespacepath 301
/2/reference/ /references/ 301


/references/configuration-files /develop/configuration-files 301

/features/commands /develop/calling-rust 301
6 changes: 3 additions & 3 deletions src/content/docs/_zh-cn/guides/upgrade-migrate/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import { LinkCard, CardGrid } from '@astrojs/starlight/components';
<CardGrid>
<LinkCard
title="从 Tauri 1.0 升级"
href="/zh-cn/guides/upgrade-migrate/from-tauri-1"
href="/zh-cn/guides/upgrade--migrate/from-tauri-1"
/>
<LinkCard
title="从 Electron 迁移"
href="/zh-cn/guides/upgrade-migrate/from-electron"
href="/zh-cn/guides/upgrade--migrate/from-electron"
/>
<LinkCard
title="从 Flutter 迁移"
href="/zh-cn/guides/upgrade-migrate/from-flutter"
href="/zh-cn/guides/upgrade--migrate/from-flutter"
/>
</CardGrid>
6 changes: 3 additions & 3 deletions src/content/docs/start/Upgrade & Migrate/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ import { LinkCard, CardGrid } from '@astrojs/starlight/components';
<CardGrid>
<LinkCard
title="Upgrade from Tauri 1.0"
href="/start/upgrade-migrate/from-tauri-1"
href="/start/upgrade--migrate/from-tauri-1"
/>
<LinkCard
title="Migrate from Electron"
href="/start/upgrade-migrate/from-electron"
href="/start/upgrade--migrate/from-electron"
/>
<LinkCard
title="Migrate from Flutter"
href="/start/upgrade-migrate/from-flutter"
href="/start/upgrade--migrate/from-flutter"
/>
</CardGrid>
Loading