We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docusaurus.config:
themes: [ [ require.resolve("@easyops-cn/docusaurus-search-local"), /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */ { language: ["en"], hashed: true, indexDocs: true, indexPages: true, indexBlog: false, docsRouteBasePath: "/", searchContextByPaths: ["user-guide", "developer-guide", "admin-guide"], hideSearchBarWithNoSearchContext: true, }, ], ],
package.json "dependencies": { "@docusaurus/core": "3.0.1", "@docusaurus/preset-classic": "3.0.1", "@easyops-cn/docusaurus-search-local": "^0.38.1",
The text was updated successfully, but these errors were encountered:
feat(): customize search context labels
33787d5
closes #382
feat: customize search context labels #382
e8cc5ea
f7df7bb
@Elvehnn Try 0.39.0 which supports searchContextByPaths: [{ label: "Community", path: "community" }]
searchContextByPaths: [{ label: "Community", path: "community" }]
Sorry, something went wrong.
Great! Thanx a lot!
weareoutman and it would be great to be able to use these labels with i18n for the multi-language apps.
Try v0.40.0:
Successfully merging a pull request may close this issue.
docusaurus.config:
themes: [
[
require.resolve("@easyops-cn/docusaurus-search-local"),
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
{
language: ["en"],
hashed: true,
indexDocs: true,
indexPages: true,
indexBlog: false,
docsRouteBasePath: "/",
searchContextByPaths: ["user-guide", "developer-guide", "admin-guide"],
hideSearchBarWithNoSearchContext: true,
},
],
],
package.json
"dependencies": {
"@docusaurus/core": "3.0.1",
"@docusaurus/preset-classic": "3.0.1",
"@easyops-cn/docusaurus-search-local": "^0.38.1",
The text was updated successfully, but these errors were encountered: