Skip to content

Commit

Permalink
Do not attempt to index disabled blog
Browse files Browse the repository at this point in the history
  • Loading branch information
shakuzen committed Sep 16, 2023
1 parent 93a04c8 commit fa3de6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ const config = {

themes: [
[
require.resolve("@easyops-cn/docusaurus-search-local"),
require.resolve('@easyops-cn/docusaurus-search-local'),
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
({
// `hashed` is recommended as long-term-cache of index file is possible.
hashed: true,
language: ['en', 'ja'],
docsRouteBasePath: '/',
indexBlog: false, // blog is disabled
}),
],
],
Expand Down

0 comments on commit fa3de6f

Please sign in to comment.