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


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

Re: Question about binary sphinx inventory files

From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Question about binary sphinx inventory files
Date 2017-08-26 10:50 +0200
Message-ID <uiEWZ-7nX-7@gated-at.bofh.it> (permalink)
References <uivh0-1nb-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi!

On Sat, Aug 26, 2017 at 12:19:57AM +0200, W. Martin Borgert wrote:
> Hi,
>
> I believe that a small number of Python module doc packages use
> binary Sphinx inventory (.inv) files during build, that are just
> downloaded from python.org by the package maintainer. I don't
> know anything about Sphinx nor how to encode/decode .inv files.
> https://pypi.python.org/pypi/sphobjinv is not in Debian, is it?
> How would I create e.g. https://docs.python.org/objects.inv
> from which sources?

The .inv files are generated by Sphinx during normal HTML build.

In case of https://docs.python.org/objects.inv, you do not need to
regenerate it yourself. You should just depend on python3-doc and
point Sphinx to /usr/share/doc/python3/html/objects.inv.

Here you can find examples of how other packages do it:

https://codesearch.debian.net/search?q=html%2Fobjects%5C.inv+path%3Adebian%2Fpatches%2F.*

--
Dmitry Shachnev

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


Thread

Question about binary sphinx inventory files "W. Martin Borgert" <debacle@debian.org> - 2017-08-26 00:30 +0200
  Re: Question about binary sphinx inventory files Tristan Seligmann <mithrandi@mithrandi.net> - 2017-08-26 01:00 +0200
    Re: Question about binary sphinx inventory files "W. Martin Borgert" <debacle@debian.org> - 2017-08-26 14:10 +0200
  Re: Question about binary sphinx inventory files Dmitry Shachnev <mitya57@debian.org> - 2017-08-26 10:50 +0200
    Re: Question about binary sphinx inventory files "W. Martin Borgert" <debacle@debian.org> - 2017-08-26 14:10 +0200

csiph-web