Merge pull request #119 from IT4Change/dependabot/npm_and_yarn/vuepress-theme-hope-2.0.0-rc.10

build(other): bump vuepress-theme-hope from 2.0.0-rc.5 to 2.0.0-rc.10
This commit is contained in:
mahula 2023-12-30 11:18:06 +01:00 committed by GitHub
commit fcd42d9d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 558 additions and 4613 deletions

View File

@ -1,10 +1,8 @@
import { defineUserConfig } from 'vuepress'
import meta from './config/meta'
import theme from './config/theme'
import plugins from './config/plugins'
export default defineUserConfig({
...meta,
theme,
plugins,
})

View File

@ -1,18 +0,0 @@
import { searchProPlugin } from 'vuepress-plugin-search-pro'
export default [
searchProPlugin({
indexContent: true,
autoSuggestions: true,
customFields: [
{
getter: (page) => page.frontmatter.category,
formatter: "Category: $content",
},
{
getter: (page) => page.frontmatter.tag,
formatter: "Tag: $content",
},
],
}),
]

View File

@ -53,4 +53,20 @@ export default hopeTheme({
]
},
],
plugins: {
searchPro: {
indexContent: true,
autoSuggestions: true,
customFields: [
{
getter: (page) => page.frontmatter.category,
formatter: "Category: $content",
},
{
getter: (page) => page.frontmatter.tag,
formatter: "Tag: $content",
},
],
},
},
})

5131
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -36,7 +36,7 @@
"textlint-rule-period-in-list-item": "^1.0.1",
"textlint-rule-write-good": "^2.0.0",
"vuepress": "^2.0.0-rc.0",
"vuepress-plugin-search-pro": "^2.0.0-rc.5",
"vuepress-theme-hope": "^2.0.0-rc.5"
"vuepress-plugin-search-pro": "^2.0.0-rc.10",
"vuepress-theme-hope": "^2.0.0-rc.10"
}
}