blog/docs/.vuepress/config-1.js

61 lines
2.0 KiB
JavaScript

module.exports = {
title: 'AngesZhuの窝窝', // 设置网站标题
description: '做一些沉淀和分享',
dest: "dist",
base: '/',
locales: {
'/': {
lang: 'zh-CN'
}
},
head: [
['link', { rel: 'icon', href: '/favicon.ico' }],
['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }],
],
markdown: {
lineNumbers: true,
},
theme: 'reco',
themeConfig: {
nav: [
{text: '主页', link: '/', icon: 'reco-home'},
{text: '编程语言', link: '/code', icon: 'reco-date'},
{text: '自动化测试', link: '/auto', icon: 'reco-tag'},
{text: '测试开发', link: '/testdev', icon: 'reco-other'},
{text: '质量体系', link: '/quality', icon: 'reco-blog'},
{text: '关于', link: '/about', icon: 'reco-account'},
],
type: 'blog',
blogConfig: {
socialLinks: [
{ icon: 'reco-github', link: 'https://github.com/To2rk' },
{ icon: 'reco-wechat', link: 'https://conimi.com/files/images/Torrk_wechat.jpg' },
]
},
logo: '/logo.png',
authorAvatar: '/logo.png',
search: true,
searchMaxSuggestions: 10,
subSidebar: 'auto',
sidebarDepth: 4,
lastUpdated: '上次更新',
// 备案
record: '沪ICP备20012553号',
recordLink: 'https://beian.miit.gov.cn/',
// 项目开始时间,只填写年份
startYear: '2018',
author: 'AngesZhu',
// sidebar: {
// '/': [
// "/src", //指的是根目录的md文件 也就是 README.md 里面的内容
// "/srccode", //根目录创建 apiword.md文件
// "/srcauto",//根目录创建 api.md文件
// "/srctestdev", //根目录创建 error.md文件
// "/srcquality" //根目录创建 error.md文件
// ]
// },
// sidebarDepth: 2
}
}