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

Add redirects for /react sub-site #400

Merged
merged 4 commits into from
Aug 13, 2024
Merged
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
61 changes: 56 additions & 5 deletions redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,62 @@
"destination": "/guides/status"
},

{
"name": "Redirect react root",
"match": "^react/$",
"destination": "/"
},
{
"name": "React redirect getting started",
"match": "^react/getting-started",
"destination": "/guides/react"
},
{
"name": "React redirect theming",
"match": "^react/theming",
"destination": "/guides/react/theming"
},
{
"name": "React redirect theme reference",
"match": "^react/theme-reference",
"destination": "/guides/react/theme-reference"
},
{
"name": "React redirect linting",
"match": "^react/linting",
"destination": "/guides/react/linting"
},
{
"name": "React redirect system props",
"match": "^react/system-props",
"destination": "/guides/react/system-props"
},
{
"name": "React redirect core concepts",
"match": "^react/core-concepts",
"destination": "/guides/react/core-concepts"
},
{
"name": "React redirect philosophy",
"match": "^react/philosophy",
"destination": "/guides/react/philosophy"
},
{
"name": "React redirect overriding styles",
"match": "^react/overriding-styles",
"destination": "/guides/react/overriding-styles"
},
{
"name": "React redirect status",
"match": "^react/status",
"destination": "/guides/status"
},
{
"name": "React redirect useSafeTimeout hook",
"match": "^react/hooks/useSafeTimeout",
"destination": "/guides/react/hooks/use-safe-timeout"
},

{
"name": "React docs for ActionList",
"match": "^react/ActionList",
Expand Down Expand Up @@ -904,11 +960,6 @@
"match": "^prism/(.*)",
"destination": "https://primer.github.io/prism/{R:1}"
},
{
"name": "React reverse-proxy",
"match": "^react/(.*)",
"destination": "https://primer.github.io/react/{R:1}"
},
{
"name": "CSS reverse-proxy",
"match": "^css/storybook/(.*)",
Expand Down
Loading