summary refs log tree commit diff
path: root/src/librustdoc/html/static
AgeCommit message (Collapse)AuthorLines
2018-09-14Auto merge of #52962 - GuillaumeGomez:few-things, r=QuietMisdreavusbors-9/+34
Fix trait item doc setting, add new setting, start hiding elements by default and then showing them up r? @QuietMisdreavus
2018-09-12Auto merge of #53409 - GuillaumeGomez:associated-const-value, r=QuietMisdreavusbors-4/+11
Don't show associated const value anymore Part of #44348. Before: <img width="1440" alt="screen shot 2018-08-16 at 00 48 30" src="https://user-images.githubusercontent.com/3050060/44177414-20ef1480-a0ee-11e8-80d4-7caf082cf0de.png"> After: <img width="1440" alt="screen shot 2018-08-16 at 00 48 23" src="https://user-images.githubusercontent.com/3050060/44177417-251b3200-a0ee-11e8-956a-4229275e3342.png"> cc @nox r? @QuietMisdreavus
2018-09-06Fix implementors generation as wellGuillaume Gomez-3/+6
2018-09-06Fix hover on implsGuillaume Gomez-9/+15
2018-09-05Apply method docs collapse to all impl-items sectionsGuillaume Gomez-1/+3
2018-08-30Rollup merge of #53806 - GuillaumeGomez:fix-ui-issues-foreign-type-impls, ↵Pietro Albini-0/+11
r=QuietMisdreavus Fix UI issues on Implementations on Foreign types Fixes #53800. <img width="1440" alt="screen shot 2018-08-29 at 22 06 35" src="https://user-images.githubusercontent.com/3050060/44814733-e9986180-abdd-11e8-97e0-0e3c1816ca04.png"> r? @QuietMisdreavus
2018-08-29Fix UI issues on Implementations on Foreign typesGuillaume Gomez-0/+11
2018-08-27Fix invalid display of unstable messagesGuillaume Gomez-0/+5
2018-08-27Fix source automatic scrollGuillaume Gomez-0/+1
2018-08-26Rollup merge of #53706 - ehuss:rustdoc-section-anchor, r=GuillaumeGomezGuillaume Gomez-3/+2
rustdoc: Fix gap on section anchor symbol when hovering. Fixes #49485 for section headings.
2018-08-26Rollup merge of #53626 - kzys:hashchange, r=GuillaumeGomezGuillaume Gomez-16/+36
Automatically expand a section even after page load Fixes #52774
2018-08-26Rollup merge of #53043 - GuillaumeGomez:improve-unstable-msg-display, ↵Guillaume Gomez-0/+13
r=QuietMisdreavus Improve unstable message display Fixes #51387. Reopening of #51563. New display: <img width="1440" alt="screen shot 2018-08-04 at 00 01 39" src="https://user-images.githubusercontent.com/3050060/43667793-dc14f708-9779-11e8-9808-f3ff126fc213.png"> r? @QuietMisdreavus
2018-08-25rustdoc: Fix gap on section anchor symbol when hovering.Eric Huss-3/+2
Fixes #49485 for section headings.
2018-08-25Add collapser for associated constGuillaume Gomez-4/+3
2018-08-25Don't show associated const value anymoreGuillaume Gomez-0/+8
2018-08-25Expand a collapsed element on onclickKazuyoshi Kato-16/+21
Doing the expansion on onhashchange seems too late. Fixes #48726
2018-08-25Auto merge of #53577 - GuillaumeGomez:rustdoc-substring-search, ↵bors-10/+10
r=QuietMisdreavus Search a substring instead of start of string in rustdoc search Fixes #49762. r? @QuietMisdreavus
2018-08-23Check null-able variables before using themKazuyoshi Kato-3/+2
2018-08-23Automatically expand a section even after page loadKazuyoshi Kato-16/+32
Fixes #52774
2018-08-22Search a substring instead of start of string in rustdoc searchGuillaume Gomez-10/+10
2018-08-15restore the page title after escaping out of a searchJack O'Connor-0/+3
2018-08-15Fix links' colorGuillaume Gomez-4/+4
2018-08-12Rollup merge of #53267 - GuillaumeGomez:fix-styles, r=QuietMisdreavusGuillaume Gomez-4/+4
Fix styles Fixes #53262. r? @QuietMisdreavus
2018-08-11Fix stylesGuillaume Gomez-4/+4
2018-08-10Remove unwanted console logGuillaume Gomez-1/+0
2018-08-09Rollup merge of #53094 - GuillaumeGomez:automatic-expand, r=nrckennytm-0/+19
Automatically expand section if url id point to one of its component Fixes #52517. r? @nrc
2018-08-05Automatically expand section if url id point to one of its componentGuillaume Gomez-0/+19
2018-08-05Change rustdoc style so fully qualified names do not overlap src linksMike Boutin-5/+2
A type's fully qualified name will now wrap once it gets to the `[-][src]` link aligned against the right edge of the content area. Previously the two would overlap and the name would only wrap when hitting the edge of the content area. The `[-][src]` link will main at the top of the header.
2018-08-04Rollup merge of #53050 - carols10cents:rustdoc-moar-room, r=GuillaumeGomezkennytm-1/+1
Make left column of rustdoc search results narrower To make more room for the description of the item The description often has useful text that helps disambiguate between search results, but very little of it is shown. As a side effect, this breaks the alignment between the search results and the "In Return Types" tab, which tends to line up above the description-- up until I started investigating this, I thought "In Names"/"In Parameters"/"In Return Types" were column headers and I just never saw search results that had info for the "In Parameters" middle column! Now, with the two columns of search results each taking up about a half, they look more like tabs than column headers. Types that are long still wrap and look good-- I made some artificially long types in the following screenshots. Before screenshot: <img width="1258" alt="screen shot 2018-08-03 at 8 32 35 pm" src="https://user-images.githubusercontent.com/193874/43670805-56e3b3b4-975e-11e8-9296-600837d03de2.png"> After screenshot: <img width="1239" alt="screen shot 2018-08-03 at 8 31 17 pm" src="https://user-images.githubusercontent.com/193874/43670810-6591f9ac-975e-11e8-9e12-4ea9ab1e5806.png">
2018-08-04Rollup merge of #53047 - integer32llc:rustdoc-clicky-clicky, r=QuietMisdreavuskennytm-0/+5
Make entire row of doc search results clickable By adding empty `after` content that clears and is `display: block`. Technique found here: https://stackoverflow.com/a/7817313/51683 Now any part of a documentation search result that is highlighted when you hover over it should also be clickable. NOTE: THE BELOW IMAGES ARE GIFS BUT I DIDN'T MAKE THEM LOOP, OPEN IN A NEW TAB TO SEE THEM SORRY SORRY Here's what happens before this change: my mouse cursor is in the middle of the table cell, and the row is highlighted which makes it look like clicking should have an effect, but clicking doesn't do anything: ![rustdoc-clicky-clicky-before](https://user-images.githubusercontent.com/193874/43668604-d1e63392-974b-11e8-99f5-e7e11c9056e8.gif) After this change, clicking in the middle of the cell works! ![rustdoc-clicky-clicky-after](https://user-images.githubusercontent.com/193874/43668616-e522fa08-974b-11e8-8409-3826d586d1f7.gif) It even works nicely when the type is really long and wraps! (I created the type artificially because I couldn't find a long enough one in the wild) ![rustdoc-clicky-clicky-after-long](https://user-images.githubusercontent.com/193874/43668639-f962a75c-974b-11e8-9218-70bf068387a3.gif)
2018-08-03Make left column of rustdoc search results narrowerCarol (Nichols || Goulding)-1/+1
To make more room for the description of the item
2018-08-03Make entire row of doc search results clickableCarol (Nichols || Goulding)-0/+5
By adding empty `after` content that clears and is `display: block`. Technique found here: https://stackoverflow.com/a/7817313/51683 Now any part of a documentation search result that is highlighted when you hover over it should also be clickable.
2018-08-04Improve unstable message displayGuillaume Gomez-0/+13
2018-08-03Fix invalid code css ruleGuillaume Gomez-2/+2
2018-08-02Fix trait item doc setting, add new setting, start hiding elements by ↵Guillaume Gomez-9/+32
default and then showing them up
2018-07-19Auto merge of #51854 - davidtwco:rfc-2008-rustdoc, r=QuietMisdreavusbors-6/+27
RFC 2008 non-exhaustive enums/structs: Rustdoc Part of #44109. Not sure how those who maintain rustdoc primarily would prefer this addition look or where it should be placed, happy to make any changes required. r? @QuietMisdreavus (not sure if this is the right person, just guessing)
2018-07-18Updated wording and placement of non-exhaustive notice so it is collapsed by ↵David Wood-8/+25
default and easier to understand.
2018-07-12Moved non_exhaustive message to fields/variants section and onto type.David Wood-2/+4
2018-07-08Add setting to prevent doc auto-hide of trait implementationsGuillaume Gomez-10/+12
2018-07-06Rollup merge of #51793 - GuillaumeGomez:search-result-hover, r=QuietMisdreavuskennytm-1/+1
Fix variant background color on hover in search results Fixes #51792. <img width="1440" alt="screen shot 2018-06-26 at 00 37 24" src="https://user-images.githubusercontent.com/3050060/41879313-60ecf3be-78d9-11e8-9986-21af529ab758.png"> r? @QuietMisdreavus
2018-06-30reduce search-index sizeGuillaume Gomez-19/+27
2018-06-29Auto merge of #51592 - GuillaumeGomez:fix-macro-doc-search, r=GuillaumeGomezbors-4/+2
Fix macro missing from doc search Fixes #51095. r? @QuietMisdreavus
2018-06-27Include type in non-exhaustive message. Include new css in dark theme.David Wood-1/+2
2018-06-27Display #[non_exhaustive] in rustdoc on types.David Wood-1/+2
2018-06-26Fix variant background color on hover in search resultsGuillaume Gomez-1/+1
2018-06-25Remove unused variableGuillaume Gomez-1/+0
2018-06-22Auto merge of #51482 - GuillaumeGomez:table-display, r=QuietMisdreavusbors-7/+3
Greatly improve tables display in docs Fixes #51454. r? @QuietMisdreavus Before: <img width="1440" alt="screen shot 2018-06-10 at 22 43 52" src="https://user-images.githubusercontent.com/3050060/41206138-cc61b2b4-6cff-11e8-9b6f-0b1e435d4b1b.png"> After: <img width="1440" alt="screen shot 2018-06-10 at 23 33 16" src="https://user-images.githubusercontent.com/3050060/41207049-d455c03c-6d0e-11e8-968f-d4fccaeb4265.png">
2018-06-18Extend collision prevention to every typeGuillaume Gomez-5/+1
2018-06-16Fix macro missing from doc searchGuillaume Gomez-1/+4
2018-06-15Fix search fn keywordGuillaume Gomez-1/+5