Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

🤖 Plandex → Update Docusaurus configuration to disable blog and serve documentation at root route

Dane Schneiderce79a91b1e46
diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts
index 4058eac5..70274d5c 100644
--- a/docs/docusaurus.config.ts
+++ b/docs/docusaurus.config.ts
@@ -35,18 +35,13 @@ const config: Config = {
{
docs: {
sidebarPath: './sidebars.ts',
+ routeBasePath: '/', // Serve the docs at the site's root
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
},
- blog: {
- showReadingTime: true,
- // Please change this to your repo.
- // Remove this to remove the "edit this page" links.
- editUrl:
- 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
- },
+ blog: false, // Disable the blog
theme: {
customCss: './src/css/custom.css',
},
@@ -68,9 +63,8 @@ const config: Config = {
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
- label: 'Tutorial',
+ label: 'Docs',
},
- {to: '/blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/facebook/docusaurus',
label: 'GitHub',
@@ -85,8 +79,8 @@ const config: Config = {
title: 'Docs',
items: [
{
- label: 'Tutorial',
- to: '/docs/intro',
+ label: 'Docs',
+ to: '/',
},
],
},
@@ -110,10 +104,6 @@ const config: Config = {
{
title: 'More',
items: [
- {
- label: 'Blog',
- to: '/blog',
- },
{
label: 'GitHub',
href: 'https://github.com/facebook/docusaurus',