From 45de867b2d6e29f10023cdbc726a3a6f865b109a Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Wed, 11 Dec 2019 11:38:29 +0100 Subject: [PATCH] doc: markup jq as program role MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Roberto Abdelkader Martínez Pérez --- docs/source/examples/index.rst | 2 +- docs/source/tutorial/tutorial05.rst | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/examples/index.rst b/docs/source/examples/index.rst index 43a170d..2d07081 100644 --- a/docs/source/examples/index.rst +++ b/docs/source/examples/index.rst @@ -123,7 +123,7 @@ You can list the active routes in the *Kapow!* server. $ kapow route list [{"id":"20c98328-0b82-11ea-90a8-784f434dfbe2","method":"GET","url_pattern":"/echo/{message}","entrypoint":"/bin/sh -c","command":"kapow get /request/matches/message | kapow set /response/body"}] -Or, if you want human-readable output, you can use ``jq``: +Or, if you want human-readable output, you can use :program:`jq`: .. code-block:: console :linenos: diff --git a/docs/source/tutorial/tutorial05.rst b/docs/source/tutorial/tutorial05.rst index 6f92b43..82d6069 100644 --- a/docs/source/tutorial/tutorial05.rst +++ b/docs/source/tutorial/tutorial05.rst @@ -73,19 +73,19 @@ Sharing the Stats **Junior** - ``jq``? What is that command? + :program:`jq`? What is that command? **Senior** - ``jq`` is a wonderful tool for working with ``JSON`` data from the command - line. With ``jq`` you can extract data from a ``JSON`` document and it also + :program:`jq` is a wonderful tool for working with ``JSON`` data from the command + line. With :program:`jq` you can extract data from a ``JSON`` document and it also allows you to generate a well-formed ``JSON`` document. **Junior** Let's use it, then! - How can we generate a ``JSON`` document with ``jq``? + How can we generate a ``JSON`` document with :program:`jq`? **Senior** @@ -105,7 +105,7 @@ Sharing the Stats **Senior** Bear with me, it gets better. You can add variables to the ``JSON`` and - ``jq`` will escape them for you. + :program:`jq` will escape them for you. .. code-block:: console