From 79c80b4043e0af8c6de09bc71dc1d3099bac2ab2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 13 Nov 2019 15:03:02 +0530 Subject: [PATCH] Fix doc generation --- docs/launch.rst | 3 +++ kitty/cmds.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/launch.rst b/docs/launch.rst index 51ed8f067..a00ceb9eb 100644 --- a/docs/launch.rst +++ b/docs/launch.rst @@ -1,6 +1,9 @@ Launching programs in new windows/tabs ======================================== +.. program:: launch + + Syntax reference ------------------ diff --git a/kitty/cmds.py b/kitty/cmds.py index b82426450..c378b1f19 100644 --- a/kitty/cmds.py +++ b/kitty/cmds.py @@ -780,8 +780,8 @@ def new_window(boss, window, payload): 'Run an arbitrary process in a new window/tab', ' Prints out the id of the newly opened window. Any command line arguments' ' are assumed to be the command line used to run in the new window, if none' - ' are provided, the default shell is run. For example:\n' - ':italic:`kitty @ launch --title Email mutt`', + ' are provided, the default shell is run. For example:' + ' :italic:`kitty @ launch --title Email mutt`.', options_spec=MATCH_TAB_OPTION + '\n\n' + '''\ --no-response type=bool-set