Package: rust-doc
Version: 1.52.1+dfsg1-1~exp3
Severity: minor
File: /usr/share/doc/rust-doc/html/book

Heya, it looks like the HTML version of the Rust book shipped with rust-doc
lacks some of the (CSS/JS) elements of the version of the book online at
https://doc.rust-lang.org/book/ . Most notably, the top-left button that allow
to toggle the left navigation bar is missing when browsing the local HTML
version.

That is annoying as, on small screens the left navigation bar can take a lot of
space and it would be nice to be able to hide it.

I've noticed the following error in the javascript console when browsing the
local version:

  book.js:572 Uncaught ReferenceError: ClipboardJS is not defined
    at clipboard (book.js:572)
    at book.js:594

which I do not get when browsing the live version on rust-lang.org.  (Even if
the book.js is installed and properly resolvable from the HTML page.)

Thanks for maintaining rust(-doc) in Debian!

Cheers

-- System Information:
Debian Release: 11.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages rust-doc depends on:
ii  fonts-font-awesome  5.0.10+really4.7.0~dfsg-4.1
ii  fonts-open-sans     1.11-1.1
ii  libjs-highlight.js  9.18.5+dfsg1-1
ii  libjs-jquery        3.5.1+dfsg+~3.5.5-7
ii  libjs-mathjax       2.7.9+dfsg-1

Versions of packages rust-doc recommends:
ii  cargo-doc  0.47.0-3

rust-doc suggests no packages.

-- no debconf information

Reply via email to