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

Example package using python3-pbr and Sphinx documentation with manual page



I'm trying to package pwclient, which depends on python3-pbr and has a
rudimentary manual page generated from Sphinx documentation.  Is there
a similar example package which I can look at, to see how to trigger
the manual page generation?

I currently get this:

dh_sphinxdoc: warning: Sphinx documentation not found

debian/rules has:

#!/usr/bin/make -f

%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild

I have patched this into docs/conf.py at the end:

# -- Options for manual page output --------------------------------------------

man_pages = [
    ('usage', 'pwclient', 'VCS-agnostic tool for interacting with Patchwork',
     ['The pwclient authors (see AUTHORS file)'],
     1),
]

Any suggestions what to try next?  Thanks.


Reply to: