-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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 redirect links of uses of reexported items with inlined documentation #11678
Comments
cc me |
Hm, this is actually a really tough problem to solve. We could emit pages for |
Do we need a "resolve documentation paths" in rustdoc that goes through and maps nodeids (or whatever) to the appropriate paths? |
Hm, I think it may be better to avoid something like that. We could have a map of NodeId => path where the key is a node id of a private item that was re-exported to the value path. That way when the documentation page is generated for the key node id it would emit a redirect to the value path. You could re-export a type in a few places and you'd end up linking to the last one, but it's certainly better than the current situation! |
This is seriously messing with the |
Now `declare_interior_mutable_const` and `borrow_interior_mutable_const` respect the `ignore-interior-mutability` configuration entry Fix rust-lang#10537 changelog: Now `declare_interior_mutable_const` and `borrow_interior_mutable_const` respect the `ignore-interior-mutability` configuration entry
Rustdoc will generate the documentation for
func
andType
at the top level (i.e.reexports/struct.Type.html
andreexports/fn.func.html
), but theType
link in the signature offunc
points toreexports/foo/struct.Type.html
, i.e. the non-inlined documentation.The text was updated successfully, but these errors were encountered: