From: David Tolnay Date: Mon, 14 Sep 2015 01:54:14 +0000 (-0700) Subject: Remove "Requires 1.5" from manuals X-Git-Tag: jq-1.6rc1~175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1758c1ba742bec8e83a0097e8e267cc7ffd765d9;p=jq Remove "Requires 1.5" from manuals No longer necessary now that manuals are versioned. --- diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index 0fe4b64..39abfd0 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -1022,7 +1022,7 @@ sections: input: '[]' output: ["true"] - - title: "\\[Requires 1.5\\] `flatten`, `flatten(depth)`" + - title: "`flatten`, `flatten(depth)`" body: | The filter `flatten` takes as input an array of nested arrays, @@ -2065,7 +2065,7 @@ sections: evaluates to: true, true, false, false. entries: - - title: "\\[Requires 1.5\\] `test(val)`, `test(regex; flags)`" + - title: "`test(val)`, `test(regex; flags)`" body: | Like `match`, but does not return match objects, only `true` or `false` @@ -2079,7 +2079,7 @@ sections: input: '["xabcd", "ABC"]' output: ['true', 'true'] - - title: "\\[Requires 1.5\\] `match(val)`, `match(regex; flags)`" + - title: "`match(val)`, `match(regex; flags)`" body: | **match** outputs an object for each match it finds. Matches have @@ -2124,7 +2124,7 @@ sections: output: [3] - - title: "\\[Requires 1.5\\] `capture(val)`, `capture(regex; flags)`" + - title: "`capture(val)`, `capture(regex; flags)`" body: | Collects the named captures in a JSON object, with the name @@ -2136,7 +2136,7 @@ sections: input: '"xyzzy-14"' output: ['{ "a": "xyzzy", "n": "14" }'] - - title: "\\[Requires 1.5\\] `scan(regex)`, `scan(regex; flags)`" + - title: "`scan(regex)`, `scan(regex; flags)`" body: | Emit a stream of the non-overlapping substrings of the input @@ -2165,7 +2165,7 @@ sections: output: ['"ab","cd","ef"'] - - title: "\\[Requires 1.5\\] `splits(regex)`, `splits(regex; flags)`" + - title: "`splits(regex)`, `splits(regex; flags)`" body: | These provide the same results as their `split` counterparts, @@ -2176,7 +2176,7 @@ sections: input: '("ab,cd", "ef, gh")' output: ['"ab"', '"cd"', '"ef"', '"gh"'] - - title: "\\[Requires 1.5\\] `sub(regex; tostring)` `sub(regex; string; flags)`" + - title: "`sub(regex; tostring)` `sub(regex; string; flags)`" body: | Emit the string obtained by replacing the first match of regex in the @@ -2192,7 +2192,7 @@ sections: output: '"ZabcZabc"' - - title: "\\[Requires 1.5\\] `gsub(regex; string)`, `gsub(regex; string; flags)`" + - title: "`gsub(regex; string)`, `gsub(regex; string; flags)`" body: | `gsub` is like `sub` but all the non-overlapping occurrences of the regex are diff --git a/docs/content/3.manual/v1.5/manual.yml b/docs/content/3.manual/v1.5/manual.yml index 9832909..f676e52 100644 --- a/docs/content/3.manual/v1.5/manual.yml +++ b/docs/content/3.manual/v1.5/manual.yml @@ -980,7 +980,7 @@ sections: input: '[]' output: ["true"] - - title: "\\[Requires 1.5\\] `flatten`, `flatten(depth)`" + - title: "`flatten`, `flatten(depth)`" body: | The filter `flatten` takes as input an array of nested arrays, @@ -1996,7 +1996,7 @@ sections: evaluates to: true, true, false, false. entries: - - title: "\\[Requires 1.5\\] `test(val)`, `test(regex; flags)`" + - title: "`test(val)`, `test(regex; flags)`" body: | Like `match`, but does not return match objects, only `true` or `false` @@ -2010,7 +2010,7 @@ sections: input: '["xabcd", "ABC"]' output: ['true', 'true'] - - title: "\\[Requires 1.5\\] `match(val)`, `match(regex; flags)`" + - title: "`match(val)`, `match(regex; flags)`" body: | **match** outputs an object for each match it finds. Matches have @@ -2055,7 +2055,7 @@ sections: output: [3] - - title: "\\[Requires 1.5\\] `capture(val)`, `capture(regex; flags)`" + - title: "`capture(val)`, `capture(regex; flags)`" body: | Collects the named captures in a JSON object, with the name @@ -2067,7 +2067,7 @@ sections: input: '"xyzzy-14"' output: ['{ "a": "xyzzy", "n": "14" }'] - - title: "\\[Requires 1.5\\] `scan(regex)`, `scan(regex; flags)`" + - title: "`scan(regex)`, `scan(regex; flags)`" body: | Emit a stream of the non-overlapping substrings of the input @@ -2096,7 +2096,7 @@ sections: output: ['"ab","cd","ef"'] - - title: "\\[Requires 1.5\\] `splits(regex)`, `splits(regex; flags)`" + - title: "`splits(regex)`, `splits(regex; flags)`" body: | These provide the same results as their `split` counterparts, @@ -2107,7 +2107,7 @@ sections: input: '("ab,cd", "ef, gh")' output: ['"ab"', '"cd"', '"ef"', '"gh"'] - - title: "\\[Requires 1.5\\] `sub(regex; tostring)` `sub(regex; string; flags)`" + - title: "`sub(regex; tostring)` `sub(regex; string; flags)`" body: | Emit the string obtained by replacing the first match of regex in the @@ -2123,7 +2123,7 @@ sections: output: '"ZabcZabc"' - - title: "\\[Requires 1.5\\] `gsub(regex; string)`, `gsub(regex; string; flags)`" + - title: "`gsub(regex; string)`, `gsub(regex; string; flags)`" body: | `gsub` is like `sub` but all the non-overlapping occurrences of the regex are