mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-07 17:43:53 +02:00
Use rst roles to format cli help text
This commit is contained in:
4
docs/_static/custom.css
vendored
4
docs/_static/custom.css
vendored
@@ -92,6 +92,10 @@ div.sphinxsidebar {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
.env {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
@@ -91,6 +91,7 @@ rst_prolog = '''
|
||||
.. role:: bold
|
||||
.. role:: cyan
|
||||
.. role:: title
|
||||
.. role:: env
|
||||
|
||||
''' + create_shortcut_defs()
|
||||
|
||||
|
||||
@@ -18,6 +18,6 @@ You can also display the current configuration by running ``kitty
|
||||
|kitty| looks for a config file in the OS config directories (usually
|
||||
:file:`~/.config/kitty/kitty.conf` and additionally
|
||||
:file:`~/Library/Preferences/kitty/kitty.conf` on macOS) but you can pass a
|
||||
specific path via the ``--config`` option or use the ``KITTY_CONFIG_DIRECTORY``
|
||||
environment variable. See the help for the :option:`--config` option in ``kitty
|
||||
--help`` for full details.
|
||||
specific path via the :option:`kitty --config` option or use the ``KITTY_CONFIG_DIRECTORY``
|
||||
environment variable. See the :option:`kitty --config` option
|
||||
for full details.
|
||||
|
||||
@@ -102,7 +102,7 @@ instance of |kitty| using the :option:`--to` command line argument to ``kitty @`
|
||||
|
||||
|
||||
Note that is all you want to do is run a single |kitty| "daemon" and have subsequent
|
||||
|kitty| invocations appear as new top-level windows, you can use the simpler :option:`--single-instance`
|
||||
|kitty| invocations appear as new top-level windows, you can use the simpler :option:`kitty --single-instance`
|
||||
option, see ``kitty --help`` for that.
|
||||
|
||||
The builtin kitty shell
|
||||
|
||||
Reference in New Issue
Block a user