about summary refs log tree commit diff
path: root/src/librustdoc/html/static
AgeCommit message (Collapse)AuthorLines
2019-03-26Fix code block display in portability element in dark themeGuillaume Gomez-0/+8
2019-03-23Add testGuillaume Gomez-6/+10
2019-03-21Fix invalid returned types generationGuillaume Gomez-0/+3
2019-03-21Add bounds for return types as wellGuillaume Gomez-6/+12
2019-03-21Small generics search improvementGuillaume Gomez-1/+4
2019-03-08Fix moving text in search tabs headersGuillaume Gomez-1/+1
2019-03-02Fix "Auto-hide item methods documentation" settingGuillaume Gomez-32/+37
2019-02-20Rollup merge of #58384 - GuillaumeGomez:fix-table-display, r=QuietMisdreavuskennytm-25/+6
Fix tables display Fixes #58134. cc @lzutao r? @QuietMisdreavus
2019-02-20Rollup merge of #58336 - GuillaumeGomez:fix-search-results-interactions, ↵kennytm-2/+2
r=oli-obk Fix search results interactions The bug is visible when you search for "none": the second tab is empty and therefore it messes with the classes. Then when you try to use arrows on the third tab, it just crashes (because only 2 "search-results" are present and you're on tab 3). r? @QuietMisdreavus
2019-02-20Rollup merge of #58303 - GuillaumeGomez:stability-tags-display, ↵kennytm-9/+9
r=QuietMisdreavus Improve stability tags display The issue was the font color on dark theme. Fixed now: <img width="352" alt="screenshot 2019-02-08 at 14 15 24" src="https://user-images.githubusercontent.com/3050060/52483276-bd810380-2bb3-11e9-8d46-95368569ac85.png"> r? @QuietMisdreavus
2019-02-19Fix tables displayGuillaume Gomez-25/+6
2019-02-16Rollup merge of #58306 - GuillaumeGomez:crate-browser-history, r=QuietMisdreavuskennytm-1/+1
Don't default on std crate when manipulating browser history Fixes #58263. r? @QuietMisdreavus
2019-02-10Rollup merge of #58297 - GuillaumeGomez:cleanup-js, r=QuietMisdreavusGuillaume Gomez-8/+6
Cleanup JS a bit r? @QuietMisdreavus
2019-02-10Add trait aliases to js typesGuillaume Gomez-1/+3
2019-02-10Add style for trait aliasesGuillaume Gomez-0/+4
2019-02-10Fix search results interactionsGuillaume Gomez-2/+2
2019-02-08Don't default on std crate when manipulating browser historyGuillaume Gomez-1/+1
2019-02-08Improve stability tags displayGuillaume Gomez-9/+9
2019-02-08Cleanup JS a bitGuillaume Gomez-8/+6
2019-02-08fix rustdoc JShrls-1/+1
2019-02-07Rollup merge of #58150 - ↵Guillaume Gomez-8/+9
GuillaumeGomez:dont-apply-impl-collapse-rules-to-trait-impls, r=Manishearth Don't apply impl block collapse rules to trait impls Fixes #58147. r? @QuietMisdreavus
2019-02-07Rollup merge of #58146 - GuillaumeGomez:dont-collapse-everything, ↵Guillaume Gomez-2/+20
r=QuietMisdreavus Prevent automatic collapse of methods impl blocks Fixes #57582. r? @QuietMisdreavus
2019-02-07Rollup merge of #58086 - GuillaumeGomez:rustdoc-file-list-improvement, ↵Guillaume Gomez-2/+3
r=Manishearth [rustdoc] Improve file list display Improve a bit the arrows to show a folder's file and the arrow to show/hide the left panel. r? @QuietMisdreavus
2019-02-07Rollup merge of #58033 - euclio:rustdoc-tags, r=QuietMisdreavusGuillaume Gomez-5/+8
rustdoc: wrap stability tags in colored spans A cosmetic change to make the stability tags stand out a bit against the docs. Opening for discussion. Before: ![screen shot 2019-01-31 at 3 29 36 pm](https://user-images.githubusercontent.com/1372438/52083406-54730d80-256d-11e9-8e61-b8caff569434.png) ![screen shot 2019-01-31 at 3 31 32 pm](https://user-images.githubusercontent.com/1372438/52083408-54730d80-256d-11e9-97b7-43e808448f65.png) After: ![screen shot 2019-01-31 at 3 29 18 pm](https://user-images.githubusercontent.com/1372438/52083405-54730d80-256d-11e9-9983-19d9519b2ed8.png) ![screen shot 2019-01-31 at 3 29 46 pm](https://user-images.githubusercontent.com/1372438/52083407-54730d80-256d-11e9-8c32-11a1ad7d3f34.png) r? @QuietMisdreavus
2019-02-07Rollup merge of #57504 - GuillaumeGomez:re-enable-history, r=QuietMisdreavusGuillaume Gomez-2/+1
Re-enable history api on file:// protocol Fixes #57135. I tested locally on chrome (since it was the browser having issues with history management on `file://` protocol) and it worked fine so I guess we can re-enable it. r? @QuietMisdreavus
2019-02-07Don't apply impl block collapse rules to trait implsGuillaume Gomez-8/+9
2019-02-04Prevent automatic collapse of methods impl blocksGuillaume Gomez-2/+20
2019-02-03Improve file list displayGuillaume Gomez-2/+3
2019-01-31rustdoc: wrap stability tags in colored spansAndy Russell-5/+8
2019-01-28Rollup merge of #57859 - GuillaumeGomez:fix-background, r=QuietMisdreavusMazdak Farrokhzad-8/+0
Fix invalid background color As discussed in #57814. r? @QuietMisdreavus
2019-01-23Fix invalid background colorGuillaume Gomez-8/+0
2019-01-22Rollup merge of #57552 - GuillaumeGomez:default-images, r=QuietMisdreavusMazdak Farrokhzad-0/+0
Default images Add default rust logo (the image at the top of the sidebar) and default favicon. No more missing image or inexistent icon on the documentation tabs! r? @QuietMisdreavus
2019-01-20Add default favicon for documentationGuillaume Gomez-0/+0
2019-01-20Add default rust logo for documentationGuillaume Gomez-0/+0
2019-01-18Rollup merge of #57710 - GuillaumeGomez:non-clickable, r=QuietMisdreavusMazdak Farrokhzad-4/+0
Fix non-clickable urls Fixes #57695 I didn't find anywhere where this rule was useful. Why did you add it @JohnHeitmann? r? @QuietMisdreavus
2019-01-18Rollup merge of #57646 - GuillaumeGomez:fix-css, r=QuietMisdreavusMazdak Farrokhzad-14/+2
Fixes text becoming invisible when element targetted Fixes #57628. r? @QuietMisdreavus
2019-01-18Rollup merge of #57636 - GuillaumeGomez:fix-sources-sidebar, r=QuietMisdreavusMazdak Farrokhzad-2/+0
Fix sources sidebar not showing up Fixes #57601. The order of imports made it so that the sidebar creation was called before the sidebar sources were created. Like this, when the sources are loaded, they create the sidebar as expected. r? @QuietMisdreavus
2019-01-17Fix non-clickable urlsGuillaume Gomez-4/+0
2019-01-17End fixing search index minificationGuillaume Gomez-2/+2
2019-01-15Fixes text becoming invisible when element targettedGuillaume Gomez-14/+2
2019-01-15Fix sources sidebar not showing upGuillaume Gomez-2/+0
2019-01-15Rollup merge of #57614 - GuillaumeGomez:fix-crate-filtering, r=QuietMisdreavusMazdak Farrokhzad-1/+1
[rustdoc] Fix crates filtering box not being filled Currently, the filter crate box (at the left of the search input) is always empty. To get the number of keys of dictionary in JS, you need to call `Object.keys()` on it. r? @QuietMisdreavus
2019-01-15Fix crates filtering box not being filledGuillaume Gomez-1/+1
2019-01-13Rollup merge of #56874 - JohnHeitmann:docs-spacing, r=GuillaumeGomezMazdak Farrokhzad-15/+49
Simplify foreign type rendering. Simplified foreign type rendering by switching from tables to flexbox. Also, removed some seemingly extraneous elements like “ghost” spans. Reduces element count on the `std::iter::Iterator` page by 30%. On my laptop it drops Iterator page load time from ~15s to ~10s. Frame times during scrolling are a hair lower too. Known visual changes (happy to tweak based on feedback): * The main `impl ...` headers are now getting the default, larger, h3 font size. This was an accident, but I liked how it turned out so I didn't fix it. * There's a hair less vertical spacing between the end of a where block and the start of the next fn. Now, all spacing is consistent. I think this looks a bit worse. I may tweak vertical spacing more here or in a follow-up that cleans up vertical spacing more broadly. * "[src]" links are all sized at 17px. A few were 19px in the original. I haven't yet done heavy cross-browser or cross-crate testing. I was hoping to get a quick thumbs up or thumbs down here at this first draft, then if this is on the right track I'll spend some time on that testing. TODO: - [x] Test on Chrome - [x] Test on Firefox - [ ] ~~Test on UC Android~~ - [x] Test on Edge - [x] Test on iOS safari - [x] Test on desktop safari - [x] Update automated tests - [x] Increase vertical margin - [x] Fix "Important traits for" hover overlap - [x] Wait for #55798 to land & merge it
2019-01-10Re-enable history api on file:// protocolGuillaume Gomez-2/+1
2019-01-07Replace Heuristica with Source Serif Pro italic in rustdoc.cssTrevor Spiteri-5/+4
2019-01-07Source Serif Pro regular and bold 2.007, and italic 1.007Trevor Spiteri-117/+2
Use fonts from the Roman 2.007 and Italic 1.007 version at: https://github.com/adobe-fonts/source-serif-pro/releases/tag/2.007R-ro%2F1.007R-it The following files are used from the distribution: * WOFF/TTF/SourceSerifPro-Regular.ttf.woff * WOFF/TTF/SourceSerifPro-Bold.ttf.woff * WOFF/TTF/SourceSerifPro-It.ttf.woff These replace the older Source Serif Pro regular and bold fonts, and the Heuristica italic font.
2018-12-29Rollup merge of #57163 - JohnHeitmann:chevron-fix, r=estebankkennytm-1/+1
Give the crate select chevron room to breathe. Before: ![screen shot 2018-12-27 at 10 26 10 pm](https://user-images.githubusercontent.com/4282480/50505100-9ff24300-0a26-11e9-9b74-37bdee6faf83.png) After: ![screen shot 2018-12-27 at 10 25 57 pm](https://user-images.githubusercontent.com/4282480/50505110-a54f8d80-0a26-11e9-9fa2-7fed21773207.png)
2018-12-29Auto merge of #57006 - GuillaumeGomez:no-crate-filter, r=QuietMisdreavusbors-6/+20
Add no-crate filter option on rustdoc @onur asked me about it so here it is! r? @QuietMisdreavus
2018-12-27Give the crate select chevron room to breathe.John Heitmann-1/+1