Skip to content

Commit c16f0f6

Browse files
committed
Update config
1 parent fbf989b commit c16f0f6

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
# Misc
1212
.DS_Store
13+
.env
1314
.env.local
1415
.env.development.local
1516
.env.test.local

docusaurus.config.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,19 @@ const config = {
1313
favicon: 'img/favicon.ico',
1414

1515
// Set the production url of your site here
16-
url: 'https://your-docusaurus-site.example.com',
16+
url: 'https://drawdb-io.github.io',
1717
// Set the /<baseUrl>/ pathname under which your site is served
1818
// For GitHub pages deployment, it is often '/<projectName>/'
1919
baseUrl: '/',
2020

2121
// GitHub pages deployment config.
2222
// If you aren't using GitHub pages, you don't need these.
2323
organizationName: 'drawdb-io', // Usually your GitHub org/user name.
24-
projectName: 'drawdb', // Usually your repo name.
24+
projectName: 'docs', // Usually your repo name.
2525

26-
onBrokenLinks: 'throw',
26+
trailingSlash: false,
27+
28+
onBrokenLinks: 'warn',
2729
onBrokenMarkdownLinks: 'warn',
2830

2931
// Even if you don't use internationalization, you can use this field to set
@@ -77,7 +79,8 @@ const config = {
7779
href: 'https://github.com/drawdb-io/drawdb',
7880
label: 'GitHub',
7981
position: 'right',
80-
}, {
82+
},
83+
{
8184
href: 'https://x.com/drawdb_',
8285
label: 'Twitter',
8386
position: 'right',
@@ -92,7 +95,7 @@ const config = {
9295
items: [
9396
{
9497
label: 'Docs',
95-
to: '/docs/intro',
98+
to: '/intro',
9699
},
97100
],
98101
},

0 commit comments

Comments
 (0)