On Jul 12, 2016, at 04:07 PM, Thomas Goirand wrote: >I find this not the top-noch way. Here's what I do: > >override_dh_sphinxdoc: >ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) > PYTHONPATH=. sphinx-build -b html doc/source \ > debian/python-foo-doc/usr/share/doc/python-foo-doc/html > dh_sphinxdoc >endif
I'm going to do this in the next python-webob upload to close #830611. It had been building the docs in override_dh_installdocs. I'll also need to patch the conf.py file to use the python{,3}-doc files and add those packages as build dependencies. Cheers, -Barry
pgpROt_11jI7v.pgp
Description: OpenPGP digital signature