❦ 6 mars 2016 04:22 +0100, Pierre-Elliott Bécue <be...@crans.org> :
>> > Mmh, take a look at other debian packages. It is quiet common that python >> > packages uses sphinx as documentation framework. So it should be a already >> > solved issue - maybe ask python-debian. >> >> The easiest solution is to add '--with sphinxdoc' to dh. There is >> probably also a dh_sphinxdoc (or something like it) that you can run if >> you don't use dh. > > Adding sphinxdoc to dh arguments did nothing. I guess it didn't find the doc > to compile. dh_sphinxdoc doesn't compile anything. It just put symlinks to known JS files, add appropriate dependencies and do some cleanups. Usually, something like that is used during build or docs hook: PYTHONPATH=. sphinx-build -N -q -E -b html docs/ debian/yourpackage/usr/share/doc/yourpackage/html/ -- Replace repetitive expressions by calls to a common function. - The Elements of Programming Style (Kernighan & Plauger)
signature.asc
Description: PGP signature