Manish Goregaokar
cdca41d684
Update Fira Sans to version 4.202
...
From https://github.com/mozilla/Fira
2019-04-20 20:50:33 -07:00
Manish Goregaokar
6bafc58ced
Update Source Code Pro fonts to version 2.030
...
Pulled in from https://github.com/adobe-fonts/source-code-pro/
2019-04-20 20:50:33 -07:00
Manish Goregaokar
e14819ac03
Update Source Serif Pro fonts to version 2.010
...
Pulled in from https://github.com/adobe-fonts/source-serif-pro/
See https://bugzilla.mozilla.org/show_bug.cgi?id=1545317
2019-04-20 20:50:33 -07:00
Guillaume Gomez
4fed94bf0d
Remove unwanted z-index change
2019-04-17 10:42:10 +02:00
Mazdak Farrokhzad
426e747b7e
Rollup merge of #59992 - QuietMisdreavus:static-settings-path, r=GuillaumeGomez
...
rustdoc: use --static-root-path for settings.js
At the time i was writing https://github.com/rust-lang/docs.rs/pull/332 , i noticed that the `settings.js` file that was being loaded was not being loaded from the `--static-root-path`. This PR fixes that so that users on docs.rs can effectively cache this file.
2019-04-16 05:14:24 +02:00
vlad-boroda
9e171937b6
change word wrapping mode
2019-04-15 20:18:53 +03:00
QuietMisdreavus
1c0e1c10d5
use --static-root-path for settings.js
2019-04-15 11:20:08 -05:00
vlad-boroda
40536548f9
Fix rustdoc sidebar z-index
2019-04-14 22:54:08 +03: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