From 211436b87ba7a3446b98e80ca03130217d0353b1 Mon Sep 17 00:00:00 2001 From: Jover Lee Date: Wed, 20 Mar 2024 10:48:43 -0700 Subject: [PATCH] livehtml: Update --ignore pattern to use `**` Resolves https://github.com/nextstrain/docs.nextstrain.org/issues/193 The double asterisk (`**`) glob expression worked for both sphinx-autobuild-2021.03.14 and sphinx-autobuild-2024.2.4. when I tested locally. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3e1af10a..36cb3ff7 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ help: # fnmatch(), where "*" means something other than a normal glob, for example), # but our usage is limited enough for this to work as much as necessary. livehtml: - sphinx-autobuild -b html $(patsubst %,--ignore "*/%",$(file < .gitignore)) "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + sphinx-autobuild -b html $(patsubst %,--ignore "**%",$(file < .gitignore)) "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) .ONESHELL: docker-html: