rust/src/librustdoc
Guillaume Gomez b19f37ca54
Rollup merge of #87167 - GuillaumeGomez:sidebar-display-mobile, r=notriddle
Fix sidebar display on small devices

Part of #87059.

Instead of hiding the sidebar on small devices, we instead move it out of the viewport so that it remains "visible" to our text only users.

Could you confirm it works for you `@ahicks92` and `@DataTriny` please? You can give it a try at [this URL](https://guillaume-gomez.fr/rustdoc-test/test_docs/index.html).

r? `@notriddle`
2021-07-16 10:08:11 +02:00
..
clean Rollup merge of #86887 - jyn514:cleanup-clean, r=CraftSpider 2021-07-13 08:54:31 +09:00
doctest Fix injected errors when running doctests on a crate named after a keyword 2021-02-11 17:16:43 -05:00
formats rustdoc: Add PrimitiveType to ItemId::Primitive 2021-07-05 19:51:56 +02:00
html Rollup merge of #87167 - GuillaumeGomez:sidebar-display-mobile, r=notriddle 2021-07-16 10:08:11 +02:00
json rustdoc: Use impl_id and for_ DefId's for Blanket item id 2021-07-05 19:51:57 +02:00
passes suggest removing disambiguator if linking to field 2021-07-12 19:48:07 +08:00
theme Clean up rustdoc static files 2021-07-07 17:52:18 +02:00
Cargo.toml Use Tera templates for rustdoc. 2021-06-20 23:07:28 -07:00
config.rs Clean up rustdoc static files 2021-07-07 17:52:18 +02:00
core.rs Revert "rustdoc: Store DefId's in ItemId on heap for decreasing Item's size" 2021-07-05 19:51:54 +02:00
docfs.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
doctest.rs Remove renaming of test crate 2021-07-13 23:38:12 -04:00
doctree.rs compute where_outer on demand, remove it from Module 2021-05-01 15:33:49 +02:00
error.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
externalfiles.rs Use Tera templates for rustdoc. 2021-06-20 23:07:28 -07:00
fold.rs rustdoc: Remove unnecessary StripItem wrapper 2021-05-04 21:56:27 -04:00
lib.rs Remove useless alias from rustc_span to itself 2021-07-13 23:38:14 -04:00
lint.rs Warn when rustdoc:: group is omitted from lint names 2021-07-03 15:32:09 -04:00
markdown.rs Remove renaming of test crate 2021-07-13 23:38:12 -04:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
theme.rs Change librustdoc write(.. \n) to writeln(..); fix comment in grammar 2021-05-03 02:19:57 -05:00
visit_ast.rs Restrict access to crate_name. 2021-06-02 18:35:32 +02:00
visit_lib.rs Remove the dummy cache in DocContext 2021-03-01 00:30:30 -05:00

For more information about how librustdoc works, see the rustc dev guide.