Skip to content

Commit 1a30a76

Browse files
Adding redirects for /components child pages (#16381)
1 parent 8c5072e commit 1a30a76

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

docs-v2/next.config.mjs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,26 @@ export default withNextra({
336336
destination: "/components/contributing/:path*/",
337337
permanent: true,
338338
},
339+
{
340+
source: "/components/guidelines/",
341+
destination: "/components/contributing/guidelines/",
342+
permanent: true,
343+
},
344+
{
345+
source: "/components/actions-quickstart/",
346+
destination: "/components/contributing/actions-quickstart/",
347+
permanent: true,
348+
},
349+
{
350+
source: "/components/sources-quickstart/",
351+
destination: "/components/contributing/sources-quickstart/",
352+
permanent: true,
353+
},
354+
{
355+
source: "/components/typescript/",
356+
destination: "/components/contributing/typescript/",
357+
permanent: true,
358+
},
339359
{
340360
source: "/github-sync/",
341361
destination: "/workflows/git/",

pnpm-lock.yaml

Lines changed: 6 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)