OpenAuth.Net/docs/.vuepress/config.js

148 lines
4.1 KiB
JavaScript
Raw Normal View History

/*
* @Author: yubaolee <yubaolee@163.com> | ahfu~ <954478625@qq.com>
* @Date: 2023-08-12 10:48:24
* @LastEditTime: 2023-08-27 19:45:48
* @Description:
* @
* @Copyright (c) 2023 by yubaolee | ahfu~ , All Rights Reserved.
*/
2023-08-11 17:47:02 +08:00
module.exports = {
title: 'OpenAuth.Net',
description: '最好用的.net权限工作流框架,最好用的.net vue前后分离框架',
head: [
['link', {
rel: 'icon',
href: '/logo.png'
}]
],
extendMarkdown: (md) => {
md.set({
breaks: true
})
md.use(require('markdown-it-plantuml'))
},
themeConfig: {
lastUpdated: '最后更新时间', // string | boolean
nav: [{
text: '首页',
link: 'http://openauth.net.cn/',
target: '_blank'
},
{
text: '在线文档',
ariaLabel: 'Proj Menu',
items: [{
2023-08-24 21:26:55 +08:00
text: 'OpenAuth.Net(.Net Core/.Net 5/6/7..)',
2023-08-11 17:47:02 +08:00
link: '/core/',
target: '_blank'
},
{
text: 'OpenAuth.Pro(企业版)',
link: '/pro/',
target: '_blank'
},
{
text: '.Net 4.5版本文档',
link: '/net/',
target: '_blank'
},
],
},
{
text: '项目地址',
ariaLabel: 'Proj Menu',
items: [{
text: 'gitee',
link: 'https://gitee.com/dotnetchina/OpenAuth.Net',
2023-08-11 17:47:02 +08:00
target: '_blank'
},
{
text: 'github',
link: 'https://github.com/yubaolee/OpenAuth.Core',
target: '_blank'
},
],
},
{
text: '战略合作',
ariaLabel: 'Proj Menu',
items: [{
text: 'Variant Form - 可视化低代码表单',
link: 'https://www.vform666.com/',
target: '_blank'
}
],
},
],
sidebar: {
'/core/': [
['', '项目介绍'],
{
title: '后端开发', // 必要的
path: 'start', // 可选的, 标题的跳转链接,应为绝对路径且必须存在
sidebarDepth: 1, // 可选的, 默认值是 1
collapsable: false,
children: ['start', 'specialist', 'deploy', 'deployapi', 'devnew', 'multidbs', 'multitenant', 'unitwork','sqlsugar', 'entity', 'datavalidation', 'log', 'identity', 'job', 'cache', 'unittest'],
2023-08-11 17:47:02 +08:00
},
{
title: '权限控制', // 必要的
sidebarDepth: 1, // 可选的, 默认值是 1
collapsable: false,
children: ['apiauth', 'logininfo', 'dataprivilege', 'datapropertyrule'],
},
'form',
{
title: '工作流', // 必要的
sidebarDepth: 1, // 可选的, 默认值是 1
collapsable: false,
children: ['flowinstance', 'flowinstancestatus', 'thirdparty'],
},
{
title: '前端开发', // 必要的
sidebarDepth: 1, // 可选的, 默认值是 1
collapsable: false,
children: ['wwwarchitect'],
},
{
title: '更新日志', // 必要的
sidebarDepth: 1, // 可选的, 默认值是 1
collapsable: false,
children: ['changelog', 'routineupdate'],
},
'faq',
],
'/pro/': [
['', '项目介绍'],
'deploy',
'structure',
'devnew',
{
title: '基础开发', // 必要的
sidebarDepth: 1, // 可选的, 默认值是 1
collapsable: false,
children: ['router','openurl'],
},
'datapropertyrule',
{
title: '表单设计', // 必要的
sidebarDepth: 1, // 可选的, 默认值是 1
collapsable: false,
children: ['startform','dragform','dragformdetail'],
},
{
title: '工作流', // 必要的
sidebarDepth: 1, // 可选的, 默认值是 1
collapsable: false,
children: ['startflow','form'],
},
'components',
'faq',
],
'/net/': [
['', '项目介绍'], 'start', 'deploy', 'devnew'
],
},
},
}