Skip to content

Commit 1b06d1f

Browse files
committed
(chore) Add Redirects on Docs Landing Page
Signed-off-by: Progyan Bhattacharya <[email protected]>
1 parent 0531099 commit 1b06d1f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

astro.config.mjs

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineConfig({
1010
compressHTML: true,
1111
integrations: [
1212
mdx({
13-
syntaxHighlight: 'shiki',
13+
syntaxHighlight: "shiki",
1414
shikiConfig: { theme: 'github-dark-dimmed' },
1515
gfm: true,
1616
}),
@@ -24,4 +24,7 @@ export default defineConfig({
2424
prefetchAll: true,
2525
defaultStrategy: 'viewport',
2626
},
27+
redirects: {
28+
"/docs": "/docs/getting-started"
29+
},
2730
});

src/config/nav-menu.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ export const navMenuConfig: NavMenuConfig = {
1717
},
1818
{
1919
title: "Concepts",
20-
href: "/docs/database-basics",
20+
href: "/docs/basics-of-database",
2121
description: "Know what's going behind the scenes.",
22-
disabled: true,
2322
},
2423
],
2524
},

0 commit comments

Comments
 (0)