From 78cd83845f9a412af01adcf11f01bd02905de2b4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 23 Jan 2022 09:43:15 +0530 Subject: [PATCH] Fix sphinx failing to highlight fish --- Makefile | 13 ++++++++++--- docs/shell-integration.rst | 1 + 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a82f987af..8b7de6dd6 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/docs/shell-integration.rst b/docs/shell-integration.rst index d88867321..754586661 100644 --- a/docs/shell-integration.rst +++ b/docs/shell-integration.rst @@ -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