Skip to content

Commit a420528

Browse files
committed
Update configs
1 parent 7feb64b commit a420528

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

docusaurus.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ const config = {
3131
routeBasePath: '/',
3232
sidebarPath: require.resolve('./sidebars.js'),
3333
// Please change this to your repo.
34-
editUrl: 'https://github.com/chkware/chkware.github.io',
34+
editUrl: 'https://github.com/chkware/chkware.github.io/tree/main',
3535
},
3636
blog: {
3737
showReadingTime: true,
3838
// Please change this to your repo.
3939
editUrl:
40-
'https://github.com/chkware/chkware.github.io',
40+
'https://github.com/chkware/chkware.github.io/tree/main',
4141
},
4242
theme: {
4343
customCss: require.resolve('./src/css/custom.css'),
@@ -129,8 +129,9 @@ const config = {
129129
[
130130
require.resolve("@easyops-cn/docusaurus-search-local"),
131131
{
132+
indexPages: true,
132133
hashed: true,
133-
docsRouteBasePath: '/'
134+
highlightSearchTermsOnTargetPage: true,
134135
},
135136
],
136137
],

0 commit comments

Comments
 (0)