Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Jeremy Stanley Newsgroups: linux.debian.maint.python Subject: Re: Example package using python3-pbr and Sphinx documentation with manual page Date: Mon, 04 May 2020 21:20:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Mon May 4 19:18:28 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, LDO_WHITELIST=-5, MD5_SHA1_SUM=-1, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jqkmtzrbkj3ajhpl" Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-Sa-Exim-Connect-IP: 2001:4802:7801:102:be76:4eff:fe20:63e0 X-Sa-Exim-Rcpt-To: debian-python@lists.debian.org X-Sa-Exim-Mail-From: fungi@yuggoth.org X-Sa-Exim-Scanned: No (on azathoth.yuggoth.org); SAEximRunCond expanded to false X-Mailing-List: archive/latest/18238 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20200504191810.lmrrjxg5cy5j5qcw@yuggoth.org Approved: robomod@news.nic.it Lines: 59 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 4 May 2020 19:18:10 +0000 X-Original-Message-ID: <20200504191810.lmrrjxg5cy5j5qcw@yuggoth.org> X-Original-References: <87368fvd19.fsf@mid.deneb.enyo.de> <20200504190659.z5ap62demjih34ye@yuggoth.org> Xref: csiph.com linux.debian.maint.python:12553 --jqkmtzrbkj3ajhpl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2020-05-04 19:07:00 +0000 (+0000), Jeremy Stanley wrote: > On 2020-05-04 19:13:38 +0200 (+0200), Florian Weimer wrote: > > 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? > >=20 > > I currently get this: > >=20 > > dh_sphinxdoc: warning: Sphinx documentation not found > [...] >=20 > Since PBR originated in OpenStack, the python3-openstackclient > package may serve as a good example. It does a dh_sphinxdoc override > for manpage building here: >=20 > >=20 > Then there's a similar dh_installman override a few lines later. Oh, and since you mentioned the conf.py contents, here's how it's being done in the upstream source for that repo: --=20 Jeremy Stanley --jqkmtzrbkj3ajhpl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEl65Jb8At7J/DU7LnSPmWEUNJWCkFAl6wamtfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk3 QUU0OTZGQzAyREVDOUZDMzUzQjJFNzQ4Rjk5NjExNDM0OTU4MjkACgkQSPmWEUNJ WClS6xAAxyCChCGE2Zs7A+/38g90XKtHu5Qp+X95OF7m9AjuTvVvdynHHFjg8h+6 PGef6Xzz6RMvg8VCRXfa3g4O0dMgaNjkXhAmCsba9bXl80qJURzl22sxo1NUJnAL hR5022BLYxXUvQbW9oq2aieq1BHbikD2pEbM0Ovl31a6422G6eR3YHxrEDoHSnmO FKDEgB8DLtqqspjhQmooVkQ46dQTsaHagpG586LN6hV2dO/1I9FnBAhmnq5tYPR/ uM//MLUWGUZiKa8faoswQw9QsXXkzyiFRovpxIQVa21CfWBNZCZtbhSruYB86Zuc 9y3HTtRLiL9I+YYD6DpYh3sDdej2npkyVNt6l+MqFpl6TsRgl48eWyryxXXXwt9D L1wRh7+gHWOr8yR0y8Pp2i1haUhaJOz9f9hHG9g5FZeIgEvZ74sXoLf1s/OQ5JTM BUAco1km/WM+2i+87sua2Rc3R6n0A56TuT6+EmxYZwni52k2VkL7bOQwsjsoSEGl cyloLLDDcRlkU9ixMgNdlLR1Mrj98opMtLUFCKRYiFdw/ujuK3Zb3XwARaKGpTI+ 9DHWWfb8pIAez4DxyVKNHCEXL4n860kXA3s31wGD3V4PaS/2H76dvlXHVqhyAcxw FX6o3leeEXO8Q8mQ2DC4triIEM4vHHr9uTeQDjKH+nugUyZwer0= =1jmr -----END PGP SIGNATURE----- --jqkmtzrbkj3ajhpl--