[Python-modules-team] Bug#833791: dh_sphinxdoc: Fails to recognise Sphinx-generated documentation

Dmitry Shachnev mitya57 at debian.org
Mon Aug 8 17:06:03 UTC 2016


Hi Ben,

On Tue, Aug 09, 2016 at 02:47:23AM +1000, Ben Finney wrote:
> The ‘dh_sphinxdoc’ command is failing to detect Sphinx-generated
> documentation:
>
> [...]
>
> $ dh_sphinxdoc doc/_build/html
> dh_sphinxdoc: Sphinx documentation not found at doc/_build/html/

This command does not make any sense. dh_sphinxdoc operates on *installed*
documentation, and looks for files in debian/{packagename}/ directories.
(or debian/tmp/ when there is only one binary package).

Passing the path is usually not necessary (just calling it with no arguments
after the files are installed is enough), but when you pass the path, it
should be relative to the installation root directory.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160808/86495d0c/attachment-0001.sig>


More information about the Python-modules-team mailing list