Updated theme and search
This commit is contained in:
parent
b787ee018d
commit
52809d8021
|
@ -15,5 +15,9 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vuepress": "^1.5.3"
|
"vuepress": "^1.5.3"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"vuepress-plugin-flexsearch": "^0.1.0",
|
||||||
|
"vuepress-theme-default-prefers-color-scheme": "^2.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@ module.exports = {
|
||||||
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
|
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
|
||||||
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }]
|
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }]
|
||||||
],
|
],
|
||||||
|
theme: 'default-prefers-color-scheme',
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
repo: '',
|
repo: '',
|
||||||
editLinks: false,
|
editLinks: false,
|
||||||
|
@ -31,7 +32,7 @@ module.exports = {
|
||||||
sidebar: {
|
sidebar: {
|
||||||
'/users/': [
|
'/users/': [
|
||||||
{
|
{
|
||||||
title: 'Guide',
|
title: 'USer',
|
||||||
collapsable: false,
|
collapsable: false,
|
||||||
children: [
|
children: [
|
||||||
'',
|
'',
|
||||||
|
@ -44,5 +45,6 @@ module.exports = {
|
||||||
plugins: [
|
plugins: [
|
||||||
'@vuepress/plugin-back-to-top',
|
'@vuepress/plugin-back-to-top',
|
||||||
'@vuepress/plugin-medium-zoom',
|
'@vuepress/plugin-medium-zoom',
|
||||||
|
'flexsearch'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user