[Python-modules-team] Bug#836248: /usr/bin/dh_sphinxdoc: please provide substvar for Built-Using

Dmitry Shachnev mitya57 at debian.org
Thu Sep 1 08:34:29 UTC 2016


Hi Sean,

On Wed, Aug 31, 2016 at 07:12:04PM -0700, Sean Whitton wrote:
> If a package installs sphinx documentation then it can embed code from
> sphinx themes, such as python3-alabaster.  That means it needs a
> "Built-Using: python3-alabaster (= foo)".  dh_sphinxdoc could provide a
> substvar for this purpose.

This makes sense. I will implement it when I have time.

In fact it affects not only Alabaster, but most other themes too (like
Sphinx' own built-in basic.css).

> (Is there some reason why the copy of the theme is not turned into
> symlinks by dh_sphinxdoc, as embedded javascript is?)

alabaster.css is generated from the template, so the resulting files
may vary from package to package.

If you open /usr/lib/python3/dist-packages/alabaster/static/alabaster.css_t
you will see quite a lot template code there which will be replaced in
actual packages.

-- 
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20160901/7d971469/attachment.sig>


More information about the Python-modules-team mailing list