Skip to content

Commit 1b06d1f

Browse files
committed
(chore) Add Redirects on Docs Landing Page
Signed-off-by: Progyan Bhattacharya <bprogyan@gmail.com>
1 parent 0531099 commit 1b06d1f

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

astro.config.mjs

Lines changed: 4 additions & 1 deletion
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

Lines changed: 1 addition & 2 deletions
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)