YAML
跳转到导航
跳转到搜索
易错的地方(实例)
列表和字典过于相似
update_on:
- github: fiji/fiji
- use_max_tag: true
字符串中的特殊字符
update_on:
- github: team-charls/charls
use_max_tag: true
include_regex: [^-]+
update_on:
- source: cmd
cmd: curl 'SOME-URL' -H 'authority: VALUE' ...
带进制的整数
ports:
- 13000:3000
- 13022:22
字符串被写作整数
python-version:
- 3.7
- 3.8
- 3.9
- 3.10
空字符串和 null 值混淆
以下例子中,预期值是空字符串,但可能被解析为 null / None:[5]
to_pattern :
外部链接
- YAML: probably not so great after all
- In YAML, how do I break a string over multiple lines? - Stack Overflow: YAML 的各种字符串语法
- cblp/yaml-sucks: YAML sucks.
- Chris's Wiki :: Some of my views on using YAML for human-written configuration files
- The yaml document from hell
- JSON ⊂ YAML?