Switch over to at-cmd form for references.

Sphinx anyway converts at_cmd to at-cmd for anchors in HTML so using at-cmd
consistently.
This commit is contained in:
Kovid Goyal
2022-08-28 11:54:32 +05:30
parent 555020cfd5
commit 3bcb694b1b
6 changed files with 9 additions and 9 deletions

View File

@@ -249,7 +249,7 @@ if you specify a program-to-run you can use the special placeholder
from kitty.rc.base import cli_params_for
for cmd_name in sorted(all_command_names()):
func = command_for_name(cmd_name)
p(f'.. _at_{func.name}:\n')
p(f'.. _at-{func.name}:\n')
p('kitty @', func.name)
p('-' * 120)
p('.. program::', 'kitty @', func.name)