Skip to content

rustdoc: restore header sizes - #85396

Merged
bors merged 1 commit into
rust-lang:masterfrom
jsha:top-doc-font-sizes
May 19, 2021
Merged

rustdoc: restore header sizes#85396
bors merged 1 commit into
rust-lang:masterfrom
jsha:top-doc-font-sizes

Conversation

@jsha

@jshajsha commented May 17, 2021

Copy link
Copy Markdown
Contributor

The <details> toggle work changed the relationship from #main to the top-doc docblock so it was no longer a parent relationship but a great-grandparent relationship. This updates the CSS rules that set the heading sizes so they still apply.

Fixes#85389

r? @camelid

@rust-highfive

Copy link
Copy Markdown
Contributor

Some changes occurred in HTML/CSS/JS.

cc @GuillaumeGomez

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 17, 2021
Comment threadsrc/librustdoc/html/static/rustdoc.css
@camelidcamelid 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 May 17, 2021
@camelid

Copy link
Copy Markdown
Member

Re-assigning to Guillaume because I'm not very knowledgeable about rustdoc's CSS :)

r? @GuillaumeGomez

@camelidcamelid added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 17, 2021
@GuillaumeGomez

Copy link
Copy Markdown
Member

Waiting for #85280 to get merged.

@jsha

jsha commented May 18, 2021

Copy link
Copy Markdown
ContributorAuthor

#85280 is now merged and this is unblocked.

@GuillaumeGomez

Copy link
Copy Markdown
Member

Thanks!

@bors: r+ rollup

@bors

bors commented May 18, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 253cbab has been approved by GuillaumeGomez

@borsbors 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels May 18, 2021
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 18, 2021
…eGomez
rustdoc: restore header sizes
The `<details>` toggle work changed the relationship from #main to the top-doc docblock so it was no longer a parent relationship but a great-grandparent relationship. This updates the CSS rules that set the heading sizes so they still apply.
Fixesrust-lang#85389
r? `@camelid`
@jackh726jackh726 mentioned this pull request May 19, 2021
bors added a commit to rust-lang-ci/rust that referenced this pull request May 19, 2021
Rollup of 8 pull requests
Successful merges:
- rust-lang#83366 (Stabilize extended_key_value_attributes)
- rust-lang#83767 (Fix v0 symbol mangling bug)
- rust-lang#84883 (compiletest: "fix" FileCheck with --allow-unused-prefixes)
- rust-lang#85274 (Only pass --[no-]gc-sections if linker is GNU ld.)
- rust-lang#85297 (bootstrap: build cargo only if requested in tools)
- rust-lang#85396 (rustdoc: restore header sizes)
- rust-lang#85425 (Fix must_use on `Option::is_none`)
- rust-lang#85438 (Fix escape handling)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 9b5cf64 into rust-lang:masterMay 19, 2021
@rustbotrustbot added this to the 1.54.0 milestone May 19, 2021
@jsha
jsha deleted the top-doc-font-sizes branch May 19, 2021 18:50
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rustdoc-uiArea: Rustdoc UI (generated HTML)S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rustdoc: Headers in docs have shrunk

6 participants

@jsha@rust-highfive@camelid@GuillaumeGomez@bors@rustbot