Skip to content

Commit

Permalink
Add redirects for old native docsites
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron committed Sep 28, 2023
1 parent f7ebeed commit 3a68f13
Showing 1 changed file with 185 additions and 0 deletions.
185 changes: 185 additions & 0 deletions redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,191 @@
"name": "CSS Utilities",
"match": "^css/utilities",
"destination": "/design/foundations/css-utilities/getting-started"
},
{
"name": "Native Desktop - Getting started",
"match": "^desktop$",
"destination": "/design/native/desktop/getting-started"
},
{
"name": "Native Desktop - Foundations - Relationship to Primer Web",
"match": "^desktop/foundations/relationshiptoprimerweb",
"destination": "/design/native/desktop/foundations#relationship-to-primer-web"
},
{
"name": "Native Desktop - Foundations - Color",
"match": "^desktop/foundations/color",
"destination": "/design/native/desktop/foundations#color"
},
{
"name": "Native Desktop - Foundations - Typography",
"match": "^desktop/foundations/typography",
"destination": "/design/native/desktop/foundations#typography"
},
{
"name": "Native Desktop - Foundations - Iconography",
"match": "^desktop/foundations/iconography",
"destination": "/design/native/desktop/foundations#iconography"
},
{
"name": "Native Desktop - Foundations - Illustrations",
"match": "^desktop/foundations/illustrations",
"destination": "/design/native/desktop/foundations#illustrations"
},
{
"name": "Native Desktop - Foundations - Platforms",
"match": "^desktop/foundations/platforms",
"destination": "/design/native/desktop/foundations#platforms"
},
{
"name": "Native Desktop - Foundations - Spacing",
"match": "^desktop/foundations/spacing",
"destination": "/design/native/desktop/foundations#spacing"
},
{
"name": "Native Desktop - Foundations - System Elements",
"match": "^desktop/foundations/systemelements",
"destination": "/design/native/desktop/foundations"
},
{
"name": "Native CLI - Getting Started",
"match": "^cli$",
"destination": "/design/native/cli/getting-started"
},
{
"name": "Native CLI - Principles",
"match": "^cli/getting-started/principles",
"destination": "/design/native/cli/getting-started#principles"
},
{
"name": "Native CLI - Process",
"match": "^cli/getting-started/process",
"destination": "/design/native/cli/getting-started#process"
},
{
"name": "Native CLI - Prototyping",
"match": "^cli/getting-started/prototyping",
"destination": "/design/native/cli/getting-started#prototyping"
},
{
"name": "Native CLI - Foundations - Language",
"match": "^cli/foundations/language",
"destination": "/design/native/cli/foundations#language"
},
{
"name": "Native CLI - Foundations - Typography",
"match": "^cli/foundations/typography",
"destination": "/design/native/cli/foundations#typography"
},
{
"name": "Native CLI - Foundations - Spacing",
"match": "^cli/foundations/spacing",
"destination": "/design/native/cli/foundations#spacing"
},
{
"name": "Native CLI - Foundations - Color",
"match": "^cli/foundations/color",
"destination": "/design/native/cli/foundations#color"
},
{
"name": "Native CLI - Foundations - Iconography",
"match": "^cli/foundations/iconography",
"destination": "/design/native/cli/foundations#iconography"
},
{
"name": "Native CLI - Foundations - Scriptability",
"match": "^cli/foundations/scriptability",
"destination": "/design/native/cli/foundations#scriptability"
},
{
"name": "Native CLI - Foundations - Customizability",
"match": "^cli/foundations/customizability",
"destination": "/design/native/cli/foundations#customizability"
},
{
"name": "Native CLI - Components - Syntax",
"match": "^cli/components/syntax",
"destination": "/design/native/cli/components#syntax"
},
{
"name": "Native CLI - Components - Prompts",
"match": "^cli/components/prompts",
"destination": "/design/native/cli/components#prompts"
},
{
"name": "Native CLI - Components - State",
"match": "^cli/components/state",
"destination": "/design/native/cli/components#state"
},
{
"name": "Native CLI - Components - Progress indicators",
"match": "^cli/components/progress",
"destination": "/design/native/cli/components#progress-indicators"
},
{
"name": "Native CLI - Components - Headers",
"match": "^cli/components/headers",
"destination": "/design/native/cli/components#headers"
},
{
"name": "Native CLI - Components - Prompts",
"match": "^cli/components/lists",
"destination": "/design/native/cli/components#lists"
},
{
"name": "Native CLI - Components - Detail views",
"match": "^cli/components/detail",
"destination": "/design/native/cli/components#detail-views"
},
{
"name": "Native CLI - Components - Empty states",
"match": "^cli/components/empty",
"destination": "/design/native/cli/components#empty-states"
},
{
"name": "Native CLI - Components - Help pages",
"match": "^cli/components/help",
"destination": "/design/native/cli/components#help-pages"
},
{
"name": "Native Mobile",
"match": "^mobile$",
"destination": "/design/native/mobile"
},
{
"name": "Native Mobile - Platforms",
"match": "^mobile/platforms",
"destination": "/design/native/mobile/platforms"
},
{
"name": "Native Mobile - Platforms - iOS and iPadOS",
"match": "^mobile/platforms/ios",
"destination": "/design/native/mobile/platforms#ios-and-ipados"
},
{
"name": "Native Mobile - Platforms - Android",
"match": "^mobile/platforms/android",
"destination": "/design/native/mobile/platforms#android"
},
{
"name": "Native Mobile - Foundations",
"match": "^mobile/foundations",
"destination": "/design/native/mobile/foundations"
},
{
"name": "Native Mobile - Foundations - Spacing and layout",
"match": "^mobile/foundations/spacing-layout",
"destination": "/design/native/mobile/foundations#spacing-and-layout"
},
{
"name": "Native Mobile - Foundations - Color",
"match": "^mobile/foundations/iconography",
"destination": "/design/native/mobile/foundations#iconography"
},
{
"name": "Native Mobile - Foundations - Typography",
"match": "^mobile/foundations/typography",
"destination": "/design/native/mobile/foundations#typography"
}
],
"rewrites": [
Expand Down

0 comments on commit 3a68f13

Please sign in to comment.