update frontpage, set navbar
This commit is contained in:
parent
257b2c64c6
commit
d4db833a4d
|
@ -28,33 +28,57 @@ module.exports = {
|
||||||
* ref:https://v1.vuepress.vuejs.org/theme/default-theme-config.html
|
* ref:https://v1.vuepress.vuejs.org/theme/default-theme-config.html
|
||||||
*/
|
*/
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
repo: '',
|
repo: 'https://github.com/xuos/xuos',
|
||||||
editLinks: false,
|
editLinks: false,
|
||||||
docsDir: '',
|
docsDir: '',
|
||||||
editLinkText: '',
|
editLinkText: '',
|
||||||
lastUpdated: false,
|
lastUpdated: true,
|
||||||
nav: [
|
nav: [
|
||||||
{
|
{
|
||||||
text: 'Guide',
|
text: '文档',
|
||||||
link: '/guide/',
|
items: [
|
||||||
|
{
|
||||||
|
text: '简介',
|
||||||
|
link: '/doc/intro.html',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'Config',
|
text: '内核',
|
||||||
link: '/config/'
|
link: '/doc/kernel.html',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'VuePress',
|
text: '驱动',
|
||||||
link: 'https://v1.vuepress.vuejs.org'
|
link: '/doc/driver.html',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '应用开发',
|
||||||
|
link: '/doc/appdev.html',
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '资源',
|
||||||
|
link: '/resource/',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '社区',
|
||||||
|
link: '/community/',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: '关于',
|
||||||
|
link: '/about/',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
sidebar: {
|
sidebar: {
|
||||||
'/guide/': [
|
'/doc/': [
|
||||||
{
|
{
|
||||||
title: 'Guide',
|
title: '文档',
|
||||||
collapsable: false,
|
collapsable: false,
|
||||||
children: [
|
children: [
|
||||||
'',
|
'',
|
||||||
'using-vue',
|
'intro',
|
||||||
|
'kernel',
|
||||||
|
'appdev',
|
||||||
|
'api',
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 150 KiB |
|
@ -1,16 +1,16 @@
|
||||||
---
|
---
|
||||||
home: true
|
home: true
|
||||||
heroImage: https://v1.vuepress.vuejs.org/hero.png
|
heroImage: images/hero.png
|
||||||
tagline: 面向工业场景,使能智能感联, 助力智能生产
|
tagline: 为工业而生,以智能为擎,循标准而行
|
||||||
actionText: 快速上手 →
|
actionText: 了解更多 →
|
||||||
actionLink: /guide/
|
actionLink: /guide/
|
||||||
features:
|
features:
|
||||||
- title: 实时感知智能识别
|
- title: 实时感知智能识别
|
||||||
details: 在工业生产等环境下, 通过节点级物联网设备, 实时感知并智能识别图像、声音、环境参数等各类数据, 使其数字化
|
details: 节点级物联网设备实时感知并智能识别工业环境下的图像、声音、环境等数据
|
||||||
- title: 灵活组网互联互通
|
- title: 灵活组网互联互通
|
||||||
details: 支持多种低延迟低能耗的无线通信协议, 可在复杂环境中灵活自组织网络, 传输和汇聚工业数据,实现网络化
|
details: 支持多种低延迟低能耗的无线通信协议, 在复杂环境中灵活自组网络
|
||||||
- title: 生态友好标准兼容
|
- title: 生态友好标准兼容
|
||||||
details: 兼容POSIX标准,支持主流硬件架构, 对Linux/RISC-V/ARM等生态圈的用户友好, 开发移植门槛低
|
details: 兼容POSIX标准,支持主流硬件架构, 对Linux/RISC-V/ARM等生态的用户友好
|
||||||
|
|
||||||
footer: ©2020 北京大学信息技术高等研究院泛在操作系统实验室
|
footer: ©2020 北京大学信息技术高等研究院泛在操作系统实验室
|
||||||
---
|
---
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
# 关于
|
|
@ -0,0 +1 @@
|
||||||
|
# 联系方式
|
|
@ -0,0 +1 @@
|
||||||
|
# License
|
|
@ -1,15 +0,0 @@
|
||||||
---
|
|
||||||
sidebar: auto
|
|
||||||
---
|
|
||||||
|
|
||||||
# Config
|
|
||||||
|
|
||||||
## foo
|
|
||||||
|
|
||||||
- Type: `string`
|
|
||||||
- Default: `/`
|
|
||||||
|
|
||||||
## bar
|
|
||||||
|
|
||||||
- Type: `string`
|
|
||||||
- Default: `/`
|
|
|
@ -0,0 +1 @@
|
||||||
|
# 文档中心
|
|
@ -0,0 +1 @@
|
||||||
|
# API
|
|
@ -0,0 +1 @@
|
||||||
|
# 应用开发
|
|
@ -0,0 +1 @@
|
||||||
|
# 驱动
|
|
@ -0,0 +1 @@
|
||||||
|
# 简介
|
|
@ -0,0 +1 @@
|
||||||
|
# 内核
|
|
@ -1,5 +0,0 @@
|
||||||
# Introduction
|
|
||||||
|
|
||||||
VuePress is composed of two parts: a [minimalistic static site generator](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/core) with a Vue-powered [theming system](https://v1.vuepress.vuejs.org/theme/) and [Plugin API](https://v1.vuepress.vuejs.org/plugin/), and a [default theme](https://v1.vuepress.vuejs.org/theme/default-theme-config.html) optimized for writing technical documentation. It was created to support the documentation needs of Vue's own sub projects.
|
|
||||||
|
|
||||||
Each page generated by VuePress has its own pre-rendered static HTML, providing great loading performance and is SEO-friendly. Once the page is loaded, however, Vue takes over the static content and turns it into a full Single-Page Application (SPA). Additional pages are fetched on demand as the user navigates around the site.
|
|
|
@ -1,9 +0,0 @@
|
||||||
# Using Vue in Markdown
|
|
||||||
|
|
||||||
## Browser API Access Restrictions
|
|
||||||
|
|
||||||
Because VuePress applications are server-rendered in Node.js when generating static builds, any Vue usage must conform to the [universal code requirements](https://ssr.vuejs.org/en/universal.html). In short, make sure to only access Browser / DOM APIs in `beforeMount` or `mounted` hooks.
|
|
||||||
|
|
||||||
If you are using or demoing components that are not SSR friendly (for example containing custom directives), you can wrap them inside the built-in `<ClientOnly>` component:
|
|
||||||
|
|
||||||
##
|
|
|
@ -4,15 +4,15 @@
|
||||||
"description": "使能智能化制造, 促进人机物融合",
|
"description": "使能智能化制造, 促进人机物融合",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"authors": {
|
"authors": {
|
||||||
"name": "",
|
"name": "XUOS Lab",
|
||||||
"email": ""
|
"email": "caodg@pku.edu.cn"
|
||||||
},
|
},
|
||||||
"repository": "",
|
"repository": "https://github.com/xuos/xuos-web",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vuepress dev docs",
|
"dev": "vuepress dev docs",
|
||||||
"build": "vuepress build docs"
|
"build": "vuepress build docs"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "Mulan",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"vuepress": "^1.3.1",
|
"vuepress": "^1.3.1",
|
||||||
"@vuepress/plugin-back-to-top": "^1.3.1",
|
"@vuepress/plugin-back-to-top": "^1.3.1",
|
||||||
|
|
Loading…
Reference in New Issue