Hello, Le dim. 25 févr. 2024 à 14:24, Holger Wansing <hwans...@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