111 lines
3.2 KiB
JavaScript
111 lines
3.2 KiB
JavaScript
module.exports = {
|
||
title: "PHP程序员的FreeSWITCH开发文档",
|
||
description: "wandoubaba, 一个PHP程序员,在做FreeSWITCH相关应用的开发过程中,积累了一些技术文档",
|
||
dest: "dist",
|
||
base: "/",
|
||
plugins: ["@vuepress/back-to-top"],
|
||
head: [
|
||
// 百度统计代码
|
||
[
|
||
"script",
|
||
{},
|
||
`var _hmt = _hmt || [];
|
||
(function() {
|
||
var hm = document.createElement("script");
|
||
hm.src = "https://hm.baidu.com/hm.js?1eb7f71a234c2320b396cbc51c1f047e";
|
||
var s = document.getElementsByTagName("script")[0];
|
||
s.parentNode.insertBefore(hm, s);
|
||
})();`,
|
||
],
|
||
['meta', { name: 'baidu-site-verification', content: 'codeva-4lq3p2CAal' }],
|
||
['meta', { name: 'keywords', content: 'wandoubaba,豌豆爸爸,技术文档,PHP,Docker,FreeSWITCH,RabbitMQ,Webman,RTC,音视频通话,Nginx,DevOps' }]
|
||
],
|
||
themeConfig: {
|
||
lastUpdated: "上次更新",
|
||
displayAllHeaders: false,
|
||
footer: `© ${new Date().getFullYear()} wandoubaba | Powered by VuePress`,
|
||
nav: [
|
||
{ text: '首页', link: '/' },
|
||
{ text: 'FreeSWITCH', link: '/freeswitch/' },
|
||
{ text: 'PHP', link: '/php/' },
|
||
{ text: 'Docker', link: '/docker/' }
|
||
],
|
||
sidebar: {
|
||
'/freeswitch/': [
|
||
'../',
|
||
'',
|
||
{
|
||
title: '安装', // 必要的
|
||
collapsable: true, // 可选的, 默认值是 true,
|
||
sidebarDepth: 1, // 可选的, 默认值是 1
|
||
children: [
|
||
'/freeswitch/debian11',
|
||
'/freeswitch/mod_unimrcp',
|
||
'/freeswitch/debian-service',
|
||
'/freeswitch/ubuntu1604'
|
||
]
|
||
},
|
||
{
|
||
title: '安全', // 必要的
|
||
collapsable: true, // 可选的, 默认值是 true,
|
||
sidebarDepth: 1, // 可选的, 默认值是 1
|
||
children: [
|
||
'/freeswitch/fail2ban'
|
||
]
|
||
}
|
||
],
|
||
'/php/': [
|
||
'../',
|
||
'',
|
||
'docker-phpfpm74',
|
||
'docker81',
|
||
'nginx',
|
||
'openresty',
|
||
'php82'
|
||
],
|
||
'/docker/': [
|
||
'../',
|
||
'',
|
||
'command',
|
||
'vue'
|
||
],
|
||
'/': [
|
||
'',
|
||
{
|
||
title: 'FreeSWITCH精选', // 必要的
|
||
collapsable: false, // 可选的, 默认值是 true,
|
||
sidebarDepth: 1, // 可选的, 默认值是 1
|
||
children: [
|
||
'/freeswitch/debian11',
|
||
'/freeswitch/mod_unimrcp',
|
||
'/freeswitch/debian-service',
|
||
'/freeswitch/ubuntu1604',
|
||
'/freeswitch/fail2ban'
|
||
]
|
||
},
|
||
{
|
||
title: 'PHP精选', // 必要的
|
||
collapsable: false, // 可选的, 默认值是 true,
|
||
sidebarDepth: 1, // 可选的, 默认值是 1
|
||
children: [
|
||
`/php/docker-phpfpm74.md`,
|
||
'/php/docker81',
|
||
'/php/nginx',
|
||
'/php/openresty',
|
||
'/php/php82'
|
||
]
|
||
},
|
||
{
|
||
title: 'Docker精选', // 必要的
|
||
collapsable: false, // 可选的, 默认值是 true,
|
||
sidebarDepth: 1, // 可选的, 默认值是 1
|
||
children: [
|
||
'/docker/command',
|
||
'/docker/vue'
|
||
]
|
||
}
|
||
]
|
||
},
|
||
},
|
||
};
|