rust-lang/docs.rs

Search across re-exports doesn't appear to be supported

Opened this issue · 2 comments

For example:

https://docs.rs/xilem/0.4.0/xilem/?search=memoize
https://docs.rs/xilem/0.4.0/xilem/?search=vello

These queries return no resuts. But memoize is a part of xilem_core which is re-exported as core. And vello is a re-export under the re-export masonry.

I didn't know whether to report this here, or as a rustdoc issue. But this is a case that kind of sets between rustdoc invoked with and without --no-deps, which may only be relevant to docs.rs.

syphar commented

so, we are calling rustdoc with --no-deps, but I admit I don't know how this relates to re-exports in the search index.

@GuillaumeGomez you have a better idea perhaps?

@syphar

Building with --no-deps locally gives me (remote) re-exports that are not even hyper-linked.

In docs.rs, they are linked and you can follow them to their doc pages. But obviously, their APIs don't show up in (local) searches.

This is another reason why I wrote that this somehow sets in between building with and without --no-deps.