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


Groups > linux.debian.bugs.dist > #1187736

Bug#1064593: debian-policy: missing static resources for www.debian.org policy page

From Stéphane Blondon <stephane.blondon@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.policy
Subject Bug#1064593: debian-policy: missing static resources for www.debian.org policy page
Date 2024-02-27 21:40 +0100
Message-ID <Iccp3-d3oq-9@gated-at.bofh.it> (permalink)
References (2 earlier) <Ibkyl-cwfO-13@gated-at.bofh.it> <Ibkyl-cwfO-11@gated-at.bofh.it> <IbmJP-cxta-9@gated-at.bofh.it> <Ib5IZ-cmOS-1@gated-at.bofh.it> <IbmJP-cxta-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hello,

Le dim. 25 févr. 2024 à 14:24, Holger Wansing <hwansing@mailbox.org> a écrit :
>
> Hi,
> Seems there is more than only one issue:
>
> 1.
> In the binary package (debian-policy latest version) the above files and
> directories are existing, but the files are all empty (0 B size).
> However, in the previous version (4.6.2.0) the javascript .js files
> are also empty (0 B), so that's most probably not the issue.
> [...]
> In a local build here, they are all fine, and the document is displayed
> correctly. But that's build on bookworm, so sphinx version 5.3.0.
> The binary packages built by buildd will get build on sphinx 7.2.x
> I think, so maybe there is the difference?
> Maybe we need some adaption for latest sphinx version?


Sphinx Changelog (https://www.sphinx-doc.org/en/master/changes.html)
shows several incompatibilities between 5.3 and 7 branches.
Can we get the logs of the built of the package?

I will try to do some tests with Sphinx 7.2 in a virtualenv too.

>
> 2.
> The first file from above list _static/css/theme.css is likely to be
> the point, since the html layout is completely broken.
> That file is also empty in latest debian-policy binary package.
> Since it is fine in local build here, also an issue with latest sphinx
> version maybe ???
> Or do we no longer need _static/css/theme.css, as we now have
> _static/debian.css ?

We need both:
 - theme.css is the theme provided by sphinx (and must be not empty)
 - debian.css overwrites and adds some CSS to theme.css

I replaced theme.css with an empty file in my draft
(http://stephane.yaal.fr/tmp/policy/) and this change reproduces the
issue.


> 3.
> Despite the fact, that the files from above are empty, there seems to be
> another issue with debian.org website:
> [...]
> But first, we need to have a working version in the binary package,
> since that's the basis for website build.

I fully agree.

-- 
Stéphane

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1064593: debian-policy: missing static resources for www.debian.org policy page James Addison <jay@jp-hosting.net> - 2024-02-24 20:20 +0100
  Bug#1064593: debian-policy: missing static resources for www.debian.org policy page Holger Wansing <hwansing@mailbox.org> - 2024-02-25 08:50 +0100
  Bug#1064593: debian-policy: missing static resources for www.debian.org policy page James Addison <jay@jp-hosting.net> - 2024-02-25 12:10 +0100
    Bug#1064593: debian-policy: missing static resources for www.debian.org policy page Holger Wansing <hwansing@mailbox.org> - 2024-02-25 14:30 +0100
      Bug#1064593: debian-policy: missing static resources for www.debian.org policy page Stéphane Blondon <stephane.blondon@gmail.com> - 2024-02-27 21:40 +0100
        Bug#1064593: debian-policy: missing static resources for www.debian.org policy page Holger Wansing <hwansing@mailbox.org> - 2024-03-03 12:00 +0100
          Bug#1064593: debian-policy: missing static resources for www.debian.org policy page Stéphane Blondon <stephane.blondon@gmail.com> - 2024-03-04 08:40 +0100

csiph-web