]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #84834 - GuillaumeGomez:sidebar-unification, r=jsha
authorbors <bors@rust-lang.org>
Thu, 3 Jun 2021 02:31:44 +0000 (02:31 +0000)
committerbors <bors@rust-lang.org>
Thu, 3 Jun 2021 02:31:44 +0000 (02:31 +0000)
commit19579c656436d7998289399ca373889b8e6019ce
treeb0b92b02d7302080625bb47fe6d09d3802488d52
parentda865095cf378fbfd07145c25fe5837ea091efeb
parent9b637fa72e4d6a3aebcbf92cc4e18b94a7bf31b7
Auto merge of #84834 - GuillaumeGomez:sidebar-unification, r=jsha

Sidebar unification

This PR does a few things:
 * Put crates list at all levels (before, it was only on the "top" items)
 * Fix bug in module sidebar: the list of items was from the parent module.

The other changes (on bootstrap mostly) were to allow to generate multiple crates in a same folder so that we can ensure that clicking on the crates in the sidebar works as expected.

I added a rustdoc-gui test to ensure everything is where it should be.

r? `@jyn514`
src/librustdoc/html/layout.rs
src/librustdoc/html/render/mod.rs
src/librustdoc/html/render/print_item.rs
src/librustdoc/html/static/rustdoc.css