mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-11 02:59:40 +02:00
Docs: generate relative url with link text in document
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user