From 36bfc92fc8e6bbdb92c46091b8db41d168ce9dae Mon Sep 17 00:00:00 2001 From: lonix1 <40320097+lonix1@users.noreply.github.com> Date: Mon, 28 Aug 2023 16:24:56 +0200 Subject: [PATCH] docs: yaml cheatsheet for advanced syntax (#2329) official spec linked at top of page is inaccessible for most readers (it's too dry and academic) so added famous cheatsheet (heavily promoted on StackOverflow) --- docs/docs/20-usage/35-advanced-yaml-syntax.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/docs/20-usage/35-advanced-yaml-syntax.md b/docs/docs/20-usage/35-advanced-yaml-syntax.md index b5ea914c9..8adf6ec56 100644 --- a/docs/docs/20-usage/35-advanced-yaml-syntax.md +++ b/docs/docs/20-usage/35-advanced-yaml-syntax.md @@ -88,3 +88,8 @@ steps: - echo echo from second step - <<: *post_cmds ``` + +## References + +- [Official specification](https://yaml.org/spec/1.2.2/#3222-anchors-and-aliases) +- [Cheatsheet](https://learnxinyminutes.com/docs/yaml)