diff options
author | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-05-09 02:01:01 +0100 |
---|---|---|
committer | Stephen Dolan <mu@netsoc.tcd.ie> | 2013-05-09 02:01:01 +0100 |
commit | 7fbc50239c6906b562501ff62c53254fc8c979ef (patch) | |
tree | 6e0f1b1db9ef9f8c82ac8796be9fb7542c39fa17 /docs | |
parent | 282667bbd408824af6c6fdac46cd16530f591983 (diff) |
Minor docs fix to get rid of Bonsai warnings.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/3.manual/manual.yml | 4 | ||||
-rw-r--r-- | docs/site.yml | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/content/3.manual/manual.yml b/docs/content/3.manual/manual.yml index c85fcd57..a2334efa 100644 --- a/docs/content/3.manual/manual.yml +++ b/docs/content/3.manual/manual.yml @@ -166,7 +166,7 @@ sections: You can also look up fields of an object using syntax like `.["foo"]` (.foo above is a shorthand version of this). This one works for arrays as well, if the key is an - integer. Arrays are zero-based (like javascript), so .[2] + integer. Arrays are zero-based (like javascript), so `.[2]` returns the third element of the array. examples: @@ -271,7 +271,7 @@ sections: filter into an array (as in `[.items[].name]`) Once you understand the "," operator, you can look at jq's array - syntax in a different light: the expression [1,2,3] is not using a + syntax in a different light: the expression `[1,2,3]` is not using a built-in syntax for comma-separated arrays, but is instead applying the `[]` operator (collect results) to the expression 1,2,3 (which produces three different results). diff --git a/docs/site.yml b/docs/site.yml index ae66854f..37f82cf3 100644 --- a/docs/site.yml +++ b/docs/site.yml @@ -1,5 +1,6 @@ # The key value pairs found below are available within the templates. +:url: http://stedolan.github.io/jq # This line is modified by the Makefile. To change the version number, # edit the Autoconf version number at the top of configure.ac |