Guillaume Gomez
1219494f6f
Rollup merge of #46861 - GuillaumeGomez:fix-ios-sidebar, r=QuietMisdreavus
...
Fix sidebar on ios
r? @QuietMisdreavus
2017-12-21 13:18:21 +01:00
Guillaume Gomez
d4424d84fb
Escape more items in the sidebar when needed
2017-12-21 13:17:15 +01:00
kennytm
cc3f4357d3
Rollup merge of #46787 - varkor:contrib-6, r=QuietMisdreavus
...
Add an option to allow rustdoc to list modules by appearance
The `--sort-modules-by-appearance` option will list modules in the
order that they appear in the source, rather than sorting them
alphabetically (as is the default). This resolves #8552 .
2017-12-20 21:21:56 +08:00
Guillaume Gomez
7f5c2f9249
Fix sidebar on ios
2017-12-20 01:53:18 +01:00
Guillaume Gomez
b5f6884aeb
Rollup merge of #46825 - GuillaumeGomez:mobile-search, r=QuietMisdreavus
...
Improve search display on mobile
r? @QuietMisdreavus
2017-12-18 23:08:41 +01:00
Guillaume Gomez
25e5af8a27
Rollup merge of #46824 - GuillaumeGomez:doc-sidebar, r=QuietMisdreavus
...
Fix dynamic crates listing in doc sidebar
Fixes #46687 .
r? @QuietMisdreavus
2017-12-18 23:08:40 +01:00
Guillaume Gomez
3d4c505078
Improve search display on mobile
2017-12-18 22:30:53 +01:00
Guillaume Gomez
cf18b1f22a
Fix dynamic crates listing in doc sidebar
2017-12-18 21:15:46 +01:00
varkor
7104e8f7b4
Add an option to allow rustdoc to list modules by appearance
...
The `--sort-modules-by-appearance` option will list modules in the
order that they appear in the source, rather than sorting them
alphabetically (as is the default). This resolves #8552 .
2017-12-17 15:22:50 +00:00
Guillaume Gomez
97c18f420e
Improve results a bit
2017-12-15 15:42:38 +01:00
Guillaume Gomez
6351ebb7e5
make doc search more relevant
2017-12-15 14:44:49 +01:00
Oliver Schneider
d732da813b
Use PathBuf instead of String where applicable
2017-12-14 11:22:08 +01:00
kennytm
6a365417c0
Rollup merge of #46672 - GuillaumeGomez:fix-type-filter-search, r=QuietMisdreavus
...
Fix type filter in rustdoc js
Fixes #46612 .
r? @QuietMisdreavus
2017-12-13 04:28:06 +08:00
kennytm
c6ce7dae23
Rollup merge of #46668 - GuillaumeGomez:mobile-sidebar, r=QuietMisdreavus
...
Fix mobile doc style and improve search bar
Fixes #46593 .
r? @QuietMisdreavus
2017-12-13 04:28:05 +08:00
Guillaume Gomez
557236c508
Fix type filter in rustdoc js
2017-12-12 00:19:36 +01:00
Guillaume Gomez
a06c6bd63c
Fix mobile doc style and improve search bar
2017-12-11 22:30:04 +01:00
bors
2d4df9584b
Auto merge of #46232 - canndrew:never-docs, r=QuietMisdreavus
...
Add docs for never primitive
cc @nikomatsakis, @QuietMisdreavus
2017-12-10 19:04:25 +00:00
bors
c89e206eed
Auto merge of #46602 - mbrubeck:try, r=kennytm
...
Replace option_try macros and match with ? operator
None
2017-12-10 00:57:40 +00:00
Matt Brubeck
3024c1434a
Use Try syntax for Option in place of macros or match
2017-12-09 14:18:33 -08:00
bors
61cc23e3e5
Auto merge of #46586 - GuillaumeGomez:fix-mobile-important-display, r=QuietMisdreavus
...
Fixes doc important trait display on mobile
Fixes #46527 .
r? @QuietMisdreavus
2017-12-09 03:57:47 +00:00
Guillaume Gomez
0017d504a5
Fixes doc important trait display on mobile
2017-12-08 16:36:08 +01:00
bors
ab79caa828
Auto merge of #46247 - GuillaumeGomez:md-warnings, r=QuietMisdreqvus
...
Md warnings
Fixes #45365 .
r? @QuietMisdreavus
2017-12-08 14:10:07 +00:00
Guillaume Gomez
1b7ea6d2d4
Rollup merge of #46526 - GuillaumeGomez:mobile-sidebar, r=QuietMisdreavus
...
Greatly improve sidebar when width < 700px
Fixes #36531 .
r? @QuietMisdreavus
A few screenshots:
<img width="1440" alt="screen shot 2017-12-06 at 00 41 36" src="https://user-images.githubusercontent.com/3050060/33636875-6ad8b1a6-da1e-11e7-8d5b-d6d530ea5258.png ">
<img width="1440" alt="screen shot 2017-12-06 at 00 41 40" src="https://user-images.githubusercontent.com/3050060/33636876-6af58196-da1e-11e7-82ab-b82768958037.png ">
2017-12-07 23:59:02 +01:00
Guillaume Gomez
14f2bc0405
Rollup merge of #46444 - GuillaumeGomez:css-cleanup, r=QuietMisdreavus
...
Move colors to main.css
r? @QuietMisdreavus
2017-12-07 23:59:01 +01:00
Guillaume Gomez
eb84f4243f
fix markdown file differences
2017-12-07 23:56:21 +01:00
Guillaume Gomez
8b1fc4b842
Generate difference warnings for markdown files as well
2017-12-07 23:31:23 +01:00
Guillaume Gomez
423e5ac6f3
Fix JS errors
2017-12-07 22:55:14 +01:00
Guillaume Gomez
71b70feb1f
Greatly improve sidebar when width < 700px
2017-12-07 22:42:46 +01:00
bors
bb1bd88ec3
Auto merge of #46221 - GuillaumeGomez:doc-script-load-speedup, r=nrc
...
Speedup search loading when search url is received
Fixes #45971 .
r? @nrc
cc @rust-lang/docs
2017-12-07 09:47:01 +00:00
Corey Farwell
872c0259b6
Rollup merge of #46502 - GuillaumeGomez:improve-search-style, r=QuietMisdreavus
...
Improve search style
Fixes #46494 .
r? @QuietMisdreavus
2017-12-06 09:35:40 -05:00
bors
d10b04d3df
Auto merge of #45898 - JRegimbal:master, r=QuietMisdreavus
...
Change "Types/modules" title of search tab to be more accurate
From issue #45787 . Used "In name" as per suggestion from @Seeker14491.
2017-12-06 03:02:17 +00:00
JRegimbal
41df62ce29
Changed tab names to those agreed upon.
...
Tabs are "In Names", "In Parameters", and "In Return Types".
2017-12-05 17:39:50 -05:00
Guillaume Gomez
611d0e6cce
Improve search style
2017-12-04 22:11:21 +01:00
Corey Farwell
7c4f74d16e
Rollup merge of #46454 - GuillaumeGomez:search-overlap, r=QuietMisdreavus
...
Fix search results overlap
Fixes #46434 .
r? @QuietMisdreavus
2017-12-03 17:43:47 -05:00
bors
d0ebb4dead
Auto merge of #46433 - GuillaumeGomez:dedup-items, r=QuietMisdreavus
...
Fix deduplication of items
Fixes #45968 .
r? @QuietMisdreavus
2017-12-03 10:33:15 +00:00
bors
16ba4591d7
Auto merge of #46384 - ollie27:rustdoc_inline_assoc, r=QuietMisdreavus
...
rustdoc: Fix issues with cross-crate inlined associated items
* Visibility was missing from impl items.
* Attributes and docs were missing from consts and types in impls.
* Const default values were missing from traits.
This unifies the code that handles associated items from impls and traits.
2017-12-03 00:54:52 +00:00
Guillaume Gomez
6afff9699a
Fix search results overlap
2017-12-02 22:14:19 +01:00
Guillaume Gomez
dddf183333
Move colors to main.css
2017-12-02 13:25:23 +01:00
bors
8bcbf91a86
Auto merge of #46326 - GuillaumeGomez:sidebar-text, r=QuietMisdreavus
...
Fix invalid HTML escape
Fixes #46289 .
r? @QuietMisdreavus
2017-12-02 07:49:32 +00:00
bors
c3942e751c
Auto merge of #46288 - alexcrichton:bump-bootstrap, r=Mark-Simulacrum
...
Bump to 1.24.0
* Update the in-tree version number
* Update the bootstrap compiler
* Remove `cfg(stage0)` annotations
* Update crate dependencies
* Update Cargo itself
2017-12-02 05:21:58 +00:00
Guillaume Gomez
30734c4e68
Fix deduplication of items
2017-12-01 20:55:25 +01:00
kennytm
edaec072b9
Rollup merge of #46392 - GuillaumeGomez:fix-tooltip, r=QuietMisdreavus
...
Invert colors in important traits tooltip
Part of #46352 .
r? @QuietMisdreavus
2017-12-02 01:38:59 +08:00
Alex Crichton
a850bb0e5d
Update bootstrap compiler
...
Also remove a number of `stage0` annotations and such
2017-11-29 21:11:20 -08:00
Christian Duerr
91a4106911
Fix rustoc item summaries that are headers
...
Rustoc item summaries that are headers were not displayed at all because
they started with whitespace.
This PR fixes this and now removes the whitespace and then displays the
block.
2017-11-30 00:28:59 +01:00
Oliver Middleton
b4448435f9
rustdoc: Fix issues with cross-crate inlined associated items
...
* Visibility was missing from impl items.
* Attributes and docs were missing from consts and types in impls.
* Const default values were missing from traits.
This unifies the code that handles associated items from impls and traits.
2017-11-29 22:05:38 +00:00
Guillaume Gomez
35f5be6646
Fix invalid HTML escape
2017-11-29 19:33:04 +01:00
Guillaume Gomez
c00ba79f5c
Invert colors in important traits tooltip
2017-11-29 19:23:41 +01:00
Andrew Cann
afd094a602
link to never type docs
2017-11-28 09:38:19 +08:00
Guillaume Gomez
0a1219809d
Fix global search
2017-11-26 13:13:14 +01:00
bors
ca8ef26293
Auto merge of #46081 - GuillaumeGomez:fix-path-search, r=QuietMisdreavus
...
Fix path search
Fixes #46015 .
r? @QuietMisdreavus
2017-11-25 02:43:48 +00:00