diff options
Diffstat (limited to 'docs/Makefile')
-rw-r--r-- | docs/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/Makefile b/docs/Makefile index 28d11c9..cd5fe80 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -2,12 +2,14 @@ # # You can set these variables from the command line. + +PE = pipenv run SPHINXOPTS = -SPHINXBUILD = sphinx-build -SPHINXWATCH = sphinx-autobuild +SPHINXBUILD = $(PE) sphinx-build +SPHINXWATCH = $(PE) sphinx-autobuild SOURCEDIR = . BUILDDIR = _build -WEBROOT = thcolor.touhey.pro:thcolor_doc +WEBROOT = hercule:thcolor/docs # Put it first so that "make" without argument is like "make help". help: @@ -22,7 +24,8 @@ help: # Livehtml build. livehtml: - $(SPHINXWATCH) -b html -z ../thcolor $(SPHINXOPTS) . $(BUILDDIR)/html + $(SPHINXWATCH) -b html --watch ../thcolor --ignore "**/.*.kate-swp" \ + $(SPHINXOPTS) . $(BUILDDIR)/html .PHONY: livehtml |