[Pkg-rust-maintainers] Bug#934938: [cargo-docs] missing files
Ximin Luo
infinity0 at debian.org
Sat Aug 17 00:10:00 BST 2019
Hi, it will be non-trivial to fix this bug and I personally am unlikely to have time for it. You will need to:
1. vendor mdbook as well as cargo. This will involve editing the debian scripts in debian/make_orig_multi.sh, something that involves calling `cargo vendor` for the src/doc directory.
2. patch mdbook in the same way that we do so in the Debian rustc package, to make it not generate links to online javascript and other resources, but instead load them locally.
3. build mdbook during the cargo build
4. call mdbook to build the cargo doc
jnqnfe at gmail.com:
> Package: cargo-doc
> Version: 0.37.0-3
>
> This package surely is intended to bundle the docs as available here,
> is it not?: https://doc.rust-lang.org/cargo/index.html
>
> if I browse through the contents of /usr/share/doc/cargo-doc, there's
> nothing useful at all, unlike /usr/share/doc/rust-doc/ from `rust-
> doc`...
>
--
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git
More information about the Pkg-rust-maintainers
mailing list