-
Notifications
You must be signed in to change notification settings - Fork 212
Fix rustdoc styles for very old docs #1059
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
Conversation
829770a
to
689bfbc
Compare
Ugh, this brings back the issues in #992. |
aef68ff
to
5987e4f
Compare
I am not quite sure about order of elements inside the An alternative fix would be to change the selector to @jyn514 Thoughts? |
This page does not have a |
Oh whoops, it does have |
Previously this used the selector link[type='text/css'][href*='normalize'] to inject the vendored HTML. Unfortunately, this selector did not exist in very old versions of rustdoc. Instead, this now adds the vendored.css stylesheet just before rustdoc.css.
LGTM! |
Previously this used the selector
link[type='text/css'][href*='normalize']
to inject the vendored HTML.Unfortunately, this selector did not exist in very old versions of rustdoc.
Instead, this now adds the
vendored.css
stylesheet at the start of the<head>
tag.Closes #1005
r? @cynecx