File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11# Makefile for Sphinx documentation
22#
3+ WATCH_FILES = find .. -type f -not -path '*/\.*' | grep -i '.*[.]rst\|CHANGES\|TODO\|.*conf\.py' 2> /dev/null
34PYVERSION =$(shell python -c "import sys;v=sys.version_info[0];sys.stdout.write(str(v) )")
45HTTP_PORT = 8031
56
@@ -158,17 +159,15 @@ checkbuild:
158159 rm -rf $(BUILDDIR )
159160 $(SPHINXBUILD ) -n -q ./ $(BUILDDIR )
160161
161- WATCH_FILES = find .. -type f -not -path '*/\.*' | grep -i '.*[.]rst\|CHANGES\|TODO\|.*conf\.py' 2> /dev/null
162-
163162watch :
164163 if command -v entr > /dev/null; then ${WATCH_FILES} | entr -c $( MAKE) html; else $( MAKE) html; fi
165164
166165serve :
167- @echo ' ================================================='
166+ @echo ' ============================================================== '
168167 @echo
169168 @echo ' docs server running at http://0.0.0.0:${HTTP_PORT}/_build/html'
170169 @echo
171- @echo ' ================================================='
170+ @echo ' ============================================================== '
172171 @if test ${PYVERSION} -eq 2; then $(MAKE ) serve_py2; else make serve_py3; fi
173172
174173serve_py2 :
You can’t perform that action at this time.
0 commit comments