From d912d96f00eb593e01218cd03bd2c1cb069a6d83 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 19 Jul 2021 09:08:55 +0530 Subject: [PATCH] More docs cleanups --- docs/integrations.rst | 8 ++++++-- docs/kittens/broadcast.rst | 4 +++- docs/kittens/clipboard.rst | 4 +++- docs/layouts.rst | 3 --- docs/marks.rst | 11 +++++------ kittens/query_terminal/main.py | 7 ++++--- 6 files changed, 21 insertions(+), 16 deletions(-) diff --git a/docs/integrations.rst b/docs/integrations.rst index e82a7e80a..c220c3d8e 100644 --- a/docs/integrations.rst +++ b/docs/integrations.rst @@ -65,7 +65,9 @@ System and data visualisation tools `gnuplot `_ a graphing and data visualization tool that can be made to display its - output in kitty with the following bash snippet:: + output in kitty with the following bash snippet: + + .. code-block:: sh function iplot { cat < str: careful not to perform any I/O on the terminal device until the kitten exits. -Available queries are:: +Available queries are: {} -'''.format(' ' + '\n '.join( - f'{name}: {c.help_text}' for name, c in all_queries.items())) + +'''.format('\n'.join( + f'``{name}``\n {c.help_text}\n' for name, c in all_queries.items())) usage = '[query1 query2 ...]'