]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #91356 - GuillaumeGomez:improve-rustdoc-layout, r=jsha
authorbors <bors@rust-lang.org>
Sun, 5 Dec 2021 18:35:43 +0000 (18:35 +0000)
committerbors <bors@rust-lang.org>
Sun, 5 Dec 2021 18:35:43 +0000 (18:35 +0000)
commite2116acae59654bfab2a9729a024f3e2fd6d4b02
treeacf2e464a8cda6c81c8bee7b12489ac8991210ba
parent772d51f887fa407216860bf8ecf3f1a32fb795b4
parentd7528e2157762fadb9665518fd1e4dee6d6a2809
Auto merge of #91356 - GuillaumeGomez:improve-rustdoc-layout, r=jsha

Improve rustdoc layout

This is an overtake of https://github.com/rust-lang/rust/pull/89385 originally written by `@cynecx.`

I kept the original commit and simply added the missing fixes into a new one. You can test it online [here](https://rustdoc.crud.net/imperio/improve-rustdoc-layout/std/index.html).

r? `@jsha`
src/librustdoc/html/templates/page.html
src/test/rustdoc/doc-cfg.rs
src/test/rustdoc/intra-doc/prim-methods-external-core.rs
src/test/rustdoc/intra-doc/prim-methods-local.rs
src/test/rustdoc/intra-doc/prim-methods.rs
src/test/rustdoc/intra-doc/true-false.rs