Use the builtin envvar role for env vars

Also fix some broken links
This commit is contained in:
Kovid Goyal
2021-07-20 13:29:39 +05:30
parent c7ee776349
commit 624991b9b7
5 changed files with 8 additions and 7 deletions

View File

@@ -103,9 +103,9 @@ rst_prolog = '''
.. role:: bold
.. role:: cyan
.. role:: title
.. role:: env
'''.replace('VERSION', str_version)
nitpicky = True
# -- Options for HTML output -------------------------------------------------

View File

@@ -42,7 +42,7 @@ The piping environment
--------------------------
When using :option:`launch --stdin-source`, the program to which the data is
piped has a special environment variable declared, :env:`KITTY_PIPE_DATA` whose
piped has a special environment variable declared, :envvar:`KITTY_PIPE_DATA` whose
contents are::
KITTY_PIPE_DATA={scrolled_by}:{cursor_x},{cursor_y}:{lines},{columns}