We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51f8808 commit 2cfea9cCopy full SHA for 2cfea9c
docs/Makefile
@@ -1,7 +1,8 @@
1
# Makefile for Sphinx documentation
2
#
3
-PYVERSION=$(shell python -c "import sys;v=sys.version_info[0];sys.stdout.write(str(v))")
+SHELL := /bin/bash
4
HTTP_PORT = 8022
5
+WATCH_FILES= find .. -type f -not -path '*/\.*' | grep -i '.*[.]\(rst\|md\)\$\|.*[.]py\$\|CHANGES\|TODO\|.*conf\.py' 2> /dev/null
6
7
# You can set these variables from the command line.
8
SPHINXOPTS =
@@ -158,8 +159,6 @@ checkbuild:
158
159
rm -rf $(BUILDDIR)
160
$(SPHINXBUILD) -n -q ./ $(BUILDDIR)
161
-WATCH_FILES= find .. -type f -not -path '*/\.*' | grep -i '.*[.]rst\$\|.*[.]md\$\|.*[.]py\$\|CHANGES\|TODO\|.*conf\.py' 2> /dev/null
162
-
163
watch:
164
if command -v entr > /dev/null; then ${WATCH_FILES} | entr -c $(MAKE) html; else $(MAKE) html; fi
165
0 commit comments