Skip to content

Add a clickable link to the layout section - #99700

Merged
bors merged 2 commits into
rust-lang:masterfrom
est31:rustdoc_layout_heading
Jul 27, 2022
Merged

Add a clickable link to the layout section#99700
bors merged 2 commits into
rust-lang:masterfrom
est31:rustdoc_layout_heading

Conversation

@est31

@est31est31 commented Jul 24, 2022

Copy link
Copy Markdown
Member

The layout section (activated by --show-type-layout) is currently not linkable to (outside of chrome's link to text feature). This PR makes it linkable via #layout.

@rustbotrustbot added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Jul 24, 2022
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @GuillaumeGomez

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 24, 2022
@est31
est31 marked this pull request as ready for review July 24, 2022 22:38
Comment threadsrc/librustdoc/html/render/print_item.rs Outdated
Comment threadsrc/librustdoc/html/render/print_item.rs Outdated
@GuillaumeGomez

Copy link
Copy Markdown
Member

Please add a test in src/test/rustdoc for this please.

@est31
est31force-pushed the rustdoc_layout_heading branch from 1b33257 to 5fcd2f7CompareJuly 25, 2022 17:11
Comment threadsrc/test/rustdoc/type-layout.rs Outdated
Co-authored-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
@GuillaumeGomez

Copy link
Copy Markdown
Member

Thanks! r=me once CI pass.

@est31

Copy link
Copy Markdown
MemberAuthor

They do! Please r+ :)

@GuillaumeGomez

Copy link
Copy Markdown
Member

I thought you had r+ rights. My bad.

@bors r+ rollup

@bors

bors commented Jul 26, 2022

Copy link
Copy Markdown
Collaborator

📌 Commit 15db418 has been approved by GuillaumeGomez

It is now in the queue for this repository.

@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-review Status: Awaiting review from the assignee but also interested parties. labels Jul 26, 2022
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jul 26, 2022
…llaumeGomez
Add a clickable link to the layout section
The layout section (activated by `--show-type-layout`) is currently not linkable to (outside of chrome's link to text feature). This PR makes it linkable via `#layout`.
@JohnTitorJohnTitor mentioned this pull request Jul 27, 2022
bors added a commit to rust-lang-ci/rust that referenced this pull request Jul 27, 2022
Rollup of 8 pull requests
Successful merges:
- rust-lang#98583 (Stabilize Windows `FileTypeExt` with `is_symlink_dir` and `is_symlink_file`)
- rust-lang#99698 (Prefer visibility map parents that are not `doc(hidden)` first)
- rust-lang#99700 (Add a clickable link to the layout section)
- rust-lang#99712 (passes: port more of `check_attr` module)
- rust-lang#99759 (Remove dead code from cg_llvm)
- rust-lang#99765 (Don't build std for *-uefi targets)
- rust-lang#99771 (Update pulldown-cmark version to 0.9.2 (fixes url encoding for some chars))
- rust-lang#99775 (rustdoc: do not allocate String when writing path full name)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 181bf05 into rust-lang:masterJul 27, 2022
@rustbotrustbot added this to the 1.64.0 milestone Jul 27, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

5 participants

@est31@rust-highfive@GuillaumeGomez@bors@rustbot