bors
e82261dfbb
Auto merge of #50413 - kennytm:rollup, r=kennytm
...
Rollup of 12 pull requests
Successful merges:
- #50302 (Add query search order check)
- #50320 (Fix invalid path generation in rustdoc search)
- #50349 (Rename "show type declaration" to "show declaration")
- #50360 (Clarify wordings of the `unstable_name_collision` lint.)
- #50365 (Use two vectors in nearest_common_ancestor.)
- #50393 (Allow unaligned reads in constants)
- #50401 (Revert "Implement FromStr for PathBuf")
- #50406 (Forbid constructing empty identifiers from concat_idents)
- #50407 (Always inline simple BytePos and CharPos methods.)
- #50416 (check if the token is a lifetime before parsing)
- #50417 (Update Cargo)
- #50421 (Fix ICE when using a..=b in a closure.)
Failed merges:
2018-05-03 20:45:54 +00:00
kennytm
03a0402dbf
Rollup merge of #50320 - GuillaumeGomez:fix-search-path-generation, r=QuietMisdreavus
...
Fix invalid path generation in rustdoc search
Fixes #50311 .
2018-05-04 04:28:00 +08:00
Guillaume Gomez
a876d28b4a
Fix invalid path generation in rustdoc search
2018-05-03 22:14:37 +02:00
flip1995
121abd0599
make it compile again
2018-05-02 12:05:13 +02:00
Seiichi Uchida
9b3aea602c
Remove Option from the return type of Attribute::name()
2018-05-02 11:32:34 +02:00
Guillaume Gomez
135ee85aba
Rename "show type declaration" to "show declaration"
2018-04-30 22:32:17 +02:00
Guillaume Gomez
74412d2707
fix search load page failure
2018-04-27 17:14:29 +02:00
kennytm
e6889933e3
Rollup merge of #50229 - GuillaumeGomez:search-one-result, r=QuietMisdreavus
...
Add setting to go to item if there is only one result
Fixes #50216 .
r? @QuietMisdreavus
2018-04-27 16:23:26 +08:00
Guillaume Gomez
acf0adf798
Add setting to go to item if there is only one result
2018-04-26 19:53:21 +02:00
Irina Popa
04fa0e7bb3
rustc_target: move in syntax::abi and flip dependency.
2018-04-26 17:49:16 +03:00
Guillaume Gomez
ac0f99c03f
Some JS improvements
2018-04-25 09:01:32 +02:00
Guillaume Gomez
f33af5c4de
fix search bar bug
2018-04-23 23:55:36 +02:00
bors
28193e873c
Auto merge of #49954 - GuillaumeGomez:doc-settings, r=ollie27,QuietMisdreavus
...
Add rustdoc settings menu
Fixes #18167 .
r? @QuietMisdreavus
2018-04-22 11:04:41 +00:00
Guillaume Gomez
d0e2d26ceb
remove unused condition
2018-04-21 22:02:54 +02:00
Guillaume Gomez
ca3213c338
fix invalid items removal
2018-04-21 22:02:54 +02:00
Guillaume Gomez
03b0856849
Add aliases in the search as well
2018-04-21 22:02:53 +02:00
Guillaume Gomez
57bcabc108
Generate alias file
2018-04-21 22:02:53 +02:00
Guillaume Gomez
654cb84852
Add specific never search
2018-04-21 22:01:38 +02:00
Guillaume Gomez
1f7892f16a
Remove link generation on image, favicon and logo in settings
2018-04-21 21:59:12 +02:00
Guillaume Gomez
f2ad3c3f6c
Add rustdoc settings menu
2018-04-17 23:35:43 +02:00
Guillaume Gomez
92d29c1267
Rollup merge of #50032 - ollie27:rustdoc_all_private, r=GuillaumeGomez
...
rustdoc: Don't include private paths in all.html
For example the `std` [`all.html`](https://doc.rust-lang.org/nightly/std/all.html ) includes references to the `coresimd` module which is a private implementation detail.
r? @GuillaumeGomez
2018-04-17 18:43:17 +02:00
Guillaume Gomez
7a6fad32af
Rollup merge of #49966 - GuillaumeGomez:comma-search, r=QuietMisdreavus
...
Multiple query search
Part of #49757 .
r? @QuietMisdreavus
2018-04-17 18:43:15 +02:00
Guillaume Gomez
b2192ae157
Add rustdoc-ui test suite
2018-04-16 23:37:11 +02:00
Guillaume Gomez
c83c7c91f5
Add doc
2018-04-14 17:20:36 +02:00
Guillaume Gomez
d08f8978e7
Small size reduction
2018-04-14 17:13:46 +02:00
Guillaume Gomez
47a9ffa573
Add multi-query search
2018-04-14 17:01:28 +02:00
Oliver Middleton
abded6111b
rustdoc: Don't include private paths in all.html
2018-04-13 14:58:43 +01:00
bors
a1c21ed7e2
Auto merge of #49504 - GuillaumeGomez:doc-all-types, r=QuietMisdreavus
...
Add page to list all crate's items
r? @QuietMisdreavus
2018-04-10 06:23:52 +00:00
Guillaume Gomez
1292e51e73
Improve code
2018-04-07 13:10:49 +02:00
kennytm
91e81fa2a3
Rollup merge of #49652 - GuillaumeGomez:anchor-collapsed, r=QuietMisdreavus
...
Fix anchors issue when everything is collapsed
Fixes #49455 .
@frewsxcv does it seem good for you like this?
r? @QuietMisdreavus
2018-04-07 14:51:27 +08:00
kennytm
c41b2d6111
Rollup merge of #49510 - GuillaumeGomez:anchor-field-position, r=QuietMisdreavus
...
Fix anchor position on fields
Take a look at `Option` variants for example and try to click on `§` to get the issue.
r? @QuietMisdreavus
2018-04-07 14:51:26 +08:00
bors
2253216ec5
Auto merge of #49335 - GuillaumeGomez:remove-unneeded-trait-implementations-title, r=QuietMisdreavus
...
Remove unneeded trait implementations titles
r? @QuietMisdreavus
2018-04-06 12:03:16 +00:00
Vadim Petrochenkov
3a30bad6de
Use Ident
instead of Name
in MetaItem
2018-04-06 11:52:16 +03:00
Guillaume Gomez
238583a50f
Fix anchors issue when everything is collapsed
2018-04-04 16:16:53 +02:00
kennytm
e0c180362e
Rollup merge of #49516 - GuillaumeGomez:add-union-field-missing-anchor, r=QuietMisdreavus
...
Add missing anchor for union type fields
r? @QuietMisdreavus
2018-04-04 11:07:13 +02:00
kennytm
fcb17a4728
Rollup merge of #49515 - GuillaumeGomez:target-background, r=QuietMisdreavus
...
fix targetted value background
r? @QuietMisdreavus
2018-04-04 11:07:12 +02:00
kennytm
b7b2ae2b6f
Rollup merge of #49179 - varkor:future-deprecation, r=QuietMisdreavus,GuillaumeGomez
...
Handle future deprecation annotations
This adds special handling to the `since` parameter of the `deprecated` attribute: in particular, if the `since` version exceeds the version of the compiler, the deprecation notice will not be printed; but a note is added to the documentation stating that the item will be deprecated in a later version.
(I've used `since` for this, rather than adding a new attribute, because it's more seamless and, I feel, intuitive. Plus it involves less code churn.)
![image](https://user-images.githubusercontent.com/3943692/37611317-ef5cdf16-2b99-11e8-8251-e35e8f7b0137.png )
![image](https://user-images.githubusercontent.com/3943692/37611323-f748c2d0-2b99-11e8-966b-11408c73d416.png )
This is a prerequisite for doing things renaming methods in the standard library (e.g. #30459 ). Resolves #30785 .
2018-04-04 11:07:10 +02:00
Guillaume Gomez
760e389fa6
Add page to list all crate's items
2018-04-04 00:56:08 +02:00
varkor
44ad8fd136
Shorten deprecation note
2018-03-31 21:44:12 +01:00
Matt Brubeck
6b7627f8c9
Rename fs::read_string to read_to_string and stabilize
2018-03-30 10:20:58 -07:00
Guillaume Gomez
adaaeeaee3
Add missing anchor for union type fields
2018-03-30 16:10:16 +02:00
Guillaume Gomez
7fdee5deb9
fix targetted value background
2018-03-30 15:43:22 +02:00
Guillaume Gomez
2cbbf8d77c
Fix anchor position on fields
2018-03-30 15:16:38 +02:00
bors
d8a1bc73f7
Auto merge of #49489 - kennytm:rollup, r=kennytm
...
Rollup of 10 pull requests
- Successful merges: #49443 , #49445 , #49446 , #49463 , #49464 , #49466 , #49468 , #49473 , #49484 , #49486
- Failed merges:
2018-03-30 04:17:05 +00:00
bors
15e8c5d846
Auto merge of #49412 - GuillaumeGomez:hide-type-decl, r=QuietMisdreavus
...
Hide type declarations by default
I'm not very happy for the moment about the rendering but the bases are here:
<img width="610" alt="screen shot 2018-03-27 at 11 56 27" src="https://user-images.githubusercontent.com/3050060/37960492-0e045954-31b6-11e8-9cea-1ef8a3f980c4.png ">
r? @QuietMisdreavus
2018-03-30 01:45:54 +00:00
kennytm
eb3e2feb0d
Rollup merge of #49445 - GuillaumeGomez:light-theme, r=QuietMisdreavus
...
Rename main theme into light theme
r? @QuietMisdreavus
2018-03-30 01:31:12 +02:00
kennytm
3d316a5515
Rollup merge of #49443 - GuillaumeGomez:fix-tooltip-position, r=QuietMisdreavus
...
Fix tooltip position
r? @QuietMisdreavus
2018-03-30 01:31:10 +02:00
Guillaume Gomez
d91a821ee8
Remove unneeded trait implementations titles
2018-03-29 14:33:16 +02:00
Guillaume Gomez
772a8028ff
Rename main theme into light theme
2018-03-29 13:45:56 +02:00
Guillaume Gomez
93f96be7d9
Fix tooltip position
2018-03-28 23:26:25 +02:00