Skip to content

Commit 360768f

Browse files
committed
docs: Fix docma app base path
1 parent bb38460 commit 360768f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/docs.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Docma.create()
1414
],
1515
dest: './docs',
1616
app: {
17+
base: 'https://unicorn-fail.github.io/node-cocoadialog/'
1718
title: `${pkg.name} (node.js)`,
1819
routing: 'query',
1920
entrance: 'content:guide'
@@ -37,17 +38,17 @@ Docma.create()
3738
navItems: [
3839
{
3940
label: 'Getting Started',
40-
href: './',
41+
href: '/',
4142
iconClass: 'ico-target4'
4243
},
4344
{
4445
label: 'API',
45-
href: './?api',
46+
href: '/?api',
4647
iconClass: 'ico-book'
4748
},
4849
{
4950
label: 'Examples',
50-
href: './?content=examples',
51+
href: '/?content=examples',
5152
iconClass: 'ico-mouse-pointer'
5253
},
5354
{

0 commit comments

Comments
 (0)