Package: furo
Version: 2023.03.27+dfsg-1
Severity: normal

Dear Maintainer,

While using furo theme with sphinx to build streamlink's documentation, I found
that furo.js fails to be loaded by Firefox with this error:

Uncaught SyntaxError: import declarations may only appear at top level of a
module

I guess that the issue is the presence of this line in furo.js:
import Gumshoe from "./gumshoe-patched.js";

Upstream package use furo on their documentation page and their furo.js [1]
doesn't have it, it is instead minified.

The issue is that the theme doesn't handle properly the theme mode between dark
or light theme (it uses a mix of both).

[1]: https://streamlink.github.io/_static/scripts/furo.js


-- System Information:
Debian Release: 12.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-9-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages furo depends on:
pn  node-normalize.css  <none>
ii  python3             3.11.2-1+b1
pn  python3-bs4         <none>
pn  python3-pygments    <none>
pn  python3-sphinx      <none>
pn  sphinx-basic-ng     <none>

furo recommends no packages.

furo suggests no packages.

--
Alexis Murzeau
PGP: B7E6 0EBB 9293 7B06 BDBC  2787 E7BD 1904 F480 937F                |

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to