Files
zhamao-framework/docs/.vuepress/config.js

66 lines
1.9 KiB
JavaScript
Raw Normal View History

module.exports = {
2022-12-26 20:02:47 +08:00
title: '炸毛框架 v3',
2022-04-02 18:01:17 +08:00
description: '一个高性能聊天机器人 + Web 框架',
theme: 'antdocs',
markdown: {
lineNumbers: true
},
head: [
['link', { rel: 'icon', href: '/logo_trans.png' }],
['script', {}, `
var _hmt = _hmt || [];
(function () {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?f0f276cefa10aa31a20ae3815a50b795";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
`]
],
themeConfig: {
repo: 'zhamao-robot/zhamao-framework',
logo: '/logo_trans.png',
docsDir: 'docs',
editLinks: true,
lastUpdated: '上次更新',
activeHeaderLinks: false,
nav: [
{ text: '指南', link: '/guide/' },
2022-12-29 17:52:21 +08:00
{ text: '事件', link: '/event/' },
2022-12-26 20:02:47 +08:00
{ text: 'API 文档', link: '/doxy/', target: '_blank' },
{ text: '炸毛框架 v2', link: 'https://docs-v2.zhamao.xin/' }
],
sidebar: {
'/guide/': [
{
title: '指南',
collapsable: false,
sidebarDepth: 1,
children: [
'',
'installation',
2022-12-26 18:31:27 +08:00
'configuration',
'structure',
'get_started',
]
}
],
2022-12-29 17:52:21 +08:00
'/event/': [
{
title: '事件',
collapsable: false,
sidebarDepth: 1,
children: [
'',
'bot',
'http',
'middleware',
'framework',
'extend',
]
}
]
}
}
2022-04-02 18:01:17 +08:00
}