-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rustdoc render inconsistency #13804
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
Comments
cc me |
bors
added a commit
that referenced
this issue
Apr 30, 2014
- Closes #13591. Relevant example: http://adrientetar.legtux.org/cached/rust-docs/struct.CChars.htm (Had to use `!important` to override CSS selector precedence, namely matching over parent class.) - Implement changes from #13780 feedback, namely: * Changed font-size from 18px to 15px * Reintroduced gray background for code samples * Tightened up the margins - Fix point 1 and point 4 of #13804. Samples: - [enum.FileType](http://adrientetar.legtux.org/cached/rust-docs/enum.FileType.htm) - [struct.CChars](http://adrientetar.legtux.org/cached/rust-docs/struct.CChars.htm) - [std](http://adrientetar.legtux.org/cached/rust-docs/std.htm) - [std::io](http://adrientetar.legtux.org/cached/rust-docs/io.htm). r? @brson
I believe that all of these have been addressed with @adrientetar 's PRs. Please open more issues if not! |
arcnmx
pushed a commit
to arcnmx/rust
that referenced
this issue
Jan 9, 2023
Split inlay hints into modules per hint type I think this makes the code a lot easier to maintain.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a number of inconsistencies in the current rustdoc renders, including:
font-weight: 600
vs.font-weight: 400
).<a>
instead of<span>
?std::kinds::marker
). I suspect that's becausecode
haswhite-space: pre-wrap
attribute everywhere;.docblock.short code { white-space: nowrap; }
seems to solve that (not sure).The text was updated successfully, but these errors were encountered: