diff --git a/README.md b/README.md index 11fd1f9014..9ef09cc4f2 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ## Documentation - **Official Documentation**: [jqlang.org](https://jqlang.org) -- **Try jq Online**: [jqplay.org](https://jqplay.org) +- **Try jq Online**: [play.jqlang.org](https://play.jqlang.org) ## Installation @@ -17,13 +17,16 @@ Download the latest releases from the [GitHub release page](https://github.com/j Pull the [jq image](https://github.com/jqlang/jq/pkgs/container/jq) to start quickly with Docker. - #### Run with Docker + ##### Example: Extracting the version from a `package.json` file + ```bash docker run --rm -i ghcr.io/jqlang/jq:latest < package.json '.version' ``` + ##### Example: Extracting the version from a `package.json` file with a mounted volume + ```bash docker run --rm -i -v "$PWD:$PWD" -w "$PWD" ghcr.io/jqlang/jq:latest '.version' package.json ``` diff --git a/docs/templates/index.html.j2 b/docs/templates/index.html.j2 index 7b444fa16e..efcf4a5d18 100644 --- a/docs/templates/index.html.j2 +++ b/docs/templates/index.html.j2 @@ -25,8 +25,8 @@
  • Windows (AMD64)
  • Other platforms, older versions, and source
  • - - Try online at jqplay.org! + + Try online! diff --git a/docs/templates/manual.html.j2 b/docs/templates/manual.html.j2 index c5cd1e6809..aebf64cd02 100644 --- a/docs/templates/manual.html.j2 +++ b/docs/templates/manual.html.j2 @@ -86,7 +86,7 @@ {%- endfor %} - Run + Run diff --git a/docs/templates/shared/_navbar.html.j2 b/docs/templates/shared/_navbar.html.j2 index ac52a17bd4..381a1a3684 100644 --- a/docs/templates/shared/_navbar.html.j2 +++ b/docs/templates/shared/_navbar.html.j2 @@ -23,7 +23,7 @@ {%- endfor %} - +