From 272d472c000d160601ec87ea05597b38bb2b6302 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 19 Mar 2017 19:22:11 +0300 Subject: [PATCH] Rebuild docs in a venv using system Sphinx --- Makefile | 2 +- docs/rebuild | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 docs/rebuild 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 -- 2.39.5