Skip to content

Commit

Permalink
fixed->issue:147 search bar missing, reason:themes:[ Array ] in confi…
Browse files Browse the repository at this point in the history
…g consisting of localsearch is over written by themes [Array] in extendedConfig (#151)

Signed-off-by: Rakesh Dhariwal <[email protected]>
  • Loading branch information
masterghost2002 authored Aug 21, 2023
1 parent 6f784ab commit b297fb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const config = {
],

themes: [
'@docusaurus/theme-mermaid',
[
"@easyops-cn/docusaurus-search-local",
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
Expand Down Expand Up @@ -218,8 +219,7 @@ const extendedConfig = {
...config,
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
}
};

module.exports = extendedConfig;

0 comments on commit b297fb4

Please sign in to comment.