Authored by wangtao

监控在线文档

.DS_Store
node_modules/
dist/
../.idea/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
yarn.lock
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
... ...
## 文档
文档基于vue-press实现,运行步骤:
1. npm install
2. npm run docs:dev
3. http://localhost:8080
4. npm run docs:build
... ...
module.exports = {
base: '/monitor/',
title: 'A-View-5',
description: '监控A-View-5说明',
dest: 'dist',
lastUpdated: 'Last Updated',
theme: '',
themeConfig: {
logo: '/logo.png',
smoothScroll: true,
sidebarDepth: 2,
nav: [
{text: '首页', link: '/'},
{text: '5.2.0', link: '/version520/'},
{text: '设计器', link: 'http://192.168.0.75:6677/#/login'},
{text: '报表设计', link: 'http://192.168.0.75:8086/'}
],
sidebar: {
'/version520/': [
{
title: '版本升级',
collapsable: false,
children: [
{title: '版本说明', path: '/version520/'},
{title: '发布', path: '/version520/20220617'},
]
}
]
}
},
plugins: [
['@vuepress/back-to-top', true],
],
configureWebpack: {
resolve: {
alias: {
'@': '/.vuepress/public'
}
}
}
}
... ...
// placeholder for test, dont't remove it.
//.content {
// font-size 30px;
//}
pre.vue-container
border-left-width: .5rem;
border-left-style: solid;
border-color: #42b983;
border-radius: 0px;
& > code
font-size: 14px !important;
& > p
margin: -5px 0 -20px 0;
code
background-color: #42b983 !important;
padding: 3px 5px;
border-radius: 3px;
color #000
em
color #808080
font-weight light
\ No newline at end of file
... ...
---
home: true
heroImage: /logo.png
actionText: 快速开始 →
actionLink: /guide/
footer: Apache 2.0 Licensed | Copyright © 2021 Anji-Plus Report All Rights Reserved
---
<div style="text-align: center">
</div>
<div class="features">
<div class="feature">
<h2>技术先进</h2>
<p>使用最流行的技术SpringBoot、Vue、Element。</p>
</div>
<div class="feature">
<h2>丰富组件</h2>
<p>是一个包含前后端代码实现,同时支持动态扩展数据源.</p>
</div>
<div class="feature">
<h2>功能完善</h2>
<p>支持多数据源,多数据集,丰富的大屏组件实现拖拽生成大屏</p>
</div>
</div>
... ...
&emsp; &emsp; 监控版本升级记录<br>
.
├─ README.md
├─ foo
│ ├─ README.md
│ ├─ one.md
│ └─ two.md
└─ bar
├─ README.md
├─ three.md
└─ four.md
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
:tada: :100:
[[toc]]
::: tip
这是一个提示
:::
::: warning
这是一个警告
:::
::: danger
这是一个危险警告
:::
::: details
这是一个详情块,在 IE / Edge 中不生效
:::
::: danger STOP
危险区域,禁止通行
:::
::: details 点击查看代码
```js
console.log('你好,VuePress!')
```
:::
``` js
export default {
name: 'MyComponent',
// ...
}
```
``` html
<ul>
<li
v-for="todo in todos"
:key="todo.id"
>
{{ todo.text }}
</li>
</ul>
```
``` js{1,4,6-7}
export default { // Highlighted
data () {
return {
msg: `Highlighted!
This line isn't highlighted,
but this and the next 2 are.`,
motd: 'VuePress is awesome',
lorem: 'ipsum',
}
}
}
```
... ...
&emsp; &emsp; <b>2022-6-17版本5.2.0版本发布</b><br>
... ...
&emsp; &emsp; 监控版本升级记录<br>
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
:tada: :100:
[[toc]]
::: tip
这是一个提示
:::
::: warning
这是一个警告
:::
::: danger
这是一个危险警告
:::
::: details
这是一个详情块,在 IE / Edge 中不生效
:::
::: danger STOP
危险区域,禁止通行
:::
::: details 点击查看代码
```js
console.log('你好,VuePress!')
```
:::
``` js
export default {
name: 'MyComponent',
// ...
}
```
``` html
<ul>
<li
v-for="todo in todos"
:key="todo.id"
>
{{ todo.text }}
</li>
</ul>
```
``` js{1,4,6-7}
export default { // Highlighted
data () {
return {
msg: `Highlighted!
This line isn't highlighted,
but this and the next 2 are.`,
motd: 'VuePress is awesome',
lorem: 'ipsum',
}
}
}
```
... ...
{
"name": "doc",
"version": "1.0.0",
"description": "监控在线文档",
"devDependencies": {
"vuepress": "^1.8.2"
},
"keywords": [
"监控在线文档",
"在线文档:https://vuepress.vuejs.org/zh/guide/"
],
"author": "mongitor team",
"license": "",
"scripts": {
"docs:dev": "vuepress dev docs",
"docs:build": "vuepress build docs"
}
}
... ...