From c09f7aa707ff6a822bb231911b3e31776b3ecb18 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Wed, 23 Dec 2020 10:30:13 +1100 Subject: [PATCH] Cleaning up docs --- README.md | 2 +- ...r and Aliases Operators.md => Anchor and Alias Operators.md} | 0 ...r and Aliases Operators.md => Anchor and Alias Operators.md} | 0 pkg/yqlib/operator_anchors_aliases_test.go | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename pkg/yqlib/doc/{Anchor and Aliases Operators.md => Anchor and Alias Operators.md} (100%) rename pkg/yqlib/doc/headers/{Anchor and Aliases Operators.md => Anchor and Alias Operators.md} (100%) diff --git a/README.md b/README.md index 5bc6ab74..0da15653 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ Supported by @rmescandon (https://launchpad.net/~rmescandon/+archive/ubuntu/yq) - Colorized yaml output - [Deeply traverse yaml](https://mikefarah.gitbook.io/yq/v/v4.x/traverse) - [Sort yaml by keys](https://mikefarah.gitbook.io/yq/v/v4.x/sort-keys) -- Manipulate yaml [comments](https://app.gitbook.com/@mikefarah/s/yq/v/v4.x/comment-operators), [styling](https://app.gitbook.com/@mikefarah/s/yq/v/v4.x/style), [tags](https://app.gitbook.com/@mikefarah/s/yq/v/v4.x/tag) and [anchors](https://app.gitbook.com/@mikefarah/s/yq/v/v4.x/explode). +- Manipulate yaml [comments](https://app.gitbook.com/@mikefarah/s/yq/v/v4.x/comment-operators), [styling](https://app.gitbook.com/@mikefarah/s/yq/v/v4.x/style), [tags](https://app.gitbook.com/@mikefarah/s/yq/v/v4.x/tag) and [anchors and aliases](https://app.gitbook.com/@mikefarah/s/yq/v/v4.x/anchor-and-alias-operators). - [Update yaml inplace](https://mikefarah.gitbook.io/yq/v/v4.x/commands/evaluate#flags) - [Complex expressions to select and update](https://mikefarah.gitbook.io/yq/v/v4.x/select#select-and-update-matching-values-in-map) - Keeps yaml formatting and comments when updating (though there are issues with whitespace) diff --git a/pkg/yqlib/doc/Anchor and Aliases Operators.md b/pkg/yqlib/doc/Anchor and Alias Operators.md similarity index 100% rename from pkg/yqlib/doc/Anchor and Aliases Operators.md rename to pkg/yqlib/doc/Anchor and Alias Operators.md diff --git a/pkg/yqlib/doc/headers/Anchor and Aliases Operators.md b/pkg/yqlib/doc/headers/Anchor and Alias Operators.md similarity index 100% rename from pkg/yqlib/doc/headers/Anchor and Aliases Operators.md rename to pkg/yqlib/doc/headers/Anchor and Alias Operators.md diff --git a/pkg/yqlib/operator_anchors_aliases_test.go b/pkg/yqlib/operator_anchors_aliases_test.go index 6174023b..7cbde50a 100644 --- a/pkg/yqlib/operator_anchors_aliases_test.go +++ b/pkg/yqlib/operator_anchors_aliases_test.go @@ -118,5 +118,5 @@ func TestAnchorAliaseOperatorScenarios(t *testing.T) { for _, tt := range anchorOperatorScenarios { testScenario(t, &tt) } - documentScenarios(t, "Anchor and Aliases Operators", anchorOperatorScenarios) + documentScenarios(t, "Anchor and Alias Operators", anchorOperatorScenarios) }