From: Oleg Broytman Date: Sun, 19 Mar 2017 16:22:11 +0000 (+0300) Subject: Rebuild docs in a venv using system Sphinx X-Git-Tag: 0.1.0~2 X-Git-Url: https://git.phdru.name/?p=sqlconvert.git;a=commitdiff_plain;h=272d472c000d160601ec87ea05597b38bb2b6302 Rebuild docs in a venv using system Sphinx --- diff --git a/Makefile b/Makefile index c2727fb..ee1c84e 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ flake8: .PHONY: docs docs: - $(MAKE) -C docs html + cd docs && exec ./rebuild .PHONY: test test: diff --git a/docs/rebuild b/docs/rebuild new file mode 100755 index 0000000..56d07b5 --- /dev/null +++ b/docs/rebuild @@ -0,0 +1,4 @@ +#! /bin/sh + +SPHINXBUILD="`which sphinx-build`" +PYTHONPATH=.. exec make SPHINXBUILD="python $SPHINXBUILD" html