On Tue, 16 Jan 2024, Raphaël Hertzog wrote: > - the dark/light theme switcher is hidden because I have a ".no-js" class > that is not removed by _static/scripts/furo.js because that script fails > on the first import line (Uncaught SyntaxError: import declarations may > only appear at top level of a module). This line has been patched > by the Debian packaging, but I'm not sure if the change is the source of > the problem.
FWIW the official version post-process the javascript file and there's no visible import in the file there. So the issue seems to be that we are copying javascript files without any post-processing. Cheers, -- ⢀⣴⠾⠻⢶⣦⠀ Raphaël Hertzog <hert...@debian.org> ⣾⠁⢠⠒⠀⣿⡁ ⢿⡄⠘⠷⠚⠋ The Debian Handbook: https://debian-handbook.info/get/ ⠈⠳⣄⠀⠀⠀⠀ Debian Long Term Support: https://deb.li/LTS