Docs: Use underscores in kitten document filenames

This commit is contained in:
pagedown 2021-12-10 17:30:51 +08:00
parent a938b01246
commit 7e449dec4f
No known key found for this signature in database
GPG Key ID: E921CF18AC8FF6EB
7 changed files with 7 additions and 7 deletions

View File

@ -32,7 +32,7 @@ Glossary
top of an existing kitty window, entirely covering it. Overlays are used
throught kitty, for example, to display the :ref:`the scrollback buffer <scrollback>`,
to display :doc:`hints </kittens/hints>`, for :doc:`unicode input
</kittens/unicode-input>` etc.
</kittens/unicode_input>` etc.
hyperlinks
Terminals can have hyperlinks, just like the internet. In kitty you can

View File

@ -9,7 +9,7 @@ Extend with kittens
kittens/icat
kittens/diff
kittens/unicode-input
kittens/unicode_input
kittens/themes
kittens/hints
kittens/remote_file
@ -32,7 +32,7 @@ Some prominent kittens:
images
:doc:`Unicode Input <kittens/unicode-input>`
:doc:`Unicode Input <kittens/unicode_input>`
Easily input arbitrary unicode characters in |kitty| by name or hex code.

View File

@ -79,7 +79,7 @@ Extending kitty
kitty has a powerful framework for scripting. You can create small terminal
programs called :doc:`kittens <kittens_intro>`. These can used to add features
to kitty, for example, :doc:`editing remote files <kittens/remote_file>` or
:doc:`inputting unicode characters <kittens/unicode-input>`. They can also be
:doc:`inputting unicode characters <kittens/unicode_input>`. They can also be
used to create programs that leverage kitty's powerful features, for example,
:doc:`viewing images <kittens/icat>` or :doc:`diffing files with images
<kittens/diff>`.

View File

@ -7,7 +7,7 @@ end kitty has many foundational features, such as: :doc:`image support
:doc:`various enhancements to the terminal protocol <protocol-extensions>`,
etc. These features allow the development of rich terminal applications, such
as :doc:`Side-by-side diff <kittens/diff>` and :doc:`Unicode input
<kittens/unicode-input>`.
<kittens/unicode_input>`.
If you wish to support this mission and see the terminal ecosystem evolve,
consider donating so that I can devote more time to |kitty| development.

View File

@ -86,7 +86,7 @@ def key(x: ActionGroup) -> str:
def kitten_link(text: str) -> str:
x = text.split()
return f':doc:`kittens/{x[2]}`'.replace('_', '-') if len(x) > 2 else ''
return f':doc:`kittens/{x[2]}`' if len(x) > 2 else ''
for group in sorted(allg, key=key):
title = group_title(group)

View File

@ -1407,7 +1407,7 @@ def on_kitten_finish(
if data is not None:
end_kitten(data, target_window_id, self)
@ac('misc', 'Input an arbitrary unicode character. See :doc:`/kittens/unicode-input` for details.')
@ac('misc', 'Input an arbitrary unicode character. See :doc:`/kittens/unicode_input` for details.')
def input_unicode_character(self) -> None:
self._run_kitten('unicode_input')