Skip to content

Commit db4f962

Browse files
Jake MahonJake Mahon
authored andcommitted
Add docusaurus configuration for KB articles
1 parent 72c003f commit db4f962

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docusaurus.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ const config = {
101101
pluginName,
102102
{
103103
...config,
104-
sidebarPath: require.resolve(config.sidebarPath),
104+
sidebarPath: config.sidebarPath && typeof config.sidebarPath === 'string'
105+
? require.resolve(config.sidebarPath)
106+
: config.sidebarPath,
105107
},
106108
]),
107109
],

0 commit comments

Comments
 (0)