Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #12551

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

From Florian Weimer <fw@deneb.enyo.de>
Newsgroups linux.debian.maint.python
Subject Example package using python3-pbr and Sphinx documentation with manual page
Date 2020-05-04 19:20 +0200
Message-ID <A2MV3-5TB-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Example package using python3-pbr and Sphinx documentation with manual page Florian Weimer <fw@deneb.enyo.de> - 2020-05-04 19:20 +0200
  Re: Example package using python3-pbr and Sphinx documentation with  manual page Jeremy Stanley <fungi@yuggoth.org> - 2020-05-04 21:10 +0200
    Re: Example package using python3-pbr and Sphinx documentation with  manual page Jeremy Stanley <fungi@yuggoth.org> - 2020-05-04 21:20 +0200

csiph-web