mirror of
https://github.com/clearml/clearml-docs
synced 2025-04-03 21:04:46 +00:00
Modify search bar (#554)
This commit is contained in:
parent
7cfafc0d64
commit
732edb7ea8
@ -219,14 +219,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
plugins: [
|
themes: [
|
||||||
// ... Your other plugins.
|
|
||||||
[
|
|
||||||
require.resolve('docusaurus-gtm-plugin'),
|
|
||||||
{
|
|
||||||
id: 'none', // GTM Container ID
|
|
||||||
}
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
require.resolve("@easyops-cn/docusaurus-search-local"),
|
require.resolve("@easyops-cn/docusaurus-search-local"),
|
||||||
{
|
{
|
||||||
@ -244,13 +237,23 @@ module.exports = {
|
|||||||
indexBlog: false,
|
indexBlog: false,
|
||||||
// blogRouteBasePath: '/blog',
|
// blogRouteBasePath: '/blog',
|
||||||
|
|
||||||
|
// files to ignore in search
|
||||||
// whether to index static pages
|
// whether to index static pages
|
||||||
// /404.html is never indexed
|
// /404.html is never indexed
|
||||||
indexPages: false,
|
indexPages: false,
|
||||||
|
ignoreFiles: [/docs\/release_notes\/.*/],
|
||||||
|
|
||||||
// language of your documentation, see next section
|
// language of your documentation, see next section
|
||||||
language: "en",
|
language: "en",
|
||||||
}],
|
}]],
|
||||||
|
plugins: [
|
||||||
|
// ... Your other plugins.
|
||||||
|
[
|
||||||
|
require.resolve('docusaurus-gtm-plugin'),
|
||||||
|
{
|
||||||
|
id: 'none', // GTM Container ID
|
||||||
|
}
|
||||||
|
],
|
||||||
path.resolve(__dirname, 'src/zoom-plugin')
|
path.resolve(__dirname, 'src/zoom-plugin')
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
11
package-lock.json
generated
11
package-lock.json
generated
@ -14,7 +14,7 @@
|
|||||||
"@docusaurus/plugin-google-analytics": "^2.3.1",
|
"@docusaurus/plugin-google-analytics": "^2.3.1",
|
||||||
"@docusaurus/plugin-google-gtag": "^2.3.1",
|
"@docusaurus/plugin-google-gtag": "^2.3.1",
|
||||||
"@docusaurus/preset-classic": "2.3.1",
|
"@docusaurus/preset-classic": "2.3.1",
|
||||||
"@easyops-cn/docusaurus-search-local": "^0.16.3",
|
"@easyops-cn/docusaurus-search-local": "^0.17.0",
|
||||||
"@mdx-js/react": "^1.6.22",
|
"@mdx-js/react": "^1.6.22",
|
||||||
"clsx": "^1.1.1",
|
"clsx": "^1.1.1",
|
||||||
"joi": "^17.4.0",
|
"joi": "^17.4.0",
|
||||||
@ -2519,8 +2519,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@easyops-cn/docusaurus-search-local": {
|
"node_modules/@easyops-cn/docusaurus-search-local": {
|
||||||
"version": "0.16.3",
|
"version": "0.17.0",
|
||||||
"license": "MIT",
|
"resolved": "https://registry.npmjs.org/@easyops-cn/docusaurus-search-local/-/docusaurus-search-local-0.17.0.tgz",
|
||||||
|
"integrity": "sha512-4Z8q6C7bNV9/VkEPXS5Qe8o8HOoLuJkts7CyYEKF3JwkzpeCVcFpGhiBaYy72u6+CD49Cle28zlRdBQw2jrEyA==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@docusaurus/utils": "^2.0.0-alpha.73",
|
"@docusaurus/utils": "^2.0.0-alpha.73",
|
||||||
"@docusaurus/utils-validation": "^2.0.0-alpha.73",
|
"@docusaurus/utils-validation": "^2.0.0-alpha.73",
|
||||||
@ -15957,7 +15958,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@easyops-cn/docusaurus-search-local": {
|
"@easyops-cn/docusaurus-search-local": {
|
||||||
"version": "0.16.3",
|
"version": "0.17.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@easyops-cn/docusaurus-search-local/-/docusaurus-search-local-0.17.0.tgz",
|
||||||
|
"integrity": "sha512-4Z8q6C7bNV9/VkEPXS5Qe8o8HOoLuJkts7CyYEKF3JwkzpeCVcFpGhiBaYy72u6+CD49Cle28zlRdBQw2jrEyA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@docusaurus/utils": "^2.0.0-alpha.73",
|
"@docusaurus/utils": "^2.0.0-alpha.73",
|
||||||
"@docusaurus/utils-validation": "^2.0.0-alpha.73",
|
"@docusaurus/utils-validation": "^2.0.0-alpha.73",
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"@docusaurus/plugin-google-analytics": "^2.3.1",
|
"@docusaurus/plugin-google-analytics": "^2.3.1",
|
||||||
"@docusaurus/plugin-google-gtag": "^2.3.1",
|
"@docusaurus/plugin-google-gtag": "^2.3.1",
|
||||||
"@docusaurus/preset-classic": "2.3.1",
|
"@docusaurus/preset-classic": "2.3.1",
|
||||||
"@easyops-cn/docusaurus-search-local": "^0.16.3",
|
"@easyops-cn/docusaurus-search-local": "^0.17.0",
|
||||||
"@mdx-js/react": "^1.6.22",
|
"@mdx-js/react": "^1.6.22",
|
||||||
"clsx": "^1.1.1",
|
"clsx": "^1.1.1",
|
||||||
"medium-zoom": "^1.0.6",
|
"medium-zoom": "^1.0.6",
|
||||||
|
Loading…
Reference in New Issue
Block a user