mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 11:52:27 +00:00
Fix a couple of documentation build warnings
This commit is contained in:
parent
2787f9f19b
commit
cd76d109f5
2 changed files with 5 additions and 3 deletions
|
|
@ -555,7 +555,7 @@ def process_shortcut_link(env: Any, refnode: Any, has_explicit_title: bool, titl
|
|||
|
||||
|
||||
def write_conf_docs(app: Any, all_kitten_names: Iterable[str]) -> None:
|
||||
app.add_lexer('conf', ConfLexer())
|
||||
app.add_lexer('conf', ConfLexer)
|
||||
app.add_object_type(
|
||||
'opt', 'opt',
|
||||
indextemplate="pair: %s; Config Setting",
|
||||
|
|
@ -604,7 +604,7 @@ def setup(app: Any) -> None:
|
|||
write_cli_docs(kn)
|
||||
write_remote_control_protocol_docs()
|
||||
write_conf_docs(app, kn)
|
||||
app.add_lexer('session', SessionLexer())
|
||||
app.add_lexer('session', SessionLexer)
|
||||
app.add_role('link', link_role)
|
||||
app.add_role('iss', partial(num_role, 'issues'))
|
||||
app.add_role('pull', partial(num_role, 'pull'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue