File tree Expand file tree Collapse file tree 3 files changed +1475
-2040
lines changed Expand file tree Collapse file tree 3 files changed +1475
-2040
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,21 @@ const config = {
123
123
darkTheme : darkCodeTheme ,
124
124
} ,
125
125
} ) ,
126
+ themes : [
127
+ [
128
+ require . resolve ( "@easyops-cn/docusaurus-search-local" ) ,
129
+ /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions } */
130
+ ( {
131
+ // ... Your options.
132
+ // `hashed` is recommended as long-term-cache of index file is possible.
133
+ hashed : true ,
134
+ // For Docs using Chinese, The `language` is recommended to set to:
135
+ // ```
136
+ // language: ["en", "zh"],
137
+ // ```
138
+ } ) ,
139
+ ] ,
140
+ ] ,
126
141
} ;
127
142
128
143
module . exports = config ;
Original file line number Diff line number Diff line change 16
16
"dependencies" : {
17
17
"@docusaurus/core" : " ^3.0.1" ,
18
18
"@docusaurus/preset-classic" : " ^3.0.1" ,
19
+ "@easyops-cn/docusaurus-search-local" : " ^0.39.0" ,
19
20
"@mdx-js/react" : " ^3.0.0" ,
20
21
"clsx" : " ^1.2.1" ,
21
22
"prism-react-renderer" : " ^2.1.0" ,
You can’t perform that action at this time.
0 commit comments