summary refs log tree commit diff
path: root/src/librustdoc/html
AgeCommit message (Collapse)AuthorLines
2019-04-02Rollup merge of #59452 - GuillaumeGomez:speedup-rustdoc, r=QuietMisdreavusMazdak Farrokhzad-38/+47
Speed up rustdoc run a bit r? @QuietMisdreavus
2019-03-30Remove redundant importFabian Drinck-2/+0
2019-03-30Rollup merge of #59534 - laurmaedje:collapse-blanket-impls, r=GuillaumeGomezMazdak Farrokhzad-0/+8
rustdoc: collapse blanket impls in the same way as normal impls If the rustdoc setting _Auto-hide trait implementations documentation_ is activated (on by default), normal trait implementations are collapsed by default. Blanket impls on the other hand are not collapsed. I'm not sure whether this is intended, but considering that the blanket impls for `From`, `Into`, `TryFrom`, ... are on every type, it would reduce the documentation bloat if these would also be collapsed when the setting is active. (I'm not really familiar with the codebase and therefore just copied the code for the normal impl collapsing, but I could deduplicate it into a method, of course, too.)
2019-03-30Rollup merge of #59376 - davidtwco:finally-rfc-2008-variants, ↵Mazdak Farrokhzad-1/+19
r=petrochenkov,QuietMisdreavus RFC 2008: Enum Variants Part of #44109. See [Zulip topic](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/rfc-2008/near/132663140) for previous discussion. r? @petrochenkov cc @nikomatsakis
2019-03-29Collapse blanket impls in the same way as normal implsLaurenz-0/+8
2019-03-29Support non-exhaustive enum variants in rustdoc.David Wood-1/+19
This commit adds support for non-exhaustive enum variants in rustdoc, extending the existing support for non-exhaustive enums and structs.
2019-03-27Speed up rustdoc run a bitGuillaume Gomez-38/+47
2019-03-26Rollup merge of #59424 - GuillaumeGomez:fix-stability-css, r=QuietMisdreavusGuillaume Gomez-0/+8
Fix code block display in portability element in dark theme Fixes #59261. r? @QuietMisdreavus A little screenshot: <img width="521" alt="Screenshot 2019-03-26 at 00 37 49" src="https://user-images.githubusercontent.com/3050060/54961082-9a41c600-4f5f-11e9-8040-ae6f26d368ff.png">
2019-03-26Rollup merge of #59026 - GuillaumeGomez:search-tabs-header, r=QuietMisdreavusGuillaume Gomez-1/+1
Fix moving text in search tabs headers Fixes #59005. Now, the text in the search tabs headers isn't moving anymore. r? @QuietMisdreavus
2019-03-26Rollup merge of #59004 - GuillaumeGomez:generics-handling, r=QuietMisdreavusGuillaume Gomez-21/+51
[rustdoc] Improve "in parameters" search and search more generally Fixes #58230. r? @QuietMisdreavus
2019-03-26Fix code block display in portability element in dark themeGuillaume Gomez-0/+8
2019-03-25Auto merge of #59256 - petrochenkov:derval2, r=Zoxcbors-7/+7
Make meta-item API compatible with `LocalInternedString::get` soundness fix r? @Zoxc
2019-03-23Add testGuillaume Gomez-6/+10
2019-03-23cleanupGuillaume Gomez-1/+0
2019-03-22Rollup merge of #59170 - varkor:const-generics-rustdoc, r=QuietMisdreavus,eddybMazdak Farrokhzad-29/+28
Add const generics to rustdoc Split out from #53645. This work is a collaborative effort with @yodaldevoid. The `FIXME`s are waiting on a refactor to `LazyConst`. I'll address these in a follow up, but I thought it would be better to implement the rest now to avoid bitrot. r? @QuietMisdreavus
2019-03-21Fix invalid returned types generationGuillaume Gomez-6/+23
2019-03-21Add bounds for return types as wellGuillaume Gomez-21/+24
2019-03-21Improve bounds searchGuillaume Gomez-4/+5
2019-03-21Small generics search improvementGuillaume Gomez-1/+4
2019-03-21Greatly improve generics handling in rustdoc searchGuillaume Gomez-5/+8
2019-03-21Auto merge of #58927 - GuillaumeGomez:default-keyword, r=QuietMisdreavusbors-3/+16
Add default keyword handling in rustdoc Fixes #58898. r? @QuietMisdreavus
2019-03-18Make clean::Constant display respect f.alternate()varkor-1/+3
2019-03-18Fix indentation issuevarkor-1/+1
2019-03-18Refactor `GenericArgs` to include const genericsvarkor-14/+5
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18Implement `Clean` for const genericsvarkor-0/+6
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18Rename external_typarams to external_param_namesvarkor-2/+2
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18Rename typarams to param_namesvarkor-13/+13
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-17Make meta-item API compatible with `LocalInternedString::get` soundness fixVadim Petrochenkov-7/+7
2019-03-16Rename `MetaItem::ident` to `MetaItem::path`Vadim Petrochenkov-1/+1
2019-03-16syntax: Do not accidentally treat multi-segment meta-items as single-segmentVadim Petrochenkov-8/+6
2019-03-16Rollup merge of #59158 - Manishearth:fix-minification, r=GuillaumeGomezkennytm-5/+1
Revert "Don't generate minification variable if minification disabled" Reverts #58643 Fixes #59157 https://github.com/rust-lang/rust/pull/58643 made us stop generating minification variables when minification is disabled, however they may still be needed for parent crates that were generated with minification (this will always be the case for libstd and libcore) r? @QuietMisdreavus @GuillaumeGomez
2019-03-16Rollup merge of #58873 - GuillaumeGomez:fix-auto-hide-method-doc, ↵kennytm-32/+37
r=QuietMisdreavus Fix "Auto-hide item methods documentation" setting Fixes #58825. r? @QuietMisdreavus
2019-03-14Add default keyword handling in rustdocGuillaume Gomez-3/+16
2019-03-13Revert "Don't generate minification variable if minification disabled"Manish Goregaokar-5/+1
Fixes #59157 This reverts commit b5ae4d58883151a977487de86856d9529df9d948.
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-28print doc coverage as a table of individual item typesQuietMisdreavus-1/+1
2019-02-27Support defining C compatible variadic functionsDan Robertson-17/+5
Add support for defining C compatible variadic functions in unsafe rust with extern "C".
2019-02-23Rollup merge of #58643 - GuillaumeGomez:extra-variables, r=ManishearthMazdak Farrokhzad-1/+5
Don't generate minification variables if minification disabled If the minification is disabled, there is no sense having those variables. r? @QuietMisdreavus
2019-02-23Fix tidy check errorsHirokazu Hata-2/+7
2019-02-23Transition librustdoc to 2018 editionHirokazu Hata-147/+147
2019-02-22Don't generate minification variable if minification disabledGuillaume Gomez-1/+5
2019-02-20Rollup merge of #58409 - euclio:impl-trait-wrapping, r=QuietMisdreavuskennytm-30/+38
rustdoc: respect alternate flag when formatting impl trait Fixes #58226. Before: <img width="963" alt="screen shot 2019-02-12 at 3 23 30 pm" src="https://user-images.githubusercontent.com/1372438/52665732-4496ea00-2eda-11e9-9e29-efffe43b2abf.png"> After: <img width="964" alt="screen shot 2019-02-12 at 3 23 51 pm" src="https://user-images.githubusercontent.com/1372438/52665733-452f8080-2eda-11e9-999a-dd1fb28dee16.png">
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-11/+10
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-19Auto merge of #58503 - varkor:const-generics-hir, r=petrochenkovbors-1/+12
Add const generics to the HIR Split out from https://github.com/rust-lang/rust/pull/53645. cc @yodaldevoid r? @eddyb
2019-02-17Rollup merge of #57929 - GuillaumeGomez:rustodc-remove-old-style-files, ↵kennytm-10/+15
r=ollie27 Rustdoc remove old style files Reopening of #56577 (which I can't seem to reopen...). I made the flag unstable so with this change, what was blocking the PR is now gone I assume.
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