File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,15 @@ const config: Config = {
7070 } ;
7171 } ,
7272 ] ,
73-
73+ themes : [
74+ [
75+ require . resolve ( "@easyops-cn/docusaurus-search-local" ) ,
76+ /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions } */
77+ ( {
78+ hashed : true ,
79+ } ) ,
80+ ] ,
81+ ] ,
7482 presets : [
7583 [
7684 "classic" ,
@@ -133,12 +141,6 @@ const config: Config = {
133141 theme : prismThemes . github ,
134142 darkTheme : prismThemes . dracula ,
135143 } ,
136- algolia : {
137- appId : "JTW6KZXFD2" ,
138- apiKey : process . env . ALGOLIA_API_KEY ,
139- indexName : "codemod-kit" ,
140- insights : true ,
141- } ,
142144 } satisfies Preset . ThemeConfig ,
143145} ;
144146
Original file line number Diff line number Diff line change 1717 "dependencies" : {
1818 "@docusaurus/core" : " 3.7.0" ,
1919 "@docusaurus/preset-classic" : " 3.7.0" ,
20+ "@easyops-cn/docusaurus-search-local" : " ^0.49.2" ,
2021 "@mdx-js/react" : " ^3.0.0" ,
2122 "@monaco-editor/react" : " ^4.7.0" ,
2223 "@rjsf/antd" : " ^5.24.10" ,
You can’t perform that action at this time.
0 commit comments