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


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

Re: Packages wrongly marked as FTBFS with Sphinx 7.1, docutils 0.20

From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Packages wrongly marked as FTBFS with Sphinx 7.1, docutils 0.20
Date 2023-10-31 15:50 +0100
Message-ID <HuYe5-28CW-9@gated-at.bofh.it> (permalink)
References <HuW2B-27nP-5@gated-at.bofh.it> <HuW2B-27nP-3@gated-at.bofh.it> <HuYe5-28CW-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

On Tue, Oct 31, 2023 at 02:57:37PM +0100, Thomas Goirand wrote:
> BTW, I closed the OpenStack related bugs, but I believe upgrading
> python3-openstackdocs will fix it. The new theme builds, but when using it,
> I get:
>
> dh_sphinxdoc -O--buildsystem=python_distutils
> dh_sphinxdoc: error: debian/python-openstacksdk-doc/usr/share/doc/python-openstacksdk-doc/html/search.html
> does not load searchindex.js
>
> I'm not sure how to fix it, but I'll find out.

dh_sphinxdoc looks for either the new way of loading searchindex.js:

    <script src="searchindex.js" defer></script>

or the old way:

    jQuery(function() { Search.loadIndex("searchindex.js"); });

Looking at openstackdocstheme's search.html, it does have one of these
lines (the second one):

https://opendev.org/openstack/openstackdocstheme/src/tag/3.2.0/openstackdocstheme/theme/openstackdocs/search.html#L38

If it's there but dh_sphinxdoc still shows this error, then it's probably a
dh_sphinxdoc bug. Otherwise, please figure out why that line is not there.

> So please don't re-open bugs, I'll take care of that next week, and just
> fixing the docs theme should fix it.

OK.

--
Dmitry Shachnev

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


Thread

Re: Packages wrongly marked as FTBFS with Sphinx 7.1, docutils 0.20 Lucas Nussbaum <lucas@debian.org> - 2023-10-31 13:30 +0100
  Re: Packages wrongly marked as FTBFS with Sphinx 7.1, docutils 0.20 Dmitry Shachnev <mitya57@debian.org> - 2023-10-31 14:00 +0100
  Re: Packages wrongly marked as FTBFS with Sphinx 7.1, docutils 0.20 Dmitry Shachnev <mitya57@debian.org> - 2023-10-31 15:50 +0100
    Re: Packages wrongly marked as FTBFS with Sphinx 7.1, docutils 0.20 Dmitry Shachnev <mitya57@debian.org> - 2023-10-31 23:10 +0100

csiph-web