Hi Antoine! On Fri, Oct 06, 2017 at 08:59:55PM -0400, Antoine Beaupré wrote: > I believe that those docs package already do provide docs index, e.g.: > > /usr/share/doc/python-configparser/html/objects.inv > > it's just a matter of fixing sphinx to make that work then... i wonder > if interlinks supports file:// paths?
Intersphinx supports local files (the file:// prefix is unneeded). But you
need to explicitly point it to them.
In your package (feed2exec), doc/conf.py currently has:
intersphinx_mapping = {
'click': ('http://click.pocoo.org/', None),
'jinja': ('http://jinja.pocoo.org/docs/', None),
'python': ('https://docs.python.org/3/', None),
}
You need to patch this to point to Debian packaged paths. See codesearch [1]
for examples on how others are doing it.
[1]:
https://codesearch.debian.net/search?q=html%2Fobjects%5C.inv+path%3Adebian%2Fpatches%2F.*
--
Dmitry Shachnev
signature.asc
Description: PGP signature
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

