feat: 全局配置

This commit is contained in:
liamjung 2022-01-08 15:55:42 +08:00
parent a6b2467e79
commit 3d1125b124
2 changed files with 21 additions and 0 deletions

View File

@ -54,6 +54,9 @@ module.exports = {
{
text: '如何使用',
children: [{
text: '全局配置',
link: '/guide/global',
}, {
text: '触发器',
children: [{
text: 'Webhook',

18
guide/global.md Normal file
View File

@ -0,0 +1,18 @@
# 全局配置
### 参数
具体查看[全局参数](vars#全局参数)
### 开关
语法:
```yaml
global:
enabled:
# 是否启用默认值为true表示启用
value: true | false
# 是否在页面可修改默认值为false表示只能通过DSL更新
mutable: true | false
```