| Age | Commit message (Collapse) | Author | Lines |
|
|
|
|
|
Fix title heading overlap in rust doc
Fixes #45158.
To be noted that this margin only appears when a title is the first element.
<img width="1440" alt="screen shot 2017-10-22 at 16 08 44" src="https://user-images.githubusercontent.com/3050060/31862746-6411070e-b743-11e7-9a75-4159e1f7f1d6.png">
r? @rust-lang/docs
|
|
|
|
Limit the sidebar height
The sidebar is now fixed, which means its scrolling is independent of the main page now.
r? @rust-lang/docs
|
|
|
|
|
|
|
|
|
|
Save the highlighted item when switching tab
To be merged after #45281.
r? @rust-lang/docs
|
|
|
|
|
|
Rustdoc: Increase padding between consecutive impls
Currently, [implementors](https://doc.rust-lang.org/nightly/std/iter/trait.IntoIterator.html#implementors) list is a bit too condensed. More spacing makes the list easier to read.
Check out [this comment](https://github.com/rust-lang/rust/issues/41879#issuecomment-333121118) to see what's the effect of this change.
Closes #41879.
cc @QuietMisdreavus
|
|
r=QuietMisdreavus
Mobile sidebar improvements
Very small changes, I just made the width of the sidebar of 100% and centered vertically both items a bit more:
<img width="1440" alt="screen shot 2017-10-12 at 20 00 47" src="https://user-images.githubusercontent.com/3050060/31511496-302bb474-af88-11e7-8dab-2c88799eafcc.png">
r? @rust-lang/docs
|
|
Add tabs for search for better information access
A few screenshots:
<img width="1440" alt="screen shot 2017-10-06 at 00 54 51" src="https://user-images.githubusercontent.com/3050060/31256148-032c1a06-aa31-11e7-8e4c-fec59786b8e6.png">
<img width="1440" alt="screen shot 2017-10-06 at 00 54 58" src="https://user-images.githubusercontent.com/3050060/31256150-03312cb2-aa31-11e7-86f7-8c9f0d8d6d4f.png">
<img width="1440" alt="screen shot 2017-10-06 at 00 55 00" src="https://user-images.githubusercontent.com/3050060/31256149-0330d456-aa31-11e7-8f89-3b3c824e30b4.png">
r? @rust-lang/docs
cc @killercup @QuietMisdreavus
|
|
|
|
|
|
Make tabs work
|
|
|
|
A change suggested by @GuillaumeGomez and @QuietMisdreavus.
Also slight reindenting of the appropriate CSS section.
|
|
Fix warning position in rustdoc code blocks
Before:
<img width="1440" alt="screen shot 2017-09-23 at 14 07 08" src="https://user-images.githubusercontent.com/3050060/30773382-b9649288-a06f-11e7-94ec-faa3c3ed999b.png">
After:
<img width="1440" alt="screen shot 2017-09-23 at 14 58 31" src="https://user-images.githubusercontent.com/3050060/30773384-bdfc9f3e-a06f-11e7-9030-9fb8a5308668.png">
r? @QuietMisdreavus
|
|
|
|
Fix run button
r? @QuietMisdreavus
Before:

After:

Quite urgent.
|
|
|
|
|
|
|
|
|
|
|
|
Add links for impls
Implements a solution for issue #23552
r? @QuietMisdreavus
|
|
|
|
Implements a solution for issue #23552
|
|
r=QuietMisdreavus
Improve enum variants display
r? @rust-lang/docs
Before:
<img width="1440" alt="screen shot 2017-08-11 at 00 22 54" src="https://user-images.githubusercontent.com/3050060/29194776-728ce0e2-7e2b-11e7-8299-8300cc0c168b.png">
After:
<img width="1440" alt="screen shot 2017-08-11 at 00 22 57" src="https://user-images.githubusercontent.com/3050060/29194783-78867558-7e2b-11e7-9226-1327fd20163a.png">
(The doc of the variant is more aligned with the "[-]" now).
|
|
rustdoc: Fix broken CSS in search results
The layout is currently broken for struct/union fields and enum variants
in the search results when searching from a struct, union or enum page.
Some examples:
https://doc.rust-lang.org/nightly/std/ops/struct.RangeInclusive.html?search=start
https://doc.rust-lang.org/nightly/std/option/enum.Option.html?search=some
#34477 was an incomplete fix
|
|
|
|
The layout is currently broken for struct/union fields and enum variants
in the search results when searching from a struct, union or enum page.
|
|
|
|
Union const colors
Fixes #43523
What do you think of these colors:
<img width="1440" alt="screen shot 2017-07-30 at 15 10 57" src="https://user-images.githubusercontent.com/3050060/28753752-6b175a22-7539-11e7-978e-949f3a947d18.png">
?
|
|
|
|
|
|
|
|
|
|
Previously, the union fields would all render on the same line with
hideous spacing; comparison to the analogous section for structs makes
it undoubtable that `display: block` is the true intent.
Concisely and definitively resolves #43404 and its perfidious
malignancy.
|
|
|
|
Fixed resubmission of #40719.
|
|
|
|
rustdoc: Break words in the location box of the sidebar.
This prevents long names from overflowing.
Before:

After:

|
|
This prevents long names from overflowing.
|
|
|
|
|
|
|