[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Mailman-Developers] Let's try to package mailman3 in Debian!



Le dimanche 06 mars 2016 à 08:54:31+0100, Vincent Bernat a écrit :
>  ❦  6 mars 2016 04:22 +0100, Pierre-Elliott Bécue <becue@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/

Thanks, it's working (I had to update the line a bit)!

-- 
PEB

Attachment: signature.asc
Description: Digital signature


Reply to: