Guillaume Gomez
180b859b26
Add comment to explain what is the top parameter
2019-05-14 14:28:32 +02:00
Guillaume Gomez
19f1bade5f
Fix items alignment
2019-04-18 23:06:49 +02:00
Guillaume Gomez
5971266301
Fixes attributes position in types decl
2019-04-18 00:02:12 +02:00
bors
ee621f4232
Auto merge of #59950 - Centril:rollup-hpmr62i, r=Centril
...
Rollup of 6 pull requests
Successful merges:
- #59776 (Apply resource-suffix to search-index and source-files scripts as well)
- #59784 (Suggest importing macros from the crate root)
- #59812 (Exclude profiler-generated symbols from MSVC __imp_-symbol workaround.)
- #59874 (Clean up handling of `-Z pgo-gen` commandline option.)
- #59890 (Don't generate empty json variables)
- #59911 (Revert "compile crates under test w/ -Zemit-stack-sizes")
Failed merges:
r? @ghost
2019-04-14 01:10:57 +00:00
Mazdak Farrokhzad
426ab8e018
Rollup merge of #59890 - GuillaumeGomez:empty-json-variables, r=QuietMisdreavus
...
Don't generate empty json variables
r? @rust-lang/rustdoc
2019-04-14 00:39:48 +02:00
Mazdak Farrokhzad
ae0bf84a14
Rollup merge of #59776 - GuillaumeGomez:apply-resource-suffix, r=QuietMisdreavus
...
Apply resource-suffix to search-index and source-files scripts as well
Fixes #59771 .
r? @QuietMisdreavus
2019-04-14 00:39:41 +02:00
Mazdak Farrokhzad
8af5c8f4cb
Rollup merge of #59855 - GuillaumeGomez:fix-attr-position-in-type-decl, r=QuietMisdreavus
...
Fix attributes position in type declaration
Fixes #59797 .
r? @rust-lang/rustdoc
2019-04-14 00:23:42 +02:00
Guillaume Gomez
4f28431e39
Apply resource-suffix to search-index and source-files scripts as well
2019-04-12 19:30:37 +02:00
Guillaume Gomez
796e6e37d6
Don't generate empty json variables
2019-04-12 19:17:46 +02:00
bors
876a3bcb15
Auto merge of #59622 - GuillaumeGomez:improve-one-char-search, r=QuietMisdreavus
...
Ensure that exact matches come first in rustdoc search
Fixes #59287 .
cc @scottmcm
r? @QuietMisdreavus
2019-04-12 08:59:03 +00:00
Guillaume Gomez
825a11ea3b
Fix attributes position in type declaration
2019-04-10 22:31:42 +02:00
Mazdak Farrokhzad
e655b91b7a
Rollup merge of #59452 - GuillaumeGomez:speedup-rustdoc, r=QuietMisdreavus
...
Speed up rustdoc run a bit
r? @QuietMisdreavus
2019-04-02 13:47:25 +02:00
Guillaume Gomez
19073676bf
Ensure that exact matches come first in rustdoc search
2019-04-02 00:09:27 +02:00
Fabian Drinck
fef3f5c88d
Remove redundant import
2019-03-30 22:37:02 +01:00
Mazdak Farrokhzad
ca14c56563
Rollup merge of #59534 - laurmaedje:collapse-blanket-impls, r=GuillaumeGomez
...
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-30 07:51:45 +01:00
Mazdak Farrokhzad
d050a157a8
Rollup merge of #59376 - davidtwco:finally-rfc-2008-variants, 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-30 07:51:34 +01:00
Laurenz
9e4ec7a568
Collapse blanket impls in the same way as normal impls
2019-03-29 19:47:19 +01:00
David Wood
49a6da2cda
Support non-exhaustive enum variants in rustdoc.
...
This commit adds support for non-exhaustive enum variants in rustdoc,
extending the existing support for non-exhaustive enums and structs.
2019-03-29 11:03:35 +01:00
Guillaume Gomez
7f2c726d6c
Speed up rustdoc run a bit
2019-03-27 19:07:48 +01:00
Guillaume Gomez
07c83488d5
Rollup merge of #59424 - GuillaumeGomez:fix-stability-css, r=QuietMisdreavus
...
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-26 22:26:43 +01:00
Guillaume Gomez
5f390f7a66
Rollup merge of #59026 - GuillaumeGomez:search-tabs-header, r=QuietMisdreavus
...
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-26 22:26:39 +01:00
Guillaume Gomez
f131f042c2
Rollup merge of #59004 - GuillaumeGomez:generics-handling, r=QuietMisdreavus
...
[rustdoc] Improve "in parameters" search and search more generally
Fixes #58230 .
r? @QuietMisdreavus
2019-03-26 22:26:36 +01:00
Guillaume Gomez
868833f9a6
Fix code block display in portability element in dark theme
2019-03-26 00:38:29 +01:00
bors
d91b32b4dc
Auto merge of #59256 - petrochenkov:derval2, r=Zoxc
...
Make meta-item API compatible with `LocalInternedString::get` soundness fix
r? @Zoxc
2019-03-25 12:21:46 +00:00
Guillaume Gomez
befe9cac91
Add test
2019-03-23 14:44:20 +01:00
Guillaume Gomez
dc628b4f67
cleanup
2019-03-23 14:43:27 +01:00
Mazdak Farrokhzad
4c79967760
Rollup merge of #59170 - varkor:const-generics-rustdoc, r=QuietMisdreavus,eddyb
...
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-22 19:31:18 +01:00
Guillaume Gomez
6bce61cd4b
Fix invalid returned types generation
2019-03-21 22:49:43 +01:00
Guillaume Gomez
aefe75095a
Add bounds for return types as well
2019-03-21 22:49:43 +01:00
Guillaume Gomez
6ae73e2ff6
Improve bounds search
2019-03-21 22:49:43 +01:00
Guillaume Gomez
d611301e3e
Small generics search improvement
2019-03-21 22:49:43 +01:00
Guillaume Gomez
64382f4b78
Greatly improve generics handling in rustdoc search
2019-03-21 22:49:42 +01:00
bors
48e354d224
Auto merge of #58927 - GuillaumeGomez:default-keyword, r=QuietMisdreavus
...
Add default keyword handling in rustdoc
Fixes #58898 .
r? @QuietMisdreavus
2019-03-21 08:55:50 +00:00
varkor
b39e664ee8
Make clean::Constant display respect f.alternate()
2019-03-18 19:44:52 +00:00
varkor
9925d9b3b6
Fix indentation issue
2019-03-18 19:44:52 +00:00
varkor
cd9a2c0b54
Refactor GenericArgs to include const generics
...
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18 19:44:51 +00:00
varkor
14913159e0
Implement Clean for const generics
...
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18 19:38:23 +00:00
varkor
c915fe0245
Rename external_typarams to external_param_names
...
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18 19:38:23 +00:00
varkor
ec6f983e24
Rename typarams to param_names
...
Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com>
2019-03-18 19:38:23 +00:00
Vadim Petrochenkov
db74efce69
Make meta-item API compatible with LocalInternedString::get soundness fix
2019-03-17 17:04:58 +03:00
Vadim Petrochenkov
63116d313d
Rename MetaItem::ident to MetaItem::path
2019-03-16 23:13:15 +03:00
Vadim Petrochenkov
8371caf5ee
syntax: Do not accidentally treat multi-segment meta-items as single-segment
2019-03-16 23:13:15 +03:00
kennytm
25e4366b4c
Rollup merge of #59158 - Manishearth:fix-minification, r=GuillaumeGomez
...
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-16 22:40:30 +08:00
kennytm
d869a7b16f
Rollup merge of #58873 - GuillaumeGomez:fix-auto-hide-method-doc, r=QuietMisdreavus
...
Fix "Auto-hide item methods documentation" setting
Fixes #58825 .
r? @QuietMisdreavus
2019-03-16 14:56:14 +08:00
Guillaume Gomez
541ad45a83
Add default keyword handling in rustdoc
2019-03-14 13:18:36 +01:00
Manish Goregaokar
c37dab7df8
Revert "Don't generate minification variable if minification disabled"
...
Fixes #59157
This reverts commit b5ae4d5888 .
2019-03-13 07:39:29 -07:00
Guillaume Gomez
6a4cced10c
Fix moving text in search tabs headers
2019-03-08 20:12:17 +01:00
Guillaume Gomez
e969de88bb
Fix "Auto-hide item methods documentation" setting
2019-03-02 17:17:08 +01:00
QuietMisdreavus
5eb1ab5265
print doc coverage as a table of individual item types
2019-02-28 16:11:21 -06:00
Dan Robertson
58147d486b
Support defining C compatible variadic functions
...
Add support for defining C compatible variadic functions in unsafe rust
with extern "C".
2019-02-27 10:21:35 -05:00