about summary refs log tree commit diff
path: root/src/librustdoc/html/static
AgeCommit message (Collapse)AuthorLines
2016-08-17Review changesNick Cameron-2/+9
2016-08-13rustdoc: Don't include the path for primitive methods in the search resultsOliver Middleton-2/+7
Displaying `std::u32::max_value` is misleading so just display `u32::max_value`.
2016-08-13rustdoc: Fix links to static items in the search resultsOliver Middleton-4/+0
2016-07-19[CSS] Fix unwanted top margin for toggle wrapperggomez-1/+4
2016-07-06Remove invalid CSS rule for doc titlesggomez-8/+0
2016-06-25rustdoc: Fix search result layout for enum variants and struct fieldsOliver Middleton-1/+1
2016-06-19rustdoc: Add more types to the sidebarOliver Middleton-1/+5
They're displayed in the same order as they are on modules pages.
2016-06-12Fix invalid inliningGuillaume Gomez-0/+4
2016-06-07Rollup merge of #34138 - hoodie:bug/bool_colors, r=steveklabnikSteve Klabnik-1/+1
Bug/bool colors This is actually #33661 @steveklabnik, sorry about this, github ate my homework
2016-06-04rustdoc: Fix a few missing colors in the CSSOliver Middleton-5/+6
This adds color to some of the search results and sidebar items which were missing.
2016-05-30Rollup merge of #33867 - oli-obk:rustdoc_variant_types, r=GuillaumeGomezManish Goregaokar-0/+19
print enum variant fields in docs Right now we are repeating enum variants at the top, because the fields aren't shown with the actual docs. It's very annoying to have to scroll up and down to have both docs and field info. For struct variants we already list the fields. enum docs look like this after this PR: ![screenshot from 2016-05-25 14-02-42](https://cloud.githubusercontent.com/assets/332036/15539231/84b018cc-2281-11e6-9666-1063655931f4.png) There are degenerate cases for enum tuple variants with lots of fields: ![screenshot from 2016-05-25 14-01-00](https://cloud.githubusercontent.com/assets/332036/15539260/91e537ca-2281-11e6-8bf1-a3d6b2e78f65.png) I was thinking that we could move the docs below the variant (slightly indented) or list the variant fields vertically instead of horizontally r? @steveklabnik
2016-05-30print enum variant fields in docsOliver Schneider-0/+19
2016-05-27Rollup merge of #33829 - GuillaumeGomez:stability-css, r=steveklabnikGuillaume Gomez-0/+4
Fix invalid background color in stability elements r? @steveklabnik
2016-05-24Fix invalid background color in stability elementsGuillaume Gomez-0/+4
2016-05-22Fixed shortcut handling. Reverted to [Shift]+[+=]Alex Ozdemir-2/+2
Realized browsers use [Ctrl]+[+=] for zoom, so using [Shift]+[+=] for collapse/expand was not necessarily a conflict. Also a bugfix.
2016-05-22Changed toggle all sections key to `T`Alex Ozdemir-1/+2
Allows both `T` and `t`. It had been [Shift]+[+] before.
2016-05-20Added a `rustdoc` shortcut for collapse/expand allAlex Ozdemir-3/+9
Now when the user presses the "+" key all sections will collapse/expand. Also added a note to the help screen which describes this behavior.
2016-05-16Fix selected item background styleGuillaume Gomez-0/+4
2016-05-15true color, fixed boolval style in docHendrik Sollich-1/+1
2016-05-10Improve "since" tag placementGuillaume Gomez-0/+6
2016-05-05Improve rustdoc css of "source" and "since" elementsggomez-4/+37
2016-05-06Update CSS for future rustdoc mergeGuillaume Gomez-0/+5
2016-04-25Improve accessibility of rustdoc pagesmitaa-1/+1
2016-03-25Avoid page reload upon hitting "S" when browing in local modeNovotnik, Petr-2/+0
2016-03-18Fix usability problem when browse document locallyYork Xiang-2/+6
2016-03-03Responsive layout correction.gohyda-3/+7
2016-02-22Auto merge of #31715 - mitaa:rdoc-index-crate, r=alexcrichtonbors-1/+14
This allows to search for crates in documentation and simplifies the json serialization of the search-index. fixes #14077
2016-02-16Add crates to search-indexmitaa-1/+14
2016-02-16doc pages: add the ability to search unknown typesBrandon W Maister-3/+3
This enables `*` in all type positions in doc searches, which I often want in order to find functions that create or convert specific types (e.g. `* -> vec`) but I don't actually know what kinds of input they expect. I actually started working on this because of #31598, but I've wanted it several times when exploring new crates.
2016-02-09Rustdoc - display `since` version for stable itemsWesley Wiser-0/+15
Fixes #27607
2016-01-20tweak trait cssSteve Klabnik-1/+1
2016-01-20tweak struct colorsSteve Klabnik-1/+1
2016-01-20tweak colors for a11ySteve Klabnik-1/+1
2016-01-02Rustdoc - Specify max-image sizeWesley Wiser-0/+4
Fixes #24861
2015-12-04Split rustdoc css to modify it more easilyGuillaume Gomez-64/+140
2015-11-05librustdoc: don't override ctrl-s and other browser shortcutsIvan Kozik-0/+4
2015-10-23Add colors for rustdoc primitives, type, and macros linksmdinger-0/+3
2015-10-23Merge same colors togethermdinger-3/+3
2015-10-14Make the rustdoc example links more noticablemdinger-7/+10
2015-10-04Auto merge of #28573 - ruud-v-a:rustdoc-license, r=brsonbors-0/+295
The output of rustdoc includes resources licensed under the SIL Open Font License, the MIT license, and the Apache License 2.0. All of these licenses permit redistribution provided that the license text is also redistributed. Previously this was not the case, making rustdoc output unsuitable for distribution by default. This resolves that problem by including the license texts in rustdoc output. See also: https://users.rust-lang.org/t/licensing-rustdoc-output/2880
2015-10-02Fix librustdoc search eventsSimonas Kazlauskas-11/+17
Previously only keyup event was looked at, which meant that pasting, cutting and otherwise changing the input without typing would not catch any updates to the search query.
2015-10-02Fix misnamed variable in rustdocSimonas Kazlauskas-1/+1
2015-10-02Auto merge of #28795 - marti1125:28696, r=alexcrichtonbors-0/+9
-Add a validation when input search is empty on top of 'startSearch()'
2015-10-01fixes #28696 Return to the default content when .search-input is empty -Add ↵Willy Aguirre-0/+9
a validation when input search is empty on top of 'startSearch()'
2015-09-27rustdoc: Remove crate name from primitives, make them turn up first in searchManish Goregaokar-0/+7
2015-09-24Add 'use strict' to playpen.jsNick Howell-0/+2
2015-09-21Clarify rustdoc output licensing with a copyright fileRuud van Asseldonk-0/+64
2015-09-19Make rustdoc output comply with licensesRuud van Asseldonk-0/+231
The output of rustdoc includes resources licensed under the SIL Open Font License, the MIT license, and the Apache License 2.0. All of these licenses permit redistribution provided that the license text is also redistributed. Previously this was not the case, making rustdoc output unsuitable for distribution by default. This resolves that problem by including the license texts in rustdoc output.
2015-09-14Disable browser history API on file:/ URLsJan-Erik Rediger-1/+2
history.pushState is defined, but not working whenever document.origin is "null" (literally that string, not just the null object). This is due to some security considerations and is unlikely to be ever working. For now just disable the usage of the history API when the documentation is accessed through a file:/ URL. See https://code.google.com/p/chromium/issues/detail?id=301210 for a Chrome-specific issue on the history API on file:/ URLs Closes #25953
2015-09-09rustdoc: Tweak the main template and CSS for semantic mark-up.Kang Seonghoon-10/+20
- section.sidebar -> nav.sidebar, also added an unordered list. - div#help -> aside#help, also added a hidden heading. - the current crate is now emphasized in the sidebar. Fixes #16310.