From 715c1bfa2139146eb848bb69f5455f3c33b7edcb Mon Sep 17 00:00:00 2001 From: "loic@dachary.org" 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. --HG-- branch : issue-523 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e2f228ba..eb2434c4 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