Skip to content

Commit

Permalink
Добавлен поиск
Browse files Browse the repository at this point in the history
  • Loading branch information
leobrn committed Feb 24, 2024
1 parent 4992c2b commit 2839445
Show file tree
Hide file tree
Showing 3 changed files with 378 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ const config = {
],
],

themes: [
[
require.resolve("@easyops-cn/docusaurus-search-local"),
({
hashed: true,
indexBlog:false
}),
],
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
Expand Down Expand Up @@ -128,7 +138,7 @@ const config = {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
}),
})
};

export default config;
Loading

0 comments on commit 2839445

Please sign in to comment.