1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-13 18:00:58 +08:00

5.20 fix env

This commit is contained in:
mmdapl
2022-04-20 09:31:01 +08:00
parent 9e4d8e9d9f
commit 9d7fa06cf4
3 changed files with 80 additions and 82 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -4,7 +4,7 @@
* @Author: 【B站&公众号】Rong姐姐好可爱
* @Date: 2021-01-19 08:04:19
* @LastEditors: 【B站&公众号】Rong姐姐好可爱
* @LastEditTime: 2022-04-19 09:19:59
* @LastEditTime: 2022-04-20 09:30:22
*/
module.exports = {
title: "计算机应试全家桶",
@@ -18,7 +18,7 @@ module.exports = {
["link", { rel: "icon", href: "/fight_favicon.ico" }]
],
themeConfig: {
logo: "/favicon.ico",
logo: "/fight_favicon.ico",
darkMode: false, // 禁用夜色
navbar: require("./config/navbar"), // 注意这个关键字有所改变
sidebar: require("./config/sidebar"),
@@ -37,75 +37,75 @@ module.exports = {
search: true,
searchMaxSuggestions: 10,
},
plugins: [
// 全文搜索 参考配置https://github.com/vuepress/vuepress-next/blob/main/docs/.vuepress/config.ts
['@vuepress/docsearch',
{
apiKey: '<API_KEY>',
indexName: '<INDEX_NAME>',
locales: {
'/': {
placeholder: '搜索一下',
translations: {
button: {
buttonText: '搜索一下',
buttonAriaLabel: '搜索一下',
},
modal: {
searchBox: {
resetButtonTitle: '清除查询条件',
resetButtonAriaLabel: '清除查询条件',
cancelButtonText: '取消',
cancelButtonAriaLabel: '取消'
},
startScreen: {
recentSearchesTitle: '搜索历史',
noRecentSearchesText: '没有搜索历史',
saveRecentSearchButtonTitle: '保存至搜索历史',
removeRecentSearchButtonTitle: '从搜索历史中移除',
favoriteSearchesTitle: '收藏',
removeFavoriteSearchButtonTitle: '从收藏中移除',
},
errorScreen: {
titleText: '无法获取结果',
helpText: '你可能需要检查你的网络连接',
},
footer: {
selectText: '查询',
selectKeyAriaLabel: 'Enter key',
navigateText: '切换',
navigateUpKeyAriaLabel: 'Arrow up',
navigateDownKeyAriaLabel: 'Arrow down',
closeText: '关闭',
closeKeyAriaLabel: 'Escape key',
searchByText: '技术支持',
},
noResultsScreen: {
noResultsText: '无法找到相关结果',
suggestedQueryText: '你可以尝试查询',
openIssueText: '你认为该查询应该有结果?',
openIssueLinkText: '点击反馈',
},
},
}
}
}
}],
// other plugins
// [
// // 本地全文搜索
// '@vuepress/plugin-search',
// {
// locales: {
// '/': {
// placeholder: '搜索',
// },
// '/zh/': {
// placeholder: '搜索',
// },
// },
// maxSuggestions: 10 // 显示最大搜索
// },
// ],
]
// plugins: [
// // 全文搜索 参考配置https://github.com/vuepress/vuepress-next/blob/main/docs/.vuepress/config.ts
// ['@vuepress/docsearch',
// {
// apiKey: '<API_KEY>',
// indexName: '<INDEX_NAME>',
// locales: {
// '/': {
// placeholder: '搜索一下',
// translations: {
// button: {
// buttonText: '搜索一下',
// buttonAriaLabel: '搜索一下',
// },
// modal: {
// searchBox: {
// resetButtonTitle: '清除查询条件',
// resetButtonAriaLabel: '清除查询条件',
// cancelButtonText: '取消',
// cancelButtonAriaLabel: '取消'
// },
// startScreen: {
// recentSearchesTitle: '搜索历史',
// noRecentSearchesText: '没有搜索历史',
// saveRecentSearchButtonTitle: '保存至搜索历史',
// removeRecentSearchButtonTitle: '从搜索历史中移除',
// favoriteSearchesTitle: '收藏',
// removeFavoriteSearchButtonTitle: '从收藏中移除',
// },
// errorScreen: {
// titleText: '无法获取结果',
// helpText: '你可能需要检查你的网络连接',
// },
// footer: {
// selectText: '查询',
// selectKeyAriaLabel: 'Enter key',
// navigateText: '切换',
// navigateUpKeyAriaLabel: 'Arrow up',
// navigateDownKeyAriaLabel: 'Arrow down',
// closeText: '关闭',
// closeKeyAriaLabel: 'Escape key',
// searchByText: '技术支持',
// },
// noResultsScreen: {
// noResultsText: '无法找到相关结果',
// suggestedQueryText: '你可以尝试查询',
// openIssueText: '你认为该查询应该有结果?',
// openIssueLinkText: '点击反馈',
// },
// },
// }
// }
// }
// }],
// // other plugins
// // [
// // // 本地全文搜索
// // '@vuepress/plugin-search',
// // {
// // locales: {
// // '/': {
// // placeholder: '搜索',
// // },
// // '/zh/': {
// // placeholder: '搜索',
// // },
// // },
// // maxSuggestions: 10 // 显示最大搜索
// // },
// // ],
// ]
};

View File

@@ -1,17 +1,15 @@
{
"name": "408CSFamily",
"version": "Beta0.0.1",
"description": "一本有趣的JavaScript合集",
"keywords": [],
"author": "Feng L.H.",
"license": "MIT",
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "vuepress dev docs",
"build": "vuepress build docs"
},
"author": "",
"license": "ISC",
"devDependencies": {
"@vuepress/plugin-docsearch": "^2.0.0-beta.38",
"@vuepress/plugin-search": "^2.0.0-beta.38",
"vuepress": "^2.0.0-beta.39"
}
}
}