From 750a00ec35525603a1b68aeff1c4135859fca97c Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Tue, 13 Apr 2021 13:59:26 +1000 Subject: [PATCH] Added "expand" to explode docs for searchability --- pkg/yqlib/doc/Anchor and Alias Operators.md | 2 +- pkg/yqlib/doc/headers/Anchor and Alias Operators.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/yqlib/doc/Anchor and Alias Operators.md b/pkg/yqlib/doc/Anchor and Alias Operators.md index ea04f11..e3682dc 100644 --- a/pkg/yqlib/doc/Anchor and Alias Operators.md +++ b/pkg/yqlib/doc/Anchor and Alias Operators.md @@ -1,4 +1,4 @@ -Use the `alias` and `anchor` operators to read and write yaml aliases and anchors. The `explode` operator normalises a yaml file (dereference aliases and remove anchor names). +Use the `alias` and `anchor` operators to read and write yaml aliases and anchors. The `explode` operator normalises a yaml file (dereference (or expands) aliases and remove anchor names). `yq` supports merge aliases (like `<<: *blah`) however this is no longer in the standard yaml spec (1.2) and so `yq` will automatically add the `!!merge` tag to these nodes as it is effectively a custom tag. diff --git a/pkg/yqlib/doc/headers/Anchor and Alias Operators.md b/pkg/yqlib/doc/headers/Anchor and Alias Operators.md index 1761134..cbc089e 100644 --- a/pkg/yqlib/doc/headers/Anchor and Alias Operators.md +++ b/pkg/yqlib/doc/headers/Anchor and Alias Operators.md @@ -1,4 +1,4 @@ -Use the `alias` and `anchor` operators to read and write yaml aliases and anchors. The `explode` operator normalises a yaml file (dereference aliases and remove anchor names). +Use the `alias` and `anchor` operators to read and write yaml aliases and anchors. The `explode` operator normalises a yaml file (dereference (or expands) aliases and remove anchor names). `yq` supports merge aliases (like `<<: *blah`) however this is no longer in the standard yaml spec (1.2) and so `yq` will automatically add the `!!merge` tag to these nodes as it is effectively a custom tag.