Skip to content

Conversation

GuillaumeGomez
Copy link
Member

@GuillaumeGomez GuillaumeGomez commented Oct 14, 2024

Fixes #131704.

before after
image image

Can be tested here.

r? @notriddle

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Oct 14, 2024
@rustbot
Copy link
Collaborator

rustbot commented Oct 14, 2024

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez, @jsha

@GuillaumeGomez GuillaumeGomez changed the title Impl items indent [rustdoc] Change impl items indent Oct 14, 2024
@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez
Copy link
Member Author

Fixed tidy issue.

@rust-log-analyzer

This comment has been minimized.

@notriddle

This comment was marked as duplicate.

@rfcbot

This comment was marked as duplicate.

@notriddle notriddle added T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. and removed T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Oct 15, 2024
@notriddle

This comment was marked as duplicate.

@rfcbot

This comment was marked as duplicate.

@notriddle
Copy link
Contributor

notriddle commented Oct 15, 2024

@rfcbot poll User visible ui change

@rfcbot
Copy link

rfcbot commented Oct 15, 2024

Team member @notriddle has asked teams: T-rustdoc-frontend, for consensus on:

User visible ui change

@bors
Copy link
Collaborator

bors commented Oct 24, 2024

☔ The latest upstream changes (presumably #132099) made this pull request unmergeable. Please resolve the merge conflicts.

@GuillaumeGomez
Copy link
Member Author

Fixed merge conflict and fixed GUI test.

@rust-log-analyzer

This comment has been minimized.

@GuillaumeGomez
Copy link
Member Author

Note for future self: run ALL tests after making changes.

CI passed! \o/

@camelid
Copy link
Member

camelid commented Nov 13, 2024

Looks good, except that there's still a tiny bit of indent that makes it look weird IMO:

image

We should have the text aligned with the impl keyword, no?

@GuillaumeGomez
Copy link
Member Author

Good point! Gonna change that.

@GuillaumeGomez
Copy link
Member Author

Applied suggestion. Updated the image and the demo.

@camelid
Copy link
Member

camelid commented Nov 29, 2024

Applied suggestion. Updated the image and the demo.

Thanks, LGTM.

@GuillaumeGomez
Copy link
Member Author

Time to r+ then, thanks everyone!

@bors r=rustdoc rollup

@bors
Copy link
Collaborator

bors commented Nov 29, 2024

📌 Commit bf6fcc9 has been approved by rustdoc

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 29, 2024
bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 29, 2024
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#131323 (Support `clobber_abi` in AVR inline assembly)
 - rust-lang#131718 ([rustdoc] Change impl items indent)
 - rust-lang#133565 (chore: fix 404 status URL)
 - rust-lang#133575 (Fix typo in RELEASES.md)
 - rust-lang#133577 (Document s390x machine access via community cloud)
 - rust-lang#133584 (Update more 2024 tests to remove -Zunstable-options)
 - rust-lang#133592 (Misc: better instructions for envrc, ignore `/build` instead of `build/`)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit f46ed97 into rust-lang:master Nov 29, 2024
6 checks passed
@rustbot rustbot added this to the 1.85.0 milestone Nov 29, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Nov 29, 2024
@GuillaumeGomez GuillaumeGomez deleted the impl-items-indent branch November 29, 2024 19:54
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jan 24, 2025
…ile-indent, r=notriddle

[rustdoc] Fix indent of trait items on mobile

Before:

![Screenshot From 2025-01-24 15-38-53](https://github.com/user-attachments/assets/f7738ff8-92b6-4aca-8a66-2d3618c54572)

After:

![Screenshot From 2025-01-24 15-38-37](https://github.com/user-attachments/assets/0a19dc7e-dddd-4cd5-b087-1915e152d7c1)

Seems like we forgot them when we did rust-lang#131718. Can be tested [here](https://rustdoc.crud.net/imperio/fix-trait-items-mobile-indent/foo/trait.T.html).

r? `@notriddle`
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Jan 25, 2025
Rollup merge of rust-lang#135998 - GuillaumeGomez:fix-trait-items-mobile-indent, r=notriddle

[rustdoc] Fix indent of trait items on mobile

Before:

![Screenshot From 2025-01-24 15-38-53](https://github.com/user-attachments/assets/f7738ff8-92b6-4aca-8a66-2d3618c54572)

After:

![Screenshot From 2025-01-24 15-38-37](https://github.com/user-attachments/assets/0a19dc7e-dddd-4cd5-b087-1915e152d7c1)

Seems like we forgot them when we did rust-lang#131718. Can be tested [here](https://rustdoc.crud.net/imperio/fix-trait-items-mobile-indent/foo/trait.T.html).

r? `@notriddle`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rustdoc: Impl block docs are indented more than the child items, so they appear to not apply to the whole block
7 participants