96 lines
2.1 KiB
JavaScript
Executable File
96 lines
2.1 KiB
JavaScript
Executable File
const { description } = require('../../package')
|
||
const { name } = require('../../package')
|
||
|
||
module.exports = {
|
||
/**
|
||
* Ref:https://v1.vuepress.vuejs.org/config/#title
|
||
*/
|
||
title: "XiUOS 未名工业物联操作系统",
|
||
/**
|
||
* Ref:https://v1.vuepress.vuejs.org/config/#description
|
||
*/
|
||
description: description,
|
||
|
||
/**
|
||
* Extra tags to be injected to the page HTML `<head>`
|
||
*
|
||
* ref:https://v1.vuepress.vuejs.org/config/#head
|
||
*/
|
||
head: [
|
||
['meta', { name: 'theme-color', content: '#3eaf7c' }],
|
||
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
|
||
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }]
|
||
],
|
||
|
||
/**
|
||
* Theme configuration, here is the default theme configuration for VuePress.
|
||
*
|
||
* ref:https://v1.vuepress.vuejs.org/theme/default-theme-config.html
|
||
*/
|
||
themeConfig: {
|
||
repo: 'https://github.com/xuos/xuos',
|
||
editLinks: false,
|
||
docsDir: '',
|
||
editLinkText: '',
|
||
lastUpdated: true,
|
||
nav: [
|
||
{
|
||
text: '文档',
|
||
items: [
|
||
{
|
||
text: '简介',
|
||
link: '/doc/intro.html',
|
||
},
|
||
{
|
||
text: '内核',
|
||
link: '/doc/kernel.html',
|
||
},
|
||
{
|
||
text: '驱动',
|
||
link: '/doc/driver.html',
|
||
},
|
||
{
|
||
text: '应用开发',
|
||
link: '/doc/appdev.html',
|
||
}
|
||
]
|
||
},
|
||
{
|
||
text: '资源',
|
||
link: '/resource/',
|
||
},
|
||
{
|
||
text: '社区',
|
||
link: '/community/',
|
||
},
|
||
{
|
||
text: '关于',
|
||
link: '/about/',
|
||
},
|
||
],
|
||
sidebar: {
|
||
'/doc/': [
|
||
{
|
||
title: '文档',
|
||
collapsable: false,
|
||
children: [
|
||
'',
|
||
'intro',
|
||
'kernel',
|
||
'appdev',
|
||
'api',
|
||
]
|
||
}
|
||
],
|
||
}
|
||
},
|
||
|
||
/**
|
||
* Apply plugins,ref:https://v1.vuepress.vuejs.org/zh/plugin/
|
||
*/
|
||
plugins: [
|
||
'@vuepress/plugin-back-to-top',
|
||
'@vuepress/plugin-medium-zoom',
|
||
]
|
||
}
|