Skip to content

Commit f552e64

Browse files
TheZokersdirix
authored andcommitted
Fix build warnings
1 parent 12dd17e commit f552e64

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docusaurus.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ module.exports = {
157157
id: 'faq',
158158
path: 'content/faq',
159159
routeBasePath: 'faq',
160+
sidebarPath: require.resolve('./src/sidebars/faq.js'),
160161
},
161162
],
162163
[
@@ -228,7 +229,9 @@ module.exports = {
228229
[
229230
'@easyops-cn/docusaurus-search-local',
230231
{
231-
hashed: true
232+
hashed: true,
233+
docsDir: "./content/docs",
234+
blogDir: "./content/news"
232235
},
233236
]
234237
],

src/sidebars/faq.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module.exports = {
2+
};

0 commit comments

Comments
 (0)