On 07/08/14 14:11, Manish Goregaokar wrote:
:D Love the docs, especially the bit about having the docs for our own
compiler version. I usually end up running make doc myself to try and
figure out where the libraries are.

Shouldn't the rust libraries be in rust/ or something? Currently they're
interleaved with the servo crates, which is a bit confusing.

Yes, it’s a bit confusing, but it’s how rustdoc works. If we moved it to a different directory, it would be a separate search index and everything would not be cross-linked as it is now.

This is the bit of JavaScript code that generates the sidebar:

https://github.com/rust-lang/rust/blob/8a02304a44/src/librustdoc/html/static/main.js#L682-L698

I suppose we could patch it so that it generates subsections, or something.

--
Simon Sapin
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to