Skip to content
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: awkward indent when heading is first item in docblock #92975

Closed
jsha opened this issue Jan 16, 2022 · 0 comments · Fixed by #93808
Closed

rustdoc: awkward indent when heading is first item in docblock #92975

jsha opened this issue Jan 16, 2022 · 0 comments · Fixed by #93808
Labels
A-rustdoc-ui Area: Rustdoc UI (generated HTML) T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@jsha
Copy link
Contributor

jsha commented Jan 16, 2022

On pages like https://doc.rust-lang.org/nightly/std/index.html, where the first item in the docblock is a heading, there is an awkward indent to that heading:

image

This is intentional (#45450), but we should find another way to do this that doesn't disrupt the visual flow of the document.

@jsha jsha 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) labels Jan 16, 2022
@bors bors closed this as completed in 2997ea3 Feb 10, 2022
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) T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant