mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-28 04:13:44 +00:00
Docs: generate relative url with link text in document
This commit is contained in:
parent
4a7ae0f524
commit
2c78a22270
2 changed files with 5 additions and 6 deletions
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
from typing import TYPE_CHECKING, Optional
|
||||
|
||||
from kitty.constants import website_url
|
||||
from kitty.options.utils import parse_marker_spec
|
||||
|
||||
from .base import (
|
||||
|
|
@ -25,9 +24,9 @@ class CreateMarker(RemoteCommand):
|
|||
|
||||
short_desc = 'Create a marker that highlights specified text'
|
||||
desc = (
|
||||
'Create a marker which can highlight text in the specified window. For example: '
|
||||
'create_marker text 1 ERROR. For full details see: {}'
|
||||
).format(website_url('marks'))
|
||||
'Create a marker which can highlight text in the specified window. For example:'
|
||||
' :code:`create_marker text 1 ERROR`. For full details see: :doc:`marks`'
|
||||
)
|
||||
options_spec = MATCH_WINDOW_OPTION + '''\n
|
||||
--self
|
||||
type=bool-set
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ class GetColors(RemoteCommand):
|
|||
|
||||
short_desc = 'Get terminal colors'
|
||||
desc = (
|
||||
'Get the terminal colors for the specified window (defaults to active window). '
|
||||
'Colors will be output to stdout in the same syntax as used for kitty.conf'
|
||||
'Get the terminal colors for the specified window (defaults to active window).'
|
||||
' Colors will be output to stdout in the same syntax as used for kitty.conf'
|
||||
)
|
||||
options_spec = '''\
|
||||
--configured -c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue