diff --git a/docs/conf.py b/docs/conf.py index 089653884..3929b6013 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -245,6 +245,7 @@ def write_cli_docs(all_kitten_names): from kitty.cmds import cli_params_for for cmd_name in all_commands: func = cmap[cmd_name] + p(f'.. _at_{func.name}:\n') p('kitty @', func.name + '\n' + '-' * 120) p('.. program::', 'kitty @', func.name) p('\n\n' + as_rst(*cli_params_for(func))) diff --git a/docs/faq.rst b/docs/faq.rst index e67d69bf8..100493fd4 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -83,7 +83,7 @@ How do I change the colors in a running kitty instance? You can either use the `OSC terminal escape codes `_ to set colors or you can enable :doc:`remote control ` -for |kitty| and use ``kitty @ set-colors --help``. +for |kitty| and use :ref:`at_set-colors`. How do I specify command line options for kitty on macOS?