Fix sphinx failing to highlight fish

This commit is contained in:
Kovid Goyal 2022-01-23 09:43:15 +05:30
parent f6228cc81e
commit 78cd83845f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 11 additions and 3 deletions

View File

@ -5,6 +5,10 @@ ifdef VERBOSE
VVAL=--verbose
endif
ifdef FAIL_WARN
export FAIL_WARN
endif
all:
python3 setup.py $(VVAL)
@ -32,13 +36,16 @@ app:
python3 setup.py kitty.app $(VVAL)
man:
$(MAKE) FAIL_WARN=$(FAIL_WARN) -C docs man
$(MAKE) -C docs man
html:
$(MAKE) FAIL_WARN=$(FAIL_WARN) -C docs html
$(MAKE) -C docs html
dirhtml:
$(MAKE) -C docs dirhtml
linkcheck:
$(MAKE) FAIL_WARN=$(FAIL_WARN) -C docs linkcheck
$(MAKE) -C docs linkcheck
website:
./publish.py --only website

View File

@ -173,6 +173,7 @@ code used for each shell below:
.. literalinclude:: ../shell-integration/fish/vendor_conf.d/kitty-shell-integration.fish
:language: fish
:force:
.. tab:: bash