doc: tutorial style fixes

This commit is contained in:
pancho horrillo
2019-12-10 18:01:29 +01:00
parent 94b284f625
commit ae68cf8fed
6 changed files with 233 additions and 211 deletions
+16 -16
View File
@@ -1,44 +1,44 @@
What we've done?
================
What have we done?
==================
**Senior**
Ey, I come from seeing our project team mates. They're delighted with their
new toy, but they miss something.
I forgot to tell you that after the backup run they need to review the log
file to check that all went ok.
I forgot to tell you that after the backup is run they need to review the log
file to check that all went OK.
**Junior**
Makes sense. Do you think that *Kapow!* can help with this? I feel that this is
the way to do it.
Makes sense. Do you think that *Kapow!* can help with this? I have the
feeling that this is the right way to do it...
**Senior**
Sure! Let's take a look at the documentation to see how can we tweak with the
Sure! Let's take a look at the documentation to see how we can tweak the
logic of the request.
**Junior**
Got it! There're a
`lot of resources to work with </theory/resource_tree.rst>`_, I see that we
can write to the response, do you think this will work for us?
can write to the response. Do you think this will work for us?
**Senior**
Yeah, they used to cat the log file contents to see what happened in the
last execution:
Yeah, the team is used to ``cat`` the log file contents to see what happened
in the last execution:
.. code-block:: console
$ cat /tmp/backup_db.log
I've make it easy for you, do you dare to do it?
I've made it easy for you. Are you up to it?
**Junior**
Let me try add this to our ``POW`` file:
Let me try add this to our ``pow`` file:
.. code-block:: console
@@ -47,13 +47,13 @@ What we've done?
**Senior**
Looks good to me, clean and simple, and it is a very good idea to use ``GET``
here as it wont change anything in the server. Restart *Kapow!* and try it.
here as it wont change anything in the server. Restart *Kapow!* and try it.
**Junior**
Wooow! I get back the content of the file. If they liked the first one they're
going to love this.
Wooow! I get back the content of the file. If they liked the first one
they're going to loooove this.
**Senior**
Agree. we've done the day with this...
Agree. We are done for the day with this...