xtorcga
Version:
Xtor Compute Geometry Algorithm Libary 计算几何算法库
100 lines (97 loc) • 2.35 kB
JavaScript
module.exports = {
title: 'XtorCGA',
description: 'Just playing around',
head: [
['link', { rel: 'icon', href: './logo.png' }]
],
host: 'localhost',
// dest: './dist',
base: '/cga.js/', // 这是部署到github相关的配置 下面会讲
// base: '/', // 这是部署到github相关的配置 下面会讲
port: 8800,
locales: {
'/': {
lang: 'zh-CN',
title: 'cga.js',
description: '计算几何库(CGA)'
},
// '/EN/': {
// lang: 'en-US',
// title: 'XtorCGA',
// description: 'Vue large screen data display component library'
// }
},
themeConfig: {
locales: {
'/': {
selectText: '选择语言',
label: '简体中文',
nav: [
{
text: '指南与例子',
link: '/guide/'
},
{
text: '支持赞助',
link: '/sponsor/'
},
{
text: 'GitHub',
items: [
{
text: '项目源码仓库',
link: 'https://github.com/yszhao91/cga.js'
},
{
text: '国内镜像',
link: 'https://gitee.com/Dcgraph/cga.js'
}
]
}
],
sidebar: {
'/guide/': [
'',
'distPointAll',
'distLineAll',
'distRayAll',
'distSegmentAll',
'常用'
],
'/demo/': [
'',
// "distPointAll"
]
}
},
'/EN/': {
selectText: 'Languages',
label: 'English',
nav: [
{
text: 'Guide',
link: '/guide/'
},
{
text: 'GitHub',
items: [
{
text: '项目源码仓库',
link: 'https://github.com/jiaming743/XtorCGA'
},
{
text: '文档及Demo源码仓库',
link: 'https://github.com/jiaming743/XtorCGA.jiaminghi.com'
}
]
}
],
sidebar: {
'/EN/guide/': [
''
]
}
}
}
}
}