1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-11-29 23:45:43 +08:00

5.18 update

This commit is contained in:
mmdapl
2022-04-19 09:21:46 +08:00
parent 77e75dbdda
commit 9e4d8e9d9f
5 changed files with 103 additions and 8814 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -4,47 +4,108 @@
* @Author: 【B站&公众号】Rong姐姐好可爱
* @Date: 2021-01-19 08:04:19
* @LastEditors: 【B站&公众号】Rong姐姐好可爱
* @LastEditTime: 2022-04-09 00:23:18
* @LastEditTime: 2022-04-19 09:19:59
*/
module.exports = {
theme:"antdocs",
// theme:"vdoing", // 测试主题
title: "计算机应试全家桶",
description: "磨刀不误砍柴工,读完硕士再打工",
base: "/408CSFamily/",
port: 4200,
// head: [
// ["link",{ rel: "icon",href: "/assets/fight_favicon.ico" }]
// ],
head: [
["link",{ rel: "icon",href: "/assets/408_favicon.ico" }]
["link", { rel: "icon", href: "/fight_favicon.ico" }]
],
markdown: {
lineNumbers: true, // 显示行号
// extractHeaders:['h2','h3'],// 左侧标签级别
},
themeConfig: {
smoothScroll: true,
nav: require("./config/nav"),
logo: "/favicon.ico",
darkMode: false, // 禁用夜色
navbar: require("./config/navbar"), // 注意这个关键字有所改变
sidebar: require("./config/sidebar"),
lastUpdated: "最近更新",
repo: "https://github.com/mmdapl",
editLinks: false,
backToTop: true,
sidebarDepth: 1,
// sidebar: 'auto',// 自动生成侧栏
displayAllHeaders: false, // 默认值:false
searchMaxSuggestions: 10,// 搜索框显示的搜索结果数量
ads:{
style: 2,
// speed: 2000,
image: 'https://cdn.jsdelivr.net/gh/lir0115/images@main/qr_code/gongzhonghao.jpg',
text: '来公众号交个朋友吧~',
link: 'https://space.bilibili.com/350937042',
}
smoothScroll: true,
lastUpdated: true,
lastUpdatedText: "最近更新",
contributorsText: '贡献者',
notFound: ['not exist'],// 自定义404页面提示语,数组
backToHome: '返回首页', // 返回首页
repo: "https://github.com/mmdapl/JavaScriptCollection",
editLink: false,
// 默认为 "Edit this page"
// editLinkText: '帮助我们改善此页面!',
displayAllHeaders: true,// 默认值:false 显示所有页面的标题链接
search: true,
searchMaxSuggestions: 10,
},
// 插件
plugins: [
// 全文搜索
['@vuepress/search', {
searchMaxSuggestions: 10
}]
// 全文搜索 参考配置: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,49 +0,0 @@
/*
* @Description:
* @Version: Beta1.0
* @Author: 【B站&公众号】Rong姐姐好可爱
* @Date: 2021-01-19 08:04:19
* @LastEditors: 【B站&公众号】Rong姐姐好可爱
* @LastEditTime: 2022-04-13 09:20:00
*/
module.exports = [
// {
// text: "考研规划",
// link: "/DS1/"
// },
{
text:'首页',
link:'/'
},
{
text: "恶补算法",
link: "/CN/"
},
{
text: "数据结构",
link: "/DS/"
},
{
text: "操作系统",
link: "/OS/"
},
{
text: "计算机组成原理",
link: "/CCP/"
},
{
text: "计算机网络",
link: "/CN/"
},
{
text: "思维导图",
link: "/brans/"
},
{
text: "重要资料",
link: "/source/"
},
];

View File

@@ -1,22 +1,17 @@
{
"name": "templete",
"version": "1.1.1",
"description": "A VuePress project created by vuepress-creator.",
"main": "index.js",
"name": "408CSFamily",
"version": "Beta0.0.1",
"description": "一本有趣的JavaScript合集",
"keywords": [],
"author": "Feng L.H.",
"license": "MIT",
"scripts": {
"dev": "vuepress dev docs",
"build": "vuepress build docs"
},
"keywords": [],
"author": "Feng L.H.",
"license": "MIT",
"devDependencies": {
"vuepress": "^1.5.2",
"vuepress-theme-vdoing": "^1.10.3"
},
"dependencies": {
"core-js": "^2.6.11",
"vuepress-theme-antdocs": "^1.2.2"
},
"creator": ">=2.0.0"
}
"@vuepress/plugin-docsearch": "^2.0.0-beta.38",
"@vuepress/plugin-search": "^2.0.0-beta.38",
"vuepress": "^2.0.0-beta.39"
}
}

8718
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff