Skip to content

Commit 142cb9a

Browse files
committed
Update Docusaurus config for Recode Hive site
Changed site URL, organization, and project names to reflect Recode Hive branding. Updated edit URLs for docs and blog to point to the correct GitHub repository. Set docs path and routeBasePath explicitly.
1 parent 88f2f88 commit 142cb9a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

docusaurus.config.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@ import rehypeKatex from "rehype-katex";
66

77
// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
88

9+
910
const config: Config = {
1011
title: "Recode Hive",
1112
tagline: "Dinosaurs are cool",
1213
favicon: "img/favicon.ico",
1314

1415

15-
url: "https://your-docusaurus-site.example.com",
16+
url: "https://recodehive.com",
1617
baseUrl: "/",
1718

18-
organizationName: "facebook",
19-
projectName: "docusaurus",
19+
organizationName: "recodehive",
20+
projectName: "recode-website",
2021

2122
onBrokenLinks: "throw",
2223
onBrokenMarkdownLinks: "warn",
@@ -49,9 +50,11 @@ const config: Config = {
4950
'classic',
5051
{
5152
docs: {
53+
path: "docs",
54+
routeBasePath: "docs",
5255
sidebarPath: require.resolve("./sidebars.ts"),
53-
editUrl:
54-
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
56+
editUrl: ({ docPath }) =>
57+
`https://github.com/recodehive/recode-website/tree/main/docs/${docPath}`,
5558
},
5659
blog: {
5760
showReadingTime: true,
@@ -60,7 +63,7 @@ const config: Config = {
6063
xslt: true,
6164
},
6265
editUrl:
63-
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
66+
"https://github.com/recodehive/recode-website/tree/main",
6467
onInlineTags: "warn",
6568
onInlineAuthors: "warn",
6669
onUntruncatedBlogPosts: "warn",

0 commit comments

Comments
 (0)