From 1c939db36c5e580482d26937bded5e95c9c495a5 Mon Sep 17 00:00:00 2001 From: loic Date: Tue, 13 Dec 2016 23:16:35 +0100 Subject: add PYTHONPATH to dochtml target #523 So that sphinx-build can import the coverage modules when needed by autoclass and autofunction. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e2f228b..eb2434c 100644 --- a/Makefile +++ b/Makefile @@ -98,7 +98,7 @@ docreqs: pip install -r doc/requirements.pip dochtml: - $(SPHINXBUILD) -b html $(SPHINXOPTS) doc/_build/html + PYTHONPATH=$(CURDIR) $(SPHINXBUILD) -b html $(SPHINXOPTS) doc/_build/html @echo @echo "Build finished. The HTML pages are in doc/_build/html." -- cgit v1.2.1