Skip to content

Commit b297fb4

Browse files
fixed->issue:147 search bar missing, reason:themes:[ Array ] in config consisting of localsearch is over written by themes [Array] in extendedConfig (#151)
Signed-off-by: Rakesh Dhariwal <rakeshdhariwal61@gmail.com>
1 parent 6f784ab commit b297fb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ const config = {
6060
],
6161

6262
themes: [
63+
'@docusaurus/theme-mermaid',
6364
[
6465
"@easyops-cn/docusaurus-search-local",
6566
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
@@ -218,8 +219,7 @@ const extendedConfig = {
218219
...config,
219220
markdown: {
220221
mermaid: true,
221-
},
222-
themes: ['@docusaurus/theme-mermaid'],
222+
}
223223
};
224224

225225
module.exports = extendedConfig;

0 commit comments

Comments
 (0)