-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustdoc: Long type names result in weird-looking documentation #120595
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Comments
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Feb 2, 2024
fmease
added
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Feb 3, 2024
The issue is related to the We even have a comment about the weird behaviour in the code, not sure how to fix this. rust/src/librustdoc/html/static/css/rustdoc.css Lines 881 to 904 in befabbc
|
@rustbot claim |
Closed
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jul 19, 2024
Rollup merge of rust-lang#127418 - GuillaumeGomez:wrap-too-long-type-name, r=notriddle Wrap too long type name Fixes rust-lang#120595. Takeover of rust-lang#126209. cc `@BradMarr` r? `@notriddle`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Crates with long type names result in a strange-looking error, see https://docs.rs/async-stripe/0.31.0/stripe/
I've tested this on Chrome and Firefox, and by building the docs locally from https://github.com/arlyon/async-stripe
I believe the text is rendering vertically due to long type names like https://docs.rs/async-stripe/0.31.0/stripe/enum.PaymentFlowsPrivatePaymentMethodsCardDetailsApiResourceEnterpriseFeaturesIncrementalAuthorizationIncrementalAuthorizationStatus.html which are auto-generated from OpenAPI.
Link to original issue arlyon/async-stripe#488
The text was updated successfully, but these errors were encountered: