Skip to content

Commit 1ea398e

Browse files
committed
Set docs as home page
1 parent 7cb5ec2 commit 1ea398e

File tree

3 files changed

+3
-69
lines changed

3 files changed

+3
-69
lines changed

docusaurus.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const config: Config = {
4141
{
4242
docs: {
4343
sidebarPath: './sidebars.ts',
44+
routeBasePath: '/',
4445
},
4546

4647
blog: {
@@ -79,7 +80,7 @@ const config: Config = {
7980
type: 'docSidebar',
8081
sidebarId: 'tutorialSidebar',
8182
position: 'left',
82-
label: 'Tutorial',
83+
label: 'Docs',
8384
},
8485
{to: '/blog', label: 'Blog', position: 'left'},
8586
{
@@ -97,7 +98,7 @@ const config: Config = {
9798
items: [
9899
{
99100
label: 'Tutorial',
100-
to: '/docs/intro',
101+
to: '/intro',
101102
},
102103
],
103104
},

src/pages/index.module.css

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/pages/index.tsx

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)