-
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
Additional docs on pub re-exports resolve intra-doc links relative to the original module #77254
Comments
Originally I thought this would need pulldown support, but I might be able to hack it by using the span of the |
I'm not sure it's possible to go from a |
Another possible approach is to use the |
It turns out pulldown already has this support in the form of |
So I don't forget, this is my current progress:
The issue I currently have is that attributes are combined before calling |
The painful thing is going to be working this into |
Actually this might work - the original |
A new problem: |
I think it's to merge both |
I tried this code:
I expected to see this happen: Rustdoc links all the original documentation relative to
std::string
, and all the new documentation relative to the current crate, sowith_code
resolves properly.Instead, this happened: Rustdoc links all the original documentation relative to
std::string
:This hits proc-macros especially hard because they're forced to be in a separate crate and can't link to anything in the main crate.
Meta
rustdoc --version
: rustdoc 1.48.0-nightly (f68e089 2020-09-19), but also present on master (1ec980d)The text was updated successfully, but these errors were encountered: