Manish Goregaokar
7aab005341
Revert "Update Source Code Pro fonts to version 2.030"
...
This reverts commit 6bafc58ced .
2019-04-29 14:15:28 -07:00
Dmitry Murzin
b6cfcd363b
Fix default value for setting "Auto-hide item methods' documentation"
2019-04-28 04:25:22 +03:00
Mazdak Farrokhzad
31a537184c
Rollup merge of #59822 - GuillaumeGomez:fix-dark-theme-css, r=Manishearth
...
Fix dark css rule
Fixes #59817 .
r? @rust-lang/rustdoc
2019-04-24 05:16:20 +02:00
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
Guillaume Gomez
0e6049ace0
Fix dark css rule
2019-04-16 20:36:16 +02:00
vlad-boroda
9e171937b6
change word wrapping mode
2019-04-15 20:18:53 +03: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
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
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
Guillaume Gomez
19073676bf
Ensure that exact matches come first in rustdoc search
2019-04-02 00:09:27 +02: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
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
868833f9a6
Fix code block display in portability element in dark theme
2019-03-26 00:38:29 +01:00
Guillaume Gomez
befe9cac91
Add test
2019-03-23 14:44:20 +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
d611301e3e
Small generics search improvement
2019-03-21 22:49:43 +01: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
kennytm
07b6d17416
Rollup merge of #58384 - GuillaumeGomez:fix-table-display, r=QuietMisdreavus
...
Fix tables display
Fixes #58134 .
cc @lzutao
r? @QuietMisdreavus
2019-02-20 11:58:22 +08:00
kennytm
d22bb1a8b4
Rollup merge of #58336 - GuillaumeGomez:fix-search-results-interactions, 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-20 11:58:16 +08:00
kennytm
120e9cb70f
Rollup merge of #58303 - GuillaumeGomez:stability-tags-display, 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-20 11:58:11 +08:00
Guillaume Gomez
b53305df7f
Fix tables display
2019-02-19 11:07:16 +01:00
kennytm
9a3e22e32f
Rollup merge of #58306 - GuillaumeGomez:crate-browser-history, r=QuietMisdreavus
...
Don't default on std crate when manipulating browser history
Fixes #58263 .
r? @QuietMisdreavus
2019-02-16 14:11:35 +08:00
Guillaume Gomez
d5a8b247be
Rollup merge of #58297 - GuillaumeGomez:cleanup-js, r=QuietMisdreavus
...
Cleanup JS a bit
r? @QuietMisdreavus
2019-02-10 21:45:18 +01:00
Guillaume Gomez
c20357a62a
Add trait aliases to js types
2019-02-10 14:49:20 +01:00
Guillaume Gomez
29354ddc15
Add style for trait aliases
2019-02-10 14:49:20 +01:00
Guillaume Gomez
69d948d347
Fix search results interactions
2019-02-10 00:37:44 +01:00
Guillaume Gomez
8f6d05b819
Don't default on std crate when manipulating browser history
2019-02-08 16:05:48 +01:00
Guillaume Gomez
9fa01da50e
Improve stability tags display
2019-02-08 15:09:05 +01:00
Guillaume Gomez
b962ecc6f9
Cleanup JS a bit
2019-02-08 12:38:47 +01:00
hrls
5288f3f967
fix rustdoc JS
2019-02-08 12:47:20 +03:00
Guillaume Gomez
da8da5e061
Rollup merge of #58150 - GuillaumeGomez:dont-apply-impl-collapse-rules-to-trait-impls, r=Manishearth
...
Don't apply impl block collapse rules to trait impls
Fixes #58147 .
r? @QuietMisdreavus
2019-02-07 14:28:40 +01:00
Guillaume Gomez
064b787fc9
Rollup merge of #58146 - GuillaumeGomez:dont-collapse-everything, r=QuietMisdreavus
...
Prevent automatic collapse of methods impl blocks
Fixes #57582 .
r? @QuietMisdreavus
2019-02-07 14:28:38 +01:00
Guillaume Gomez
f22c445053
Rollup merge of #58086 - GuillaumeGomez:rustdoc-file-list-improvement, r=Manishearth
...
[rustdoc] Improve file list display
Improve a bit the arrows to show a folder's file and the arrow to show/hide the left panel.
r? @QuietMisdreavus
2019-02-07 14:28:36 +01:00
Guillaume Gomez
f61a4f86db
Rollup merge of #58033 - euclio:rustdoc-tags, r=QuietMisdreavus
...
rustdoc: wrap stability tags in colored spans
A cosmetic change to make the stability tags stand out a bit against the docs. Opening for discussion.
Before:


After:


r? @QuietMisdreavus
2019-02-07 14:28:34 +01:00
Guillaume Gomez
55c0922201
Rollup merge of #57504 - GuillaumeGomez:re-enable-history, r=QuietMisdreavus
...
Re-enable history api on file:// protocol
Fixes #57135 .
I tested locally on chrome (since it was the browser having issues with history management on `file://` protocol) and it worked fine so I guess we can re-enable it.
r? @QuietMisdreavus
2019-02-07 14:28:27 +01:00
Guillaume Gomez
729e37da4d
Don't apply impl block collapse rules to trait impls
2019-02-07 11:48:31 +01:00
Guillaume Gomez
d0f88c4da3
Prevent automatic collapse of methods impl blocks
2019-02-04 14:59:06 +01:00