mirror of
https://github.com/clearml/clearml-docs
synced 2025-06-26 18:17:44 +00:00
Upgrade docusaurus
This commit is contained in:
@@ -215,20 +215,27 @@ module.exports = {
|
||||
[
|
||||
require.resolve("@easyops-cn/docusaurus-search-local"),
|
||||
{
|
||||
// ... Your options.
|
||||
// `hashed` is recommended as long-term-cache of index file is possible.
|
||||
hashed: true,
|
||||
docsDir: ["docs"],
|
||||
docsRouteBasePath: ["/docs"],
|
||||
// blogDir: ["tutorials"],
|
||||
// blogRouteBasePath: ["/tutorials"],
|
||||
// For Docs using Chinese, The `language` is recommended to set to:
|
||||
// ```
|
||||
language: ["en"],
|
||||
// ```
|
||||
// When applying `zh` in language, please install `nodejieba` in your project.
|
||||
},
|
||||
],
|
||||
hashed: true,
|
||||
// whether to index docs pages
|
||||
indexDocs: true,
|
||||
// must start with "/" and correspond to the routeBasePath configured for the docs plugin
|
||||
// use "/" if you use docs-only-mode
|
||||
// (see https://v2.docusaurus.io/docs/2.0.0-alpha.70/docs-introduction#docs-only-mode)
|
||||
docsRouteBasePath: '/docs',
|
||||
searchResultLimits: 8,
|
||||
searchResultContextMaxLength: 50,
|
||||
|
||||
// whether to index blog pages
|
||||
indexBlog: false,
|
||||
//blogRouteBasePath: '/blog',
|
||||
|
||||
// whether to index static pages
|
||||
// /404.html is never indexed
|
||||
indexPages: false,
|
||||
|
||||
// language of your documentation, see next section
|
||||
language: "en",
|
||||
}],
|
||||
path.resolve(__dirname, 'src/zoom-plugin')
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user