about summary refs log tree commit diff
path: root/src/librustdoc/html/static
AgeCommit message (Collapse)AuthorLines
2017-10-13Auto merge of #45055 - GuillaumeGomez:search-tabs, r=QuietMisdreavusbors-22/+175
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
2017-10-12Increase padding between consecutive implsStjepan Glavina-1/+1
2017-10-12Small improvement for the sidebar on mobile devicesGuillaume Gomez-5/+7
2017-10-09Add tabs for search for better information accessGuillaume Gomez-22/+175
Make tabs work
2017-10-09let rustdoc print the crate version into docsQuietMisdreavus-0/+9
2017-10-01rustdoc: Style of [src] link for trait implementorsVitaly _Vi Shukela-1/+8
A change suggested by @GuillaumeGomez and @QuietMisdreavus. Also slight reindenting of the appropriate CSS section.
2017-09-24Rollup merge of #44789 - GuillaumeGomez:fix-rustdoc-display, r=QuietMisdreavusGuillaume Gomez-1/+1
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
2017-09-23Fix warning position in rustdoc code blocksGuillaume Gomez-1/+1
2017-09-18Rollup merge of #44671 - GuillaumeGomez:run-button, r=steveklabnikAlex Crichton-0/+5
Fix run button r? @QuietMisdreavus Before: ![before](https://user-images.githubusercontent.com/3050060/30538927-612c6a44-9c70-11e7-9ca2-f3860d880b95.png) After: ![after](https://user-images.githubusercontent.com/3050060/30538929-6416ea0e-9c70-11e7-990a-7e4fbf5d7319.png) Quite urgent.
2017-09-18Fix run buttonGuillaume Gomez-0/+5
2017-09-17Add more links and put the link character to the leftGuillaume Gomez-2/+10
2017-09-11Add arrow and improve displayGuillaume Gomez-4/+86
2017-09-11Add class for codeblocksGuillaume Gomez-0/+8
2017-08-30Fix invalid display of enum sub-fields docsGuillaume Gomez-5/+9
2017-08-28Fix invalid linker positionGuillaume Gomez-1/+6
2017-08-26Rollup merge of #43979 - Jouan:Add-links-for-impls, r=GuillaumeGomezCorey Farwell-0/+10
Add links for impls Implements a solution for issue #23552 r? @QuietMisdreavus
2017-08-23Rollup merge of #43977 - GuillaumeGomez:remove-outline, r=QuietMisdreavusCorey Farwell-0/+4
Remove outline when details have focus r? @rust-lang/docs (the green outline annoyed me a bit)
2017-08-22Fixed changes to .in-band CSSJouan Amate-0/+9
:target will specifically override .in-band background
2017-08-18Remove outline when details have focusGuillaume Gomez-0/+4
2017-08-18Add links for implsJouan Amate-3/+4
Implements a solution for issue #23552
2017-08-17Fix ES5 regression with shorthand names.pravic-4/+4
Reverts 1b6c9605e4.
2017-08-15use field init shorthand EVERYWHEREZack M. Davis-4/+4
Like #43008 (f668999), but _much more aggressive_.
2017-08-14Rollup merge of #43862 - QuietMisdreavus:get-in-line-autohide, r=GuillaumeGomezCorey Farwell-1/+1
rustdoc: put auto-hidden docblock labels in line with the toggle before: ![image](https://user-images.githubusercontent.com/5217170/29279951-0cf21d86-80df-11e7-86d5-bfd76c5df429.png) after: ![image](https://user-images.githubusercontent.com/5217170/29279962-18479ce2-80df-11e7-952a-d22cb03965e5.png) (images taken from `std::heap::AllocErr`)
2017-08-14rustdoc: put auto-hidden docblock labels in line with the toggleQuietMisdreavus-1/+1
2017-08-13Auto merge of #43348 - kennytm:fix-24658-doc-every-platform, r=alexcrichtonbors-0/+1
Expose all OS-specific modules in libstd doc. 1. Uses the special `--cfg dox` configuration passed by rustbuild when running `rustdoc`. Changes the `#[cfg(platform)]` into `#[cfg(any(dox, platform))]` so that platform-specific API are visible to rustdoc. 2. Since platform-specific implementations often won't compile correctly on other platforms, `rustdoc` is changed to apply `everybody_loops` to the functions during documentation and doc-test harness. 3. Since platform-specific code are documented on all platforms now, it could confuse users who found a useful API but is non-portable. Also, their examples will be doc-tested, so must be excluded when not testing on the native platform. An undocumented attribute `#[doc(cfg(...))]` is introduced to serve the above purposed. Fixes #24658 (Does _not_ fully implement #1998).
2017-08-11Rollup merge of #43795 - GuillaumeGomez:improve-variants-doc-style, ↵Guillaume Gomez-0/+4
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).
2017-08-11Rollup merge of #43760 - ollie27:rustdoc_search_css, r=GuillaumeGomezGuillaume Gomez-1/+1
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
2017-08-11Improve enum variants displayGuillaume Gomez-0/+4
2017-08-10Implemented #[doc(cfg(...))].kennytm-0/+1
This attribute has two effects: 1. Items with this attribute and their children will have the "This is supported on **** only" message attached in the documentation. 2. The items' doc tests will be skipped if the configuration does not match.
2017-08-09rustdoc: Fix broken CSS in search resultsOliver Middleton-1/+1
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.
2017-08-08Improve headers linkingGuillaume Gomez-0/+10
2017-08-07Auto merge of #43558 - GuillaumeGomez:union-const-colors, r=QuietMisdreavusbors-23/+31
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"> ?
2017-08-06Fix invalid background highlights and add missing colorsGuillaume Gomez-19/+24
2017-08-03Update highlight colorsGuillaume Gomez-2/+3
2017-08-03Invert constant and function colorGuillaume Gomez-2/+2
2017-08-02Improve functionsGuillaume Gomez-1/+1
2017-08-02Improve color theme for color blind issuesGuillaume Gomez-7/+7
2017-08-01rustdoc: shrink headings in non-top-level docblocksQuietMisdreavus-3/+7
2017-07-30Add colors for constants and unionsGuillaume Gomez-0/+2
2017-07-29Rollup merge of #43509 - QuietMisdreavus:method-src, r=GuillaumeGomezMark Simulacrum-0/+4
rustdoc: add [src] links to associated functions inside an impl block While impl blocks currently have a `[src]` link to show the source for the impl block as a whole, individual methods inside that impl block do not. This can pose a problem for structs with a lot of methods, like many in libstd. This change adds little `[src]` links to individual methods that point directly to the function in the bundled source. fixes #12932 ![methods on HashMap, showing the new src links](https://user-images.githubusercontent.com/5217170/28686066-9e7a19de-72cf-11e7-8e6b-b7d60fa33032.png)
2017-07-27add [src] links to associated functions inside an impl blockQuietMisdreavus-0/+4
2017-07-24Rollup merge of #43446 - zackmdavis:rustdoc_sidebar_unions, r=GuillaumeGomezMark Simulacrum-0/+1
rustdoc: add unions to whitelist of sidebar types This resolves #43405.
2017-07-23rustdoc: add unions to whitelist of sidebar typesZack M. Davis-0/+1
This resolves #43405.
2017-07-23rustdoc: fix layout of Fields section in documentation for unionsZack M. Davis-1/+1
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.
2017-07-09Add spacing between trait functionsGuillaume Gomez-0/+5
2017-06-29Toggle wrappers are now generated correctlyGuillaume Gomez-21/+28
2017-06-07Make rustdoc.js use license comments.Clar Charr-9/+11
2017-05-21Update to trait bounds CSS in rustdocDaniel Lockyer-0/+2
Fixed resubmission of #40719.
2017-05-19Rollup merge of #42096 - ollie27:rustdoc_js_impls, r=GuillaumeGomezMark Simulacrum-3/+3
rustdoc: Fix implementors list javascript * Use a different loop variable, `i` was already taken. This caused missing items in the implementors list. * Use `.getAttribute('href')` rather than `.href` to get the relative URL which is what it needs to actually fix the links. More fallout from #41307. r? @GuillaumeGomez
2017-05-19rustdoc: Fix implementors list javascriptOliver Middleton-3/+3
* Use a different loop variable, `i` was already taken. This caused missing items in the implementors list. * Use `.getAttribute('href')` rather than `.href` to get the relative URL which is what it needs to actually fix the links.