1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#! /usr/bin/make -f
export PYBUILD_NAME=sphinx-autoapi
# manually build doc:
export PYBUILD_AFTER_BUILD=sphinx-build docs build/sphinx/html && \
sphinx-build -b text docs build/sphinx/text && \
rm -rf build/sphinx/text/.doctrees
# disable test_integration tests:
# - GoTests.test_integration requires sphinxcontrib.golangdomain (not available
# yet in Debian)
# - DotNetTests.test_integration requires sphinxcontrib.dotnetdomain (not
# available yet in Debian)
# TODO: package sphinxcontrib.golangdomain and sphinxcontrib.dotnetdomain and
# re-enable the tests
export PYBUILD_TEST_ARGS="-k not test_integration"
%:
dh $@ --with sphinxdoc --buildsystem=pybuild
|