-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustdoc doesn't render links in Trait Implementations sections #62741
Comments
This comment has been minimized.
This comment has been minimized.
Problem isn't coming from intra links contrary to my first thought but just that we're "removing" links. For instance we use |
I don't get it. But if you see this as won't fix, feels free to close this issue. |
No, I wrote the fix. However it'll certainly break a few things in the std (same issue with short doc when listing items at the top level, the non absolute urls will be bad haha). |
…illaumeGomez rustdoc: do not use plain summary for trait impls Fixes rust-lang#38386. Fixes rust-lang#48332. Fixes rust-lang#49430. Fixes rust-lang#62741. Fixes rust-lang#73474. Unfortunately this is not quite ready to go because the newly-working links trigger a bunch of linkcheck failures. The failures are tough to fix because the links are resolved relative to the implementor, which could be anywhere in the module hierarchy. (In the current docs, these links end up rendering as uninterpreted markdown syntax, so I don't think these failures are any worse than the status quo. It might be acceptable to just add them to the linkchecker whitelist.) Ideally this could be fixed with intra-doc links ~~but it isn't working for me: I am currently investigating if it's possible to solve it this way.~~ Opened rust-lang#73829. EDIT: This is now ready!
https://doc.rust-lang.org/nightly/std/iter/struct.Flatten.html#method.scan
https://doc.rust-lang.org/nightly/std/iter/trait.Iterator.html#method.scan
As we can see,
fold
is not linked in the first image.The text was updated successfully, but these errors were encountered: