编写文档

This commit is contained in:
lhc
2021-02-07 15:41:10 +08:00
parent 6f2985e47a
commit 4dd60a9218
16 changed files with 1003 additions and 24 deletions

View File

@@ -5,10 +5,9 @@ const themeConfig = require('./config/themeConfig.js');
module.exports = {
// theme: 'vdoing', // 使用依赖包主题
theme: require.resolve('../../theme-vdoing'), // 使用本地主题
title: "HCFrame",
description: '通用框架组件',
// base: '/', // 格式:'/<仓库名>/' 默认'/'
base: '/doc/', // 格式:'/<仓库名>/' 默认'/'
markdown: {
lineNumbers: true, // 代码行号
},

View File

@@ -55,30 +55,30 @@ module.exports = {
// name: 'Evan Xu',
// slogan: '前端界的小学生',
// },
social: {
// 社交图标,显示于博主信息栏和页脚栏
// iconfontCssFile: '//at.alicdn.com/t/font_1678482_u4nrnp8xp6g.css', // 可选阿里图标库在线css文件地址对于主题没有的图标可自由添加
icons: [
{
iconClass: 'icon-youjian',
title: '发邮件',
link: 'mailto:894072666@qq.com',
},
{
iconClass: 'icon-github',
title: 'GitHub',
link: 'https://github.com/xugaoyi',
},
{
iconClass: 'icon-erji',
title: '听音乐',
link: 'https://music.163.com/#/playlist?id=755597173',
},
],
},
// social: {
// // 社交图标,显示于博主信息栏和页脚栏
// // iconfontCssFile: '//at.alicdn.com/t/font_1678482_u4nrnp8xp6g.css', // 可选阿里图标库在线css文件地址对于主题没有的图标可自由添加
// icons: [
// {
// iconClass: 'icon-youjian',
// title: '发邮件',
// link: 'mailto:894072666@qq.com',
// },
// {
// iconClass: 'icon-github',
// title: 'GitHub',
// link: 'https://github.com/xugaoyi',
// },
// {
// iconClass: 'icon-erji',
// title: '听音乐',
// link: 'https://music.163.com/#/playlist?id=755597173',
// },
// ],
// },
footer: {
// 页脚信息
createYear: 2019, // 博客创建年份
createYear: 2021, // 博客创建年份
copyrightInfo:
'Haocheng Liu | MIT License</a>', // 博客版权信息支持a标签
},

View File

@@ -39,4 +39,22 @@ module.exports = [
},
],
},
{
text: '后台',
link: '/java/', //目录页链接此处link是vdoing主题新增的配置项有二级导航时可以点击一级导航跳到目录页
items: [
// 说明以下所有link的值只是在相应md文件定义的永久链接不是什么特殊生成的编码。另外注意结尾是有斜杠的
{
text: '概要',
link: '/pages/b017cf/',
},{
text: '通用数据平台',
link: '/pages/ca1baf/',
}
],
},
{
text: '旧版本文档',
link: 'http://taixingyiji.tk:5677'
}
]