From ecaea23d40cddf124ff77ff3a4dbcf10cdc1e0bc Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Wed, 11 Dec 2019 16:05:55 +0100 Subject: [PATCH] doc: markup stdin as tech 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/concepts/request_life_cycle.rst | 2 +- docs/source/examples/index.rst | 2 +- docs/source/tutorial/tutorial04.rst | 4 ++-- docs/source/tutorial/tutorial05.rst | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/concepts/request_life_cycle.rst b/docs/source/concepts/request_life_cycle.rst index 468e8a5..8703cc3 100644 --- a/docs/source/concepts/request_life_cycle.rst +++ b/docs/source/concepts/request_life_cycle.rst @@ -46,7 +46,7 @@ available via these commands: These commands use the aforementioned environment variables to read data from the user request and to write the response. They accept data either as -arguments or from ``stdin``. +arguments or from :tech:`stdin`. 4. exit diff --git a/docs/source/examples/index.rst b/docs/source/examples/index.rst index fa0a270..0b8df5c 100644 --- a/docs/source/examples/index.rst +++ b/docs/source/examples/index.rst @@ -176,7 +176,7 @@ If you need to write more complex actions, you can leverage multiline commands: .. warning:: Be aware of the **"-"** at the end of the ``kapow route add`` command. - It tells ``kapow route add`` to read commands from ``stdin``. + It tells ``kapow route add`` to read commands from :tech:`stdin`. .. warning:: diff --git a/docs/source/tutorial/tutorial04.rst b/docs/source/tutorial/tutorial04.rst index 5c01b89..ceb6137 100644 --- a/docs/source/tutorial/tutorial04.rst +++ b/docs/source/tutorial/tutorial04.rst @@ -144,14 +144,14 @@ I Need my Report! EOF The shell will put the data between the first ``EOF`` and the second - ``EOF`` as the ``stdin`` of the :command:`cat` process. + ``EOF`` as the :tech:`stdin` of the :command:`cat` process. **Junior** OK, I understand. That's cool, by the way. So, if I want to use this with *Kapow!*, I have to make it read the script - from ``stdin``. To do this I know that I have to put a :nref-option:`-` at the end. + from :tech:`stdin`. To do this I know that I have to put a :nref-option:`-` at the end. Let me try: diff --git a/docs/source/tutorial/tutorial05.rst b/docs/source/tutorial/tutorial05.rst index caf95db..7afb051 100644 --- a/docs/source/tutorial/tutorial05.rst +++ b/docs/source/tutorial/tutorial05.rst @@ -200,7 +200,7 @@ Sharing the Stats because the body can be so big that *Kapow!* is forced to start sending it out. 2. In cases where you want to set a small piece of data (like the header), it - is better not to use ``stdin``. *Kapow!* provides a secondary syntax + is better not to use :tech:`stdin`. *Kapow!* provides a secondary syntax for these cases: .. code-block:: console