Skip to content

Commit 1f16b10

Browse files
committed
Update baseUrl in docusaurus.config.ts
1 parent d0e85db commit 1f16b10

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docusaurus.config.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { themes as prismThemes } from "prism-react-renderer";
44
import { EnumChangefreq } from "sitemap";
55

66
// const baseUrl = "/docs";
7-
// const baseUrl = "/blog";
87
const baseUrl = "/";
8+
// const baseUrl = "https://docs.coderabbit.ai/";
99

1010
const config: Config = {
1111
title: "CodeRabbit",
@@ -47,7 +47,11 @@ const config: Config = {
4747
},
4848
{
4949
to: "https://docs.coderabbit.ai/",
50-
from: "/",
50+
from: "/docs",
51+
},
52+
{
53+
to: "https://blog.coderabbit.ai/",
54+
from: "/blog",
5155
},
5256
],
5357
},
@@ -71,7 +75,7 @@ const config: Config = {
7175
{
7276
docs: {
7377
sidebarPath: "./sidebars.ts",
74-
routeBasePath: "/",
78+
routeBasePath: "/docs",
7579
breadcrumbs: true,
7680
showLastUpdateTime: true,
7781
},
@@ -146,7 +150,7 @@ const config: Config = {
146150
sidebarId: "docsSidebar",
147151
position: "left",
148152
label: "Docs",
149-
to: "/",
153+
href: baseUrl,
150154
},
151155
{
152156
// type: "docSidebar",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy