From c279fbca22fe0cf2c6ba78c428b77f1cbef808ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Picca=20Fr=C3=A9d=C3=A9ric-Emmanuel?= Date: Thu, 2 Aug 2018 11:35:10 +0200 Subject: run sphinx under xvfb --- debian/changelog | 1 + debian/rules | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 091b9fb..0559b57 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,7 @@ silx (0.8.0+dfsg-1) unstable; urgency=medium + Added pandoc * d/rules - override dh_python3 to deal with qtdesigner files. + - run sphinx with xvfb in order to have the right silx.sx documentation. -- Picca Frédéric-Emmanuel Tue, 31 Jul 2018 16:24:57 +0200 diff --git a/debian/rules b/debian/rules index 7ff5b71..ea542b1 100755 --- a/debian/rules +++ b/debian/rules @@ -72,7 +72,7 @@ override_dh_installman: override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) mkdir -p $(POCL_CACHE_DIR) # create POCL cachedir in order to avoid an FTBFS in sbuild - pybuild --build -s custom -p $(PY3VER) --build-args="cd doc && env PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' {interpreter} -m sphinx -N -bhtml source build/html" + pybuild --build -s custom -p $(PY3VER) --build-args="cd doc && env PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} -m sphinx -N -bhtml source build/html" dh_installdocs "doc/build/html" -p python-silx-doc dh_sphinxdoc -O--buildsystem=pybuild endif -- cgit v1.2.3