summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritchyny <itchyny@cybozu.co.jp>2023-06-06 05:43:06 +0900
committerGitHub <noreply@github.com>2023-06-06 05:43:06 +0900
commit019a9ffbeeee5dd5a4ea2bac5275246a04d800de (patch)
tree831567c2397b14cf3f3dac13be388d4e0127743c
parent908f5d54a7897bc31c85ddcb9737463c1df30faf (diff)
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
-rw-r--r--docs/content/manual/manual.yml4
-rw-r--r--docs/content/manual/v1.4/manual.yml4
-rw-r--r--docs/content/manual/v1.5/manual.yml4
-rw-r--r--docs/content/manual/v1.6/manual.yml4
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?'