summary refs log tree commit diff
path: root/src/librustdoc/html
AgeCommit message (Collapse)AuthorLines
2018-03-30Rename fs::read_string to read_to_string and stabilizeMatt Brubeck-1/+1
2018-03-30Auto merge of #49489 - kennytm:rollup, r=kennytmbors-10/+12
Rollup of 10 pull requests - Successful merges: #49443, #49445, #49446, #49463, #49464, #49466, #49468, #49473, #49484, #49486 - Failed merges:
2018-03-30Auto merge of #49412 - GuillaumeGomez:hide-type-decl, r=QuietMisdreavusbors-138/+165
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-30Rollup merge of #49445 - GuillaumeGomez:light-theme, r=QuietMisdreavuskennytm-8/+8
Rename main theme into light theme r? @QuietMisdreavus
2018-03-30Rollup merge of #49443 - GuillaumeGomez:fix-tooltip-position, r=QuietMisdreavuskennytm-2/+4
Fix tooltip position r? @QuietMisdreavus
2018-03-29Rename main theme into light themeGuillaume Gomez-8/+8
2018-03-28Fix tooltip positionGuillaume Gomez-2/+4
2018-03-28Rollup merge of #49442 - GuillaumeGomez:text-overlap, r=QuietMisdreavuskennytm-20/+43
Fix text overlap Fixes #49006. r? @QuietMisdreavus
2018-03-28Rollup merge of #49439 - GuillaumeGomez:trait-impl-collapse, r=QuietMisdreavuskennytm-10/+15
Fix trait implementation not collapsing docs r? @QuietMisdreavus
2018-03-28Rollup merge of #49429 - GuillaumeGomez:fix-collapse-toggle-insertion, ↵kennytm-0/+3
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-28Rollup merge of #49405 - GuillaumeGomez:search-appearance, r=QuietMisdreavuskennytm-3/+20
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-28Fix text overlapGuillaume Gomez-20/+43
2018-03-28Fix trait implementation not collapsing docsGuillaume Gomez-10/+15
2018-03-28Auto merge of #49304 - sinkuu:impl_trait_rustdoc, r=QuietMisdreavusbors-16/+11
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-27Fix collapse toggle insertions on impl with docsGuillaume Gomez-0/+3
2018-03-27Hide type declarations by defaultGuillaume Gomez-138/+165
2018-03-27Fix search appearanceGuillaume Gomez-3/+20
2018-03-25Rollup merge of #49312 - GuillaumeGomez:fix-ie11-search, r=QuietMisdreavuskennytm-0/+7
Fix IE11 search Fixes #49263. r? @QuietMisdreavus I got this code from: https://stackoverflow.com/a/30867255/7879548
2018-03-24CleanupShotaro Yamada-13/+2
2018-03-24Hide synthesized type parametersShotaro Yamada-3/+9
2018-03-23Fix IE11 searchGuillaume Gomez-0/+7
2018-03-23Merge branch 'master' of https://github.com/Lymia/rust into rollupAlex Crichton-4/+4
2018-03-22Rollup merge of #49189 - GuillaumeGomez:fix-implied-shortcut-links, ↵kennytm-2/+2
r=QuietMisdreavus Fix automatic urls with backticks Fixes #49164. r? @QuietMisdreavus
2018-03-22Rollup merge of #48596 - GuillaumeGomez:invalid-code-block-start, ↵kennytm-1/+6
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-19Fix automatic urls with backticksGuillaume Gomez-2/+2
2018-03-18Add warning for invalid start of code blocks in rustdocGuillaume Gomez-1/+6
2018-03-18Fix events handling in rustdocGuillaume Gomez-33/+40
2018-03-18Initial implementation of RFC 2151, Raw IdentifiersLymia Aluysia-4/+4
2018-03-17syntax: Make `_` an identifierVadim Petrochenkov-1/+1
2018-03-16fix doctestQuietMisdreavus-1/+1
2018-03-15Rollup merge of #48831 - GuillaumeGomez:fix-theme-blink, r=QuietMisdreavuskennytm-1/+5
Fix blink when main theme is selected r? @QuietMisdreavus
2018-03-13Rollup merge of #48898 - GuillaumeGomez:remove-empty-section, r=QuietMisdreavuskennytm-8/+10
Remove auto trait implementation section when empty Fixes #48882.
2018-03-13Rollup merge of #48631 - focusaurus:remember-collapse-setting, r=QuietMisdreavuskennytm-0/+6
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-12Fix blink when main theme is selectedGuillaume Gomez-1/+5
2018-03-10Auto merge of #48755 - GuillaumeGomez:rustdoc-fixes, r=QuietMisdreavusbors-64/+78
Multiple rustdoc fixes Fixes #48733. r? @QuietMisdreavus
2018-03-09Remove auto trait implementation section when emptyGuillaume Gomez-8/+10
2018-03-09Fix anchor not always being put at the right placeGuillaume Gomez-0/+3
2018-03-09Fix escape not working when searchbar selectedGuillaume Gomez-3/+6
2018-03-09Add missing items in the sidebar for functionsGuillaume Gomez-55/+52
2018-03-08Rollup merge of #48789 - GuillaumeGomez:horizontal-scroll, r=QuietMisdreavusManish Goregaokar-1/+1
Fix sidebar horizontal scroll Just like @onur said. r? @QuietMisdreavus
2018-03-06Fix sidebar horizontal scrollGuillaume Gomez-1/+1
2018-03-05Add resource-suffix option for rustdocGuillaume Gomez-27/+55
2018-03-05Don't generate '[+]'/'[-]' on 'empty' traitsGuillaume Gomez-7/+18
2018-03-01Rename doc collapse sentinal to rustdoc-collapsePeter Lyons-3/+3
2018-03-01Remember state of top-level collapse toggle widgetPeter Lyons-0/+6
2018-02-28Rollup merge of #48381 - GuillaumeGomez:rustdoc-theme-securities, ↵kennytm-11/+35
r=QuietMisdreavus Rustdoc theme securities Fixes #48375. Fixes #48376. r? @steveklabnik cc @QuietMisdreavus
2018-02-28Auto merge of #47894 - vi:rustdoc_foldable_impls, ↵bors-52/+144
r=GuillaumeGomez,QuietMisdreavus rustdoc: Foldable impl blocks Addresses #40363, #45720, #24483, #23986 and so on * Expands and refactors collapseDocs and toggleAllDocs * Adds [-] toggle to all impls (including inherent impl) * Makes it hiding though main css file, not though element inline style May need to be addressed: * "[-]" and anchor link copier are overlaid a bit * Inherent methods are also hidden by the global [-] toggle. * Auto-collapsing "Iterator" and so on by default is not implemented yet * Tested only shallowly and only in Chromiuim * No tests. Are there tests for css/js part here? * The new implementation may be a bit slower. What next steps are need to be done before the integration?
2018-02-21Rollup merge of #48382 - GuillaumeGomez:fix-rustdoc-test-panic, r=estebankGuillaume Gomez-12/+15
Fix rustdoc test ICE Fixes #48377. r? @QuietMisdreavus
2018-02-21Rollup merge of #48335 - Manishearth:shortcut-links, r=QuietMisdreavusGuillaume Gomez-9/+38
Implement implied shortcut links for intra-rustdoc-links cc https://github.com/rust-lang/rust/issues/43466 Needs https://github.com/google/pulldown-cmark/pull/126 r? @QuietMisdreavus
2018-02-20rustdoc: On mobile: hide §, adjust [+] positionVitaly _Vi Shukela-2/+6