Skip to content

Fix display of enums with subfields #90061

Closed
@jsha

Description

@jsha

https://docs.rs/xmlparser/0.13.4/xmlparser/enum.Token.html

image

(I've expanded one of the "Show fields" toggles in the above screenshot)

Problems:

  • The font weight of "Fields of Comment" is higher than the font weight of the "Comment" heading above it. "Comment" should be larger and heavier weight - similar to the weight of methods. And "Fields of _" should be lightweight.
  • "Fields of Comment" is an <h3>, but "Comment" is not a heading at all. This should be reversed.

EDIT(camelid): The toggles seen in the image above have already been removed. See #90061 (comment) for an updated screenshot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)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