Guillaume Gomez
344ac25cbd
Migrate GUI colors test to original CSS color format
2023-09-10 14:10:10 +02:00
Guillaume Gomez
a0aa59c934
Migrate GUI colors test to original CSS color format
2023-09-09 11:20:03 +02:00
Guillaume Gomez
8e5dff1d38
Migrate GUI colors test to original CSS color format
2023-09-03 12:49:22 +02:00
Guillaume Gomez
7e648f0d72
Use named arguments in code-color.goml
GUI test
2023-09-03 12:46:56 +02:00
Guillaume Gomez
680b3ac787
Migrate GUI colors test to original CSS color format
2023-09-02 21:00:23 +02:00
Guillaume Gomez
a448468e28
Remove unneeded "background_color" parameter
2023-08-26 11:25:04 +02:00
Guillaume Gomez
e55ad9b0eb
Migrate GUI colors test to original CSS color format
2023-08-26 11:23:54 +02:00
bors
9bd60a60ce
Auto merge of #115078 - camelid:tydef-to-alias, r=aDotInTheVoid,GuillaumeGomez
...
rustdoc: Rename typedef to type alias
This matches the name used by the [Rust Reference][1], which is also what
people usually call these items.
[1]: https://doc.rust-lang.org/reference/items/type-aliases.html
r? `@GuillaumeGomez`
2023-08-24 04:13:28 +00:00
Noah Lev
4d9ac5df59
Fix test
2023-08-21 16:20:00 -07:00
bors
5e9d3d8a03
Auto merge of #106561 - GuillaumeGomez:warning-block, r=rustdoc
...
Add warning block support in rustdoc
Fixes https://github.com/rust-lang/rust/issues/79710 .
You can test it [here](https://rustdoc.crud.net/imperio/warning-block/foo/struct.Foo.html ). It currently looks like this:
![image](https://user-images.githubusercontent.com/3050060/211413494-e1cf04e4-c081-4a9d-97db-27329405cfa7.png )
So a few things to note:
* Since it's a new add and it's changing the UI, we'll need to go through an FCP.
* Does the UI looks good?
* Is the way picked to add a warning block ok for everyone? The discussion on the issue seemed to be in favour of this solution but it doesn't hurt to double-check.
cc `@rust-lang/rustdoc`
2023-08-21 09:26:02 +00:00
Guillaume Gomez
f2f999e7b2
Migrate GUI colors test to original CSS color format
2023-08-20 14:44:36 +02:00
Guillaume Gomez
03a3d24a11
Migrate GUI colors test to original CSS color format
2023-08-19 17:52:20 +02:00
Guillaume Gomez
87a0efbf02
Merge values with same colors
2023-08-19 17:52:15 +02:00
Guillaume Gomez
ba33bb4569
Use function to remove code duplication for search-form-elements.goml
test
2023-08-19 17:52:12 +02:00
Guillaume Gomez
a826cdbc21
Migrate GUI colors test to original CSS color format
2023-08-15 14:46:54 +02:00
Guillaume Gomez
1d42913058
Add GUI test for warning blocks
2023-08-14 13:51:41 +02:00
Guillaume Gomez
245d35168b
Migrate GUI colors test to original CSS color format
2023-08-13 11:40:23 +02:00
Guillaume Gomez
611c0ea21c
Migrate GUI colors test to original CSS color format
2023-08-12 12:05:13 +02:00
Guillaume Gomez
381ef83240
Migrate GUI colors test to original CSS color format
2023-08-08 20:31:03 +02:00
Guillaume Gomez
08ca8246f8
Migrate GUI colors test to original CSS color format
2023-08-06 12:46:35 +02:00
Guillaume Gomez
9625fc5839
Migrate GUI colors test to original CSS color format
2023-08-05 12:47:05 +02:00
Michael Goulet
a7f0900a2a
Rollup merge of #114475 - GuillaumeGomez:migrate-gui-test-color-27, r=notriddle
...
Migrate GUI colors test to original CSS color format
Follow-up of https://github.com/rust-lang/rust/pull/111459 .
r? `@notriddle`
2023-08-04 19:47:38 -07:00
Guillaume Gomez
85ed2feb67
Migrate GUI colors test to original CSS color format
2023-08-04 19:45:32 +02:00
Matthias Krüger
472b273bcf
Rollup merge of #114404 - GuillaumeGomez:migrate-gui-test-color-26, r=notriddle
...
Migrate GUI colors test to original CSS color format
Follow-up of https://github.com/rust-lang/rust/pull/111459 .
Seems like this one was forgotten...
r? `@notriddle`
2023-08-04 07:25:47 +02:00
Matthias Krüger
fb15056663
Rollup merge of #114348 - GuillaumeGomez:migrate-gui-test-color-25, r=notriddle
...
Migrate GUI colors test to original CSS color format
Follow-up of https://github.com/rust-lang/rust/pull/111459 .
r? `@notriddle`
2023-08-04 07:25:46 +02:00
Nilstrieb
5830ca216d
Add internal_features
lint
...
It lints against features that are inteded to be internal to the
compiler and standard library. Implements MCP #596 .
We allow `internal_features` in the standard library and compiler as those
use many features and this _is_ the standard library from the "internal to the compiler and
standard library" after all.
Marking some features as internal wasn't exactly the most scientific approach, I just marked some
mostly obvious features. While there is a categorization in the macro,
it's not very well upheld (should probably be fixed in another PR).
We always pass `-Ainternal_features` in the testsuite
About 400 UI tests and several other tests use internal features.
Instead of throwing the attribute on each one, just always allow them.
There's nothing wrong with testing internal features^^
2023-08-03 14:50:50 +02:00
Guillaume Gomez
d0ed4edfc6
Migrate GUI colors test to original CSS color format
2023-08-03 11:25:33 +02:00
Guillaume Gomez
c7db0f4751
Migrate GUI colors test to original CSS color format
2023-08-02 00:44:41 +02:00
Guillaume Gomez
c77329cb04
Migrate GUI colors test to original CSS color format
2023-07-31 00:48:17 +02:00
Guillaume Gomez
e06633fde6
Migrate GUI colors test to original CSS color format
2023-07-23 13:05:40 +02:00
Guillaume Gomez
d4ce83c385
Migrate GUI colors test to original CSS color format
2023-07-22 14:01:23 +02:00
Guillaume Gomez
8f5787abba
Update rustdoc GUI tests
2023-07-18 14:34:24 +02:00
Matthias Krüger
5f94c876ad
Rollup merge of #113724 - GuillaumeGomez:migrate-gui-test-color-21, r=notriddle
...
Migrate GUI colors test to original CSS color format
Follow-up of https://github.com/rust-lang/rust/pull/111459 .
r? `@notriddle`
2023-07-15 19:42:53 +02:00
Guillaume Gomez
2778b71155
Migrate GUI colors test to original CSS color format
2023-07-15 15:14:06 +02:00
Michael Howell
34bc8fbea3
rustdoc: use src
consistently over source
in code
...
The CSS uses an inconsistent mix of both. This commit switches
it to always use `src`.
2023-07-14 16:38:01 -07:00
Guillaume Gomez
6d44879eb3
Update jump to def tests
2023-07-12 16:50:43 +02:00
Guillaume Gomez
50b4d1f413
Migrate GUI colors test to original CSS color format
2023-07-08 14:56:15 +02:00
Guillaume Gomez
ef21fd57c5
Rollup merge of #113285 - GuillaumeGomez:display-long-inline-cfg, r=notriddle
...
[rustdoc] Fix display of long inline cfg labels
Fixes #87957 .
Fixes #112880 .
Before:
![Screenshot from 2023-07-03 13-25-47](https://github.com/rust-lang/rust/assets/3050060/401e2c6b-2cfd-4ae3-9d15-b5e1dfec4201 )
After:
![Screenshot from 2023-07-03 13-24-49](https://github.com/rust-lang/rust/assets/3050060/e42a34a8-bf60-409d-8a0c-1669d09e7e1e )
r? `@notriddle`
2023-07-03 18:46:14 +02:00
Guillaume Gomez
9d130582ab
Add GUI test for long inline cfg labels display
2023-07-03 13:26:40 +02:00
Matthias Krüger
0aac35db10
Rollup merge of #113258 - GuillaumeGomez:migrate-gui-test-color-19, r=notriddle
...
Migrate GUI colors test to original CSS color format
Follow-up of https://github.com/rust-lang/rust/pull/111459 .
r? `@notriddle`
2023-07-02 23:30:46 +02:00
bors
bf0e22b298
Auto merge of #108537 - GuillaumeGomez:rustdoc-search-whitespace-as-separator, r=notriddle
...
rustdoc: Allow whitespace as path separator like double colon
Fixes https://github.com/rust-lang/rust/issues/108447 .
I think it makes sense since it allows more common cases, however it also makes the syntax heavier. Not sure what the rest of the team thinks about it. In any case we'll need to go through FCP.
Full explanation for the changes is available [here](https://github.com/rust-lang/rust/pull/108537#issuecomment-1589480564 ).
r? `@notriddle`
2023-07-02 18:49:29 +00:00
Guillaume Gomez
c7847e991a
Migrate GUI colors test to original CSS color format
2023-07-02 11:15:23 +02:00
Matthias Krüger
37c50653fe
Rollup merge of #113228 - GuillaumeGomez:migrate-gui-test-color-18, r=notriddle
...
Migrate GUI colors test to original CSS color format
Follow-up of https://github.com/rust-lang/rust/pull/111459 .
r? ``@notriddle``
2023-07-02 10:27:20 +02:00
Guillaume Gomez
c607e206be
Migrate GUI colors test to original CSS color format
2023-07-01 13:18:28 +02:00
Guillaume Gomez
60c657f73a
Improve search-result-display.goml test
2023-06-30 11:45:42 +02:00
Guillaume Gomez
a716c79c29
Update GUI tests
2023-06-28 11:21:57 +02:00
Matthias Krüger
d2f82a00d0
Rollup merge of #113023 - GuillaumeGomez:migrate-gui-test-color-17, r=notriddle
...
Migrate GUI colors test to original CSS color format
Follow-up of https://github.com/rust-lang/rust/pull/111459 .
r? `@notriddle`
2023-06-25 13:48:37 +02:00
Guillaume Gomez
0979bf7413
Migrate GUI colors test to original CSS color format
2023-06-25 10:49:28 +02:00
Matthias Krüger
8816f9ee1e
Rollup merge of #112937 - camelid:align-typenames, r=notriddle,GuillaumeGomez
...
rustdoc: Align search results horizontally for easy scanning
The recent PR #110688 added info about an item's kind before its name in
search results. However, because the kind and name are inline with no
alignment, it's now hard to visually scan downward through the search
results, looking at item names. This PR fixes that by horizontally
aligning search results such that there are now two columns of
information.
r? `@GuillaumeGomez`
2023-06-25 02:04:20 +02:00
Noah Lev
9b97ae1d8c
rustdoc: Update GUI test
2023-06-24 14:30:35 -07:00