Skip to content
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

API docs on pub don't interlink between packages #7511

Open
dcharkes opened this issue Feb 26, 2024 · 3 comments
Open

API docs on pub don't interlink between packages #7511

dcharkes opened this issue Feb 26, 2024 · 3 comments

Comments

@dcharkes
Copy link

Consider https://pub.dev/documentation/native_assets_cli/latest/native_assets_cli/BuildConfig/BuildConfig.fromConfig.html, the Config type is from https://pub.dev/documentation/cli_config/latest/cli_config/Config-class.html.

Would it be possible to generate the API docs in such a way that types from other packages can resolve to the API docs of said package?

@sigurdm sigurdm transferred this issue from dart-lang/pub Feb 27, 2024
@isoos
Copy link
Collaborator

isoos commented Feb 28, 2024

I believe this should happen automatically, we shall investigate why it is missing.

@isoos
Copy link
Collaborator

isoos commented Feb 28, 2024

A similar and maybe smaller case in shelf_router, the Handler class from package:shelf is not referenced:
https://pub.dev/documentation/shelf_router/latest/shelf_router/Router-class.html

I don't see any trivially missing parameter from here:
https://github.com/dart-lang/pana/blob/master/lib/src/sdk_env.dart#L436-L445

/cc @srawlins @kallentu @parlough any idea what we are missing here?

@jonasfj
Copy link
Member

jonasfj commented Mar 6, 2024

We could add --link-to-remote, but it says (defaults to on).

But we probably need to reproduce locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants