From 019a9ffbeeee5dd5a4ea2bac5275246a04d800de Mon Sep 17 00:00:00 2001 From: itchyny Date: Tue, 6 Jun 2023 05:43:06 +0900 Subject: [PATCH] Improve docs of optional indexing syntax to make it clear (ref #2588) (#2604) * Revert "Typo in basic filters manual (#2588)" This reverts commit 908f5d54a7897bc31c85ddcb9737463c1df30faf. * Improve docs of optional indexing syntax to make it clear --- docs/content/manual/manual.yml | 4 ++-- docs/content/manual/v1.4/manual.yml | 4 ++-- docs/content/manual/v1.5/manual.yml | 4 ++-- docs/content/manual/v1.6/manual.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/content/manual/manual.yml b/docs/content/manual/manual.yml index a81cf758..ab2266b9 100644 --- a/docs/content/manual/manual.yml +++ b/docs/content/manual/manual.yml @@ -369,8 +369,8 @@ sections: - title: "Optional Object Identifier-Index: `.foo?`" body: | - Just like `.foo`, but does not output even an error when `.` - is not an array or an object. + Just like `.foo`, but does not output an error when `.` is not an + object. examples: - program: '.foo?' diff --git a/docs/content/manual/v1.4/manual.yml b/docs/content/manual/v1.4/manual.yml index ec1c4c12..87f314f1 100644 --- a/docs/content/manual/v1.4/manual.yml +++ b/docs/content/manual/v1.4/manual.yml @@ -231,8 +231,8 @@ sections: - title: "`.foo?`" body: | - Just like `.foo`, but does not output even an error when `.` - is not an array or an object. + Just like `.foo`, but does not output an error when `.` is not an + object. examples: - program: '.foo?' diff --git a/docs/content/manual/v1.5/manual.yml b/docs/content/manual/v1.5/manual.yml index bdcae54c..15b2e849 100644 --- a/docs/content/manual/v1.5/manual.yml +++ b/docs/content/manual/v1.5/manual.yml @@ -297,8 +297,8 @@ sections: - title: "`.foo?`" body: | - Just like `.foo`, but does not output even an error when `.` - is not an array or an object. + Just like `.foo`, but does not output an error when `.` is not an + object. examples: - program: '.foo?' diff --git a/docs/content/manual/v1.6/manual.yml b/docs/content/manual/v1.6/manual.yml index 8bea7267..269e14eb 100644 --- a/docs/content/manual/v1.6/manual.yml +++ b/docs/content/manual/v1.6/manual.yml @@ -332,8 +332,8 @@ sections: - title: "Optional Object Identifier-Index: `.foo?`" body: | - Just like `.foo`, but does not output an error even when `.` - is not an array or an object. + Just like `.foo`, but does not output an error when `.` is not an + object. examples: - program: '.foo?'