Skip to content

Commit

Permalink
(chore) Add Redirects on Docs Landing Page
Browse files Browse the repository at this point in the history
Signed-off-by: Progyan Bhattacharya <[email protected]>
  • Loading branch information
0xTheProDev committed Mar 16, 2024
1 parent 0531099 commit 1b06d1f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineConfig({
compressHTML: true,
integrations: [
mdx({
syntaxHighlight: 'shiki',
syntaxHighlight: "shiki",
shikiConfig: { theme: 'github-dark-dimmed' },
gfm: true,
}),
Expand All @@ -24,4 +24,7 @@ export default defineConfig({
prefetchAll: true,
defaultStrategy: 'viewport',
},
redirects: {
"/docs": "/docs/getting-started"
},
});
3 changes: 1 addition & 2 deletions src/config/nav-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ export const navMenuConfig: NavMenuConfig = {
},
{
title: "Concepts",
href: "/docs/database-basics",
href: "/docs/basics-of-database",
description: "Know what's going behind the scenes.",
disabled: true,
},
],
},
Expand Down

0 comments on commit 1b06d1f

Please sign in to comment.