From be3c76da20fcdc9818fd8ce7623f28b036c3a8f4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 20 Jun 2020 12:45:05 +0530 Subject: [PATCH] Fix remote control command docs order randomized --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index fbf03967d..a8ee43f9b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -275,7 +275,7 @@ if you specify a program-to-run you can use the special placeholder p('\n\n' + as_rst( global_options_spec, message=cli_msg, usage='command ...', appname='kitty @')) from kitty.rc.base import cli_params_for - for cmd_name in all_command_names(): + for cmd_name in sorted(all_command_names()): func = command_for_name(cmd_name) p(f'.. _at_{func.name}:\n') p('kitty @', func.name + '\n' + '-' * 120)