varkor
44ad8fd136
Shorten deprecation note
2018-03-31 21:44:12 +01:00
Matt Brubeck
6b7627f8c9
Rename fs::read_string to read_to_string and stabilize
2018-03-30 10:20:58 -07:00
Guillaume Gomez
adaaeeaee3
Add missing anchor for union type fields
2018-03-30 16:10:16 +02:00
Guillaume Gomez
7fdee5deb9
fix targetted value background
2018-03-30 15:43:22 +02:00
Guillaume Gomez
2cbbf8d77c
Fix anchor position on fields
2018-03-30 15:16:38 +02:00
bors
d8a1bc73f7
Auto merge of #49489 - kennytm:rollup, r=kennytm
...
Rollup of 10 pull requests
- Successful merges: #49443 , #49445 , #49446 , #49463 , #49464 , #49466 , #49468 , #49473 , #49484 , #49486
- Failed merges:
2018-03-30 04:17:05 +00:00
bors
15e8c5d846
Auto merge of #49412 - GuillaumeGomez:hide-type-decl, r=QuietMisdreavus
...
Hide type declarations by default
I'm not very happy for the moment about the rendering but the bases are here:
<img width="610" alt="screen shot 2018-03-27 at 11 56 27" src="https://user-images.githubusercontent.com/3050060/37960492-0e045954-31b6-11e8-9cea-1ef8a3f980c4.png ">
r? @QuietMisdreavus
2018-03-30 01:45:54 +00:00
kennytm
eb3e2feb0d
Rollup merge of #49445 - GuillaumeGomez:light-theme, r=QuietMisdreavus
...
Rename main theme into light theme
r? @QuietMisdreavus
2018-03-30 01:31:12 +02:00
kennytm
3d316a5515
Rollup merge of #49443 - GuillaumeGomez:fix-tooltip-position, r=QuietMisdreavus
...
Fix tooltip position
r? @QuietMisdreavus
2018-03-30 01:31:10 +02:00
Guillaume Gomez
d91a821ee8
Remove unneeded trait implementations titles
2018-03-29 14:33:16 +02:00
Guillaume Gomez
772a8028ff
Rename main theme into light theme
2018-03-29 13:45:56 +02:00
Guillaume Gomez
93f96be7d9
Fix tooltip position
2018-03-28 23:26:25 +02:00
kennytm
5dc80dc31f
Rollup merge of #49442 - GuillaumeGomez:text-overlap, r=QuietMisdreavus
...
Fix text overlap
Fixes #49006 .
r? @QuietMisdreavus
2018-03-28 17:55:17 +02:00
kennytm
1a89250356
Rollup merge of #49439 - GuillaumeGomez:trait-impl-collapse, r=QuietMisdreavus
...
Fix trait implementation not collapsing docs
r? @QuietMisdreavus
2018-03-28 17:55:16 +02:00
kennytm
611ceef28d
Rollup merge of #49429 - GuillaumeGomez:fix-collapse-toggle-insertion, r=QuietMisdreavus
...
Fix collapse toggle insertions on impl with docs
Just went through this one randomly... When an impl has docs, the collapse toggle isn't generated. This fixes it.
r? @QuietMisdreavus
2018-03-28 17:55:14 +02:00
kennytm
c17ab378e9
Rollup merge of #49405 - GuillaumeGomez:search-appearance, r=QuietMisdreavus
...
Fix search appearance
Fixes #49377 .
r? @QuietMisdreavus
And a screenshot:
<img width="1016" alt="screen shot 2018-03-27 at 10 33 01" src="https://user-images.githubusercontent.com/3050060/37956373-7b522852-31ab-11e8-8915-7e20064b5edd.png ">
2018-03-28 17:55:10 +02:00
Guillaume Gomez
51f26acaea
Fix text overlap
2018-03-28 13:25:43 +02:00
Guillaume Gomez
884153a257
Fix trait implementation not collapsing docs
2018-03-28 09:51:18 +02:00
bors
e58df0d8c5
Auto merge of #49304 - sinkuu:impl_trait_rustdoc, r=QuietMisdreavus
...
Rustdoc support for universal_impl_trait
Hides type parameters synthesized by `impl Trait`-in-argument-position, and enables links to trait names.
<img alt="before" src="https://user-images.githubusercontent.com/7091080/37831646-a61413c6-2ee9-11e8-8ec2-a6137956d922.png " width="450"/>
↓
<img alt="after" src="https://user-images.githubusercontent.com/7091080/37831657-b2ff0ae6-2ee9-11e8-8797-fdad904782bf.png " width="450"/>
Fixes #49309
2018-03-28 05:29:57 +00:00
Guillaume Gomez
8be26a2ca0
Fix collapse toggle insertions on impl with docs
2018-03-27 22:49:55 +02:00
Guillaume Gomez
73b97c7e7c
Hide type declarations by default
2018-03-27 11:57:00 +02:00
Guillaume Gomez
96ef2f8ab9
Fix search appearance
2018-03-27 10:33:31 +02:00
varkor
ecaf1f57ea
Add future deprecation warning to rustdoc
2018-03-26 22:16:10 +01:00
kennytm
2580edfba0
Rollup merge of #49312 - GuillaumeGomez:fix-ie11-search, r=QuietMisdreavus
...
Fix IE11 search
Fixes #49263 .
r? @QuietMisdreavus
I got this code from: https://stackoverflow.com/a/30867255/7879548
2018-03-25 01:26:45 +08:00
Shotaro Yamada
4800afa5f5
Cleanup
2018-03-24 14:18:06 +09:00
Shotaro Yamada
5dfa5f048e
Hide synthesized type parameters
2018-03-24 14:14:21 +09:00
Guillaume Gomez
90588a9086
Fix IE11 search
2018-03-23 21:27:15 +01:00
Alex Crichton
82bb41bdab
Merge branch 'master' of https://github.com/Lymia/rust into rollup
2018-03-23 10:16:40 -07:00
kennytm
d7eda77692
Rollup merge of #49189 - GuillaumeGomez:fix-implied-shortcut-links, r=QuietMisdreavus
...
Fix automatic urls with backticks
Fixes #49164 .
r? @QuietMisdreavus
2018-03-22 22:43:43 +08:00
kennytm
a848336a31
Rollup merge of #48596 - GuillaumeGomez:invalid-code-block-start, r=QuietMisdreavus
...
Add warning for invalid start of code blocks in rustdoc
Follow up of #48382 .
Still two things to consider:
1. Adding test for rustdoc output (but where? In UI or in rustdoc tests?).
2. Try to fix the span issue.
r? @QuietMisdreavus
2018-03-22 17:51:15 +08:00
Guillaume Gomez
bac6484a31
Fix automatic urls with backticks
2018-03-19 23:25:55 +01:00
Guillaume Gomez
7786f70437
Add warning for invalid start of code blocks in rustdoc
2018-03-18 20:34:49 +01:00
Guillaume Gomez
5581aa8eeb
Fix events handling in rustdoc
2018-03-18 16:32:41 +01:00
Lymia Aluysia
fad1648e0f
Initial implementation of RFC 2151, Raw Identifiers
2018-03-18 10:07:19 -05:00
Vadim Petrochenkov
5d06c890fe
syntax: Make _ an identifier
2018-03-17 22:08:07 +03:00
QuietMisdreavus
6a38e6176b
fix doctest
2018-03-16 13:29:20 -05:00
kennytm
c65ee94365
Rollup merge of #48831 - GuillaumeGomez:fix-theme-blink, r=QuietMisdreavus
...
Fix blink when main theme is selected
r? @QuietMisdreavus
2018-03-15 00:15:45 +08:00
kennytm
e30d89d7a5
Rollup merge of #48898 - GuillaumeGomez:remove-empty-section, r=QuietMisdreavus
...
Remove auto trait implementation section when empty
Fixes #48882 .
2018-03-13 05:01:37 +08:00
kennytm
15d71d3285
Rollup merge of #48631 - focusaurus:remember-collapse-setting, r=QuietMisdreavus
...
Remember state of top-level collapse toggle widget
This change allows the big top-right expand/collapse toggle to remember its setting across navigation or page reloads. Prior to this change, there was this annoyance:
- browse to some docs
- Click the minus button to collapse them
- browse to other docs (or reload the page)
- Everything is expanded again
The solution is based on storing a simple boolean flag in localStorage. I think it's a good improvement, but it does introduce the following potentially surprising behavior:
- browse to some docs
- click the minus button to collapse them
- click to expand a particular item (not the main top-right big one)
- reload the page, everything is collapsed
Paired with @debugsteven on this.
2018-03-13 05:01:15 +08:00
Guillaume Gomez
366ee8518f
Fix blink when main theme is selected
2018-03-12 20:51:23 +01:00
bors
948e3a30e6
Auto merge of #48755 - GuillaumeGomez:rustdoc-fixes, r=QuietMisdreavus
...
Multiple rustdoc fixes
Fixes #48733 .
r? @QuietMisdreavus
2018-03-10 08:24:08 +00:00
Guillaume Gomez
7dc71ec009
Remove auto trait implementation section when empty
2018-03-09 22:18:08 +01:00
Guillaume Gomez
89f4f1bca1
Fix anchor not always being put at the right place
2018-03-09 17:45:44 +01:00
Guillaume Gomez
9e0ccc5a47
Fix escape not working when searchbar selected
2018-03-09 17:45:44 +01:00
Guillaume Gomez
6235ef0422
Add missing items in the sidebar for functions
2018-03-09 17:45:44 +01:00
Manish Goregaokar
d17eb8f68e
Rollup merge of #48789 - GuillaumeGomez:horizontal-scroll, r=QuietMisdreavus
...
Fix sidebar horizontal scroll
Just like @onur said.
r? @QuietMisdreavus
2018-03-08 11:26:00 -08:00
Guillaume Gomez
b26f108b6a
Fix sidebar horizontal scroll
2018-03-06 20:45:57 +01:00
Guillaume Gomez
831009f035
Add resource-suffix option for rustdoc
2018-03-05 23:45:27 +01:00
Guillaume Gomez
a628543891
Don't generate '[+]'/'[-]' on 'empty' traits
2018-03-05 23:39:34 +01:00
Peter Lyons
2dd81c86c5
Rename doc collapse sentinal to rustdoc-collapse
2018-03-01 02:50:32 -07:00