You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The indexPages option in Docusaurus does not seem to work as expected when trying to index static HTML pages (such as index.html). When setting indexPages: true, the static pages are not being indexed by the search system.
I create a project :
npx create-docusaurus@latest my-website classic --typescript
and then install the plugin:
themes: [
// ... Your other themes.
[
require.resolve("@easyops-cn/docusaurus-search-local"),
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
({
// ... Your options.
// hashed is recommended as long-term-cache of index file is possible.
hashed: true,
indexPages: true,
// For Docs using Chinese, The language is recommended to set to:
// // language: ["en", "zh"], //
}),
],
],
I expected to see the index.html indexed.
Am I wrong ?
Thanks
The text was updated successfully, but these errors were encountered:
The indexPages option in Docusaurus does not seem to work as expected when trying to index static HTML pages (such as index.html). When setting indexPages: true, the static pages are not being indexed by the search system.
I create a project :
npx create-docusaurus@latest my-website classic --typescript
and then install the plugin:
themes: [
// ... Your other themes.
[
require.resolve("@easyops-cn/docusaurus-search-local"),
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
({
// ... Your options.
//
hashed
is recommended as long-term-cache of index file is possible.hashed: true,
indexPages: true,
// For Docs using Chinese, The
language
is recommended to set to://
// language: ["en", "zh"], //
}),
],
],
I expected to see the index.html indexed.
Am I wrong ?
Thanks
The text was updated successfully, but these errors were encountered: