This repository was archived by the owner on Aug 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +13
-5
lines changed
Expand file tree Collapse file tree 2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ const config: Config = {
4545 to : "/docs/get-started/signup" ,
4646 from : "/docs/get-started" ,
4747 } ,
48+ {
49+ to : "https://docs.coderabbit.ai/" ,
50+ from : "/docs/introduction" ,
51+ } ,
4852 ] ,
4953 } ,
5054 ] ,
@@ -67,7 +71,7 @@ const config: Config = {
6771 {
6872 docs : {
6973 sidebarPath : "./sidebars.ts" ,
70- routeBasePath : "/docs " ,
74+ routeBasePath : "/" ,
7175 breadcrumbs : true ,
7276 showLastUpdateTime : true ,
7377 } ,
@@ -142,14 +146,14 @@ const config: Config = {
142146 sidebarId : "docsSidebar" ,
143147 position : "left" ,
144148 label : "Docs" ,
145- to : "/docs/introduction " ,
149+ to : "/" ,
146150 } ,
147151 {
148152 // type: "docSidebar",
149153 // sidebarId: "blogsSidebar",
150154 position : "left" ,
151155 label : "Blog" ,
152- to : "/blog" ,
156+ href : "https://blog.coderabbit.ai /blog" ,
153157 } ,
154158 {
155159 href : "https://discord.gg/CVtemB5c" ,
Original file line number Diff line number Diff line change 1- import { Redirect } from "@docusaurus/router " ;
1+ import { useEffect } from "react " ;
22
33export default function Home ( ) : JSX . Element {
44 // const { siteConfig } = useDocusaurusContext();
5- return < Redirect to = "/docs/introduction" /> ;
5+ useEffect ( ( ) => {
6+ // Redirect to external URL when the component mounts
7+ window . location . href = "https://docs.coderabbit.ai" ;
8+ } , [ ] ) ;
9+ return < > </ > ;
610}
You can’t perform that action at this time.
0 commit comments