-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Multiple rustdoc fixes #48755
Multiple rustdoc fixes #48755
Conversation
src/librustdoc/html/static/main.js
Outdated
} | ||
if (hasClass(e, 'impl')) { | ||
if (checkIfThereAreMethods(next.childNodes) && | ||
(hasClass(next, 'docblock') || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the right way to combine these conditions? Won't this also bar regular docblocks (the original ones, with hand-written docs) from getting fold toggles?
@GuillaumeGomez I've been wrong, switching position of main.js and search-index.js doesn't fix #48733 I am not sure what is causing this. |
So I remove it. |
3e676e5
to
c831a4e
Compare
c831a4e
to
21d13e9
Compare
@GuillaumeGomez I just realized, sidebar also doesn't work in macro pages. You can see it here: https://doc.rust-lang.org/nightly/std/macro.assert.html This PR is also fixing sidebar in macro pages :-) |
21d13e9
to
4bd829b
Compare
4bd829b
to
25aeb3a
Compare
|
25aeb3a
to
89f4f1b
Compare
@bors r+ p=1 |
📌 Commit 89f4f1b has been approved by |
@bors rollup |
…etMisdreavus Multiple rustdoc fixes Fixes rust-lang#48733. r? @QuietMisdreavus
@bors rollup- |
Multiple rustdoc fixes Fixes #48733. r? @QuietMisdreavus
☀️ Test successful - status-appveyor, status-travis |
Fixes #48733.
r? @QuietMisdreavus