Skip to content

rustdoc: Long type names result in weird-looking documentation #120595

Closed
@Andrewp2

Description

@Andrewp2

Crates with long type names result in a strange-looking error, see https://docs.rs/async-stripe/0.31.0/stripe/

image

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

Metadata

Metadata

Assignees

Labels

A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions