Commit b92f9d4d authored by 叶飞's avatar 叶飞

init

parent 98dd3c0d
const path = require('path'); const path = require('path');
const nav = require('./config/nav/'); const nav = require('./config/nav/');
const sidebar = require('./config/sidebar/'); const sidebar = require('./config/sidebar/');
const configureWebpack=require('./config/webpack.config.js');
const resolvePath=(p)=>path.resolve(__dirname,p); const resolvePath=(p)=>path.resolve(__dirname,p);
module.exports = { module.exports = {
dest: resolvePath('../../dist'), dest: resolvePath('../../dist'),
base: '/iot/', base: '',
title: "物联网知识库", title: "物联网知识库",
description: '物联网知识点分享', description: '物联网知识点分享',
head: [ head: [
['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }] ['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }],
['link', {
rel: 'icon',
href: '/favicon.ico'
}],
], ],
theme: 'reco', theme: 'reco',
themeConfig:{ themeConfig:{
...@@ -19,21 +24,23 @@ module.exports = { ...@@ -19,21 +24,23 @@ module.exports = {
authorAvatar: '/vuepress/panda.png', //首页右侧头像 authorAvatar: '/vuepress/panda.png', //首页右侧头像
search: true, search: true,
searchMaxSuggestions: 10, searchMaxSuggestions: 10,
sidebarDepth: 2, sidebarDepth: 3,
noFoundPageByTencent: false,//关闭404腾讯公益 noFoundPageByTencent: false,//关闭404腾讯公益
lastUpdated: 'Last Updated', lastUpdated: true,// 最后更新时间
lastUpdated: '最后更新时间', // string | boolean
repo: 'https://g.civnet.cn:8443/doc/IoTDoc',//git地址 repo: 'https://g.civnet.cn:8443/doc/IoTDoc',//git地址
repoLabel: '查看源码', repoLabel: '查看源码',
docsBranch: 'master', // 默认是 false, 设置为 true 来启用 docsBranch: 'master', // 默认是 false, 设置为 true 来启用
docsDir: 'docs',// 如果你的文档不在仓库的根部
editLinks: true, editLinks: true,
editLinkText: '帮助我们改善此页面!', editLinkText: '在 GitHub 上编辑此页!',
//评论 //评论
valineConfig: { valineConfig: {
appId: 'xbT4pPXCWQju5T7GXC5fUFlF-gzGzoHsz', appId: 'xbT4pPXCWQju5T7GXC5fUFlF-gzGzoHsz',
appKey: 'bofA5chNQ60p37Ih9sMffSI0', appKey: 'bofA5chNQ60p37Ih9sMffSI0',
placeholder: '947371421@qq.com', placeholder: '请输入。。。',
notify: true, // 邮件提醒 notify: true, // 邮件提醒
verify: true, // 验证码 verify: false, // 验证码
recordIP: true recordIP: true
}, },
author: 'Jaasdsa',// 作者 author: 'Jaasdsa',// 作者
...@@ -45,5 +52,7 @@ module.exports = { ...@@ -45,5 +52,7 @@ module.exports = {
//插件配置 //插件配置
plugins: [ plugins: [
] ],
// webpack配置
configureWebpack
} }
\ No newline at end of file
...@@ -4,6 +4,7 @@ module.exports = [ ...@@ -4,6 +4,7 @@ module.exports = [
{ text: '边缘网关', link: '/views/gateway/', icon: 'reco-category' }, { text: '边缘网关', link: '/views/gateway/', icon: 'reco-category' },
{ {
text: 'PLC', text: 'PLC',
icon:'reco-tag',
items: [{ items: [{
text: 'Siemens', text: 'Siemens',
link: '/views/plc/siemens/' link: '/views/plc/siemens/'
......
module.exports={
resolve: {
alias: {
'@public': '../../.vuepress/public'
}
}
}
\ No newline at end of file
...@@ -4,7 +4,7 @@ heroImage: /vuepress/panda.png ...@@ -4,7 +4,7 @@ heroImage: /vuepress/panda.png
heroText: 物联网知识库 heroText: 物联网知识库
tagline: PandaIoTDoc tagline: PandaIoTDoc
actionText: 开启进阶之路 actionText: 开启进阶之路
actionLink: /gateway/ actionLink: /views/gateway/
features: features:
- title: Gateway - title: Gateway
details: 部署在网络边缘侧的网关,通过网络联接、协议转换等功能联接物理和数字世界,提供轻量化的联接管理、实时数据分析及应用管理功能。 details: 部署在网络边缘侧的网关,通过网络联接、协议转换等功能联接物理和数字世界,提供轻量化的联接管理、实时数据分析及应用管理功能。
......
# 这是网关主页 # 这是网关主页
\ No newline at end of file ![Image from alias](~@public/img/gateway/test.jpg)
## 这是网关主页
### 这是网关主页
[kepserver](https://g.civnet.cn:8443/doc/software/raw/master/kepserverex.rar)
[破解器](https://g.civnet.cn:8443/doc/software/raw/master/KEPServerEX-6.4.321.0%20%E7%88%86%E7%A0%B4(%E5%AE%8C%E7%BE%8E).rar)
[模拟器](https://g.civnet.cn:8443/doc/software/raw/master/ModbusPollSalveSN.rar)
[虚拟串口](https://g.civnet.cn:8443/doc/software/raw/master/virtualserialportdriver8.rar)
# 这是modbusRTU的页面 # 这是modbusRTU的页面
\ No newline at end of file ![一个图片](./test.jpg)
\ No newline at end of file
module.exports={
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment