about summary refs log tree commit diff
path: root/src/librustdoc/html/layout.rs
AgeCommit message (Collapse)AuthorLines
2018-12-20new --static-root-path flag for controlling static file locationsQuietMisdreavus-14/+25
2018-12-15Auto merge of #56005 - GuillaumeGomez:speedup-doc-render, r=QuietMisdreavusbors-0/+1
Greatly improve rustdoc rendering speed issues Fixes #55900. So a few improvements here: * we're switching to `DOMTokenList` API when available providing a replacement if it isn't (should only happen on safari and IE I think...) * hide doc sections by default to allow the whole HTML generation to happen in the background to avoid triggering DOM redraw all the times (which killed the performances) r? @QuietMisdreavus
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-3/+3
2018-12-06Show everything when noscript is onGuillaume Gomez-0/+1
2018-12-06Rollup merge of #56332 - GuillaumeGomez:specifi-crate-search, r=QuietMisdreavusPietro Albini-5/+13
[rustdoc] Specific crate search Reopening of #54706. Fixes #54616. <img width="1440" alt="screenshot 2018-11-29 at 01 29 11" src="https://user-images.githubusercontent.com/3050060/49191372-979adf80-f376-11e8-963e-e4feb927c1da.png"> r? @QuietMisdreavus
2018-12-03Don't generate suffix for source-file.jsGuillaume Gomez-3/+2
2018-11-29Add arrow to the crate select boxGuillaume Gomez-0/+3
2018-11-28Add crate filteringGuillaume Gomez-5/+10
2018-11-24Source sidebar improvementsGuillaume Gomez-2/+3
2018-11-24Add source file sidebarGuillaume Gomez-1/+7
2018-10-17[librustdoc] Disable spellcheck for search fieldAlexander Komarov-0/+1
2018-08-23use String::new() instead of String::from(""), "".to_string(), "".to_owned() ↵Matthias Krüger-3/+3
or "".into()
2018-07-25Add missing dynTatsuyuki Ishi-2/+2
2018-04-27fix search load page failureGuillaume Gomez-1/+1
2018-04-22Auto merge of #49954 - GuillaumeGomez:doc-settings, r=ollie27,QuietMisdreavusbors-2/+6
Add rustdoc settings menu Fixes #18167. r? @QuietMisdreavus
2018-04-21Generate alias fileGuillaume Gomez-0/+1
2018-04-17Add rustdoc settings menuGuillaume Gomez-2/+6
2018-04-14Add docGuillaume Gomez-0/+4
2018-04-14Small size reductionGuillaume Gomez-122/+106
2018-03-29Rename main theme into light themeGuillaume Gomez-1/+1
2018-03-05Add resource-suffix option for rustdocGuillaume Gomez-11/+16
2018-01-24Few fixes for multiple themes support featureGuillaume Gomez-3/+5
2018-01-23Fasten even more theme switchGuillaume Gomez-2/+11
2018-01-22Fasten up theme loadingGuillaume Gomez-3/+4
2018-01-22Change theme iconGuillaume Gomez-1/+2
2018-01-21Add possibility to have multiple themesGuillaume Gomez-2/+6
2018-01-15extended dt with kbd tagsMarcel Hellwig-8/+10
removed styling of dt tages, which would make them look like keys and added <kbd> tag inside of dt tag. Added css style for kbd and removed some stylings for dt
2017-12-07Greatly improve sidebar when width < 700pxGuillaume Gomez-0/+1
2017-11-07Add "-" shortcutGuillaume Gomez-1/+1
2017-10-19Auto merge of #45288 - GuillaumeGomez:tab-key-binding, r=QuietMisdreavusbors-0/+2
Save the highlighted item when switching tab To be merged after #45281. r? @rust-lang/docs
2017-10-14Fix arrow displayGuillaume Gomez-2/+2
2017-10-14Save current highlighted item in search tabGuillaume Gomez-0/+2
2017-05-02Remove jquery dependencyGuillaume Gomez-1/+0
2017-03-28Make the rustdoc sidebar white on `src` pagesWesley Wiser-2/+2
Fixes #40724
2016-12-19Don't @import normalize.css.Clar Charr-0/+1
2016-10-15rustdoc: Improve playground run buttonsOliver Middleton-9/+0
The main change is to stop using javascript to generate the URLs and use rustdoc instead. This also adds run buttons to the error index examples.
2016-10-05Fixes run button appearing when it shouldn'tGuillaume Gomez-2/+2
2016-08-17rustdoc: refactoring and tidying upNick Cameron-3/+3
pulled out of #35020
2016-05-20Added a `rustdoc` shortcut for collapse/expand allAlex Ozdemir-0/+2
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-03Remove unused trait imports flagged by lintSeo Sanghyeon-1/+0
2016-04-05Add --extend-css option to rustdocGuillaume Gomez-2/+10
2016-02-16doc pages: add the ability to search unknown typesBrandon W Maister-1/+1
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-01-20Add alt tags for logosSteve Klabnik-1/+1
2015-12-04Split rustdoc css to modify it more easilyGuillaume Gomez-0/+1
2015-11-18Fix unpredictable ordering of sidebar boxes in rustdocJoshua Holmer-1/+1
A race condition in Javascript was causing unpredictable ordering of the sidebar boxes when loading documentation generated by rustdoc, due to the script that adds the Crates box being executed asynchronously. Disabling the asynchronous execution and deferring this script should ensure that the Crates box always appears last in the sidebox (this seemed to be the more common ordering prior to this change). Fixes #29698
2015-09-09rustdoc: Tweak the main template and CSS for semantic mark-up.Kang Seonghoon-6/+8
- 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.
2015-08-04Improve rustdoc search type filtering.Eljay-2/+2
2015-07-20librustdoc: blur page when help dialogue is presentAndreas Tolfsen-31/+38
Blurs the document's background when the help dialogue is present, making the contents of the dialogue stand out more.
2015-07-08librustdoc: sharpen help dialogue edgesAndreas Tolfsen-3/+3
Sharpens the help dialogues edges by removing border-padding, which matches better with the rest of the document. Also increases somewhat the rounded edges of the key symbols to make it clear they are symbols. Also introduces closing apostrophes and ellipsis for search field placeholder.
2015-05-06Add note about type signature searching to docsAndrei Oprea-0/+4