-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-rustdoc-jsonArea: Rustdoc JSON backendArea: Rustdoc JSON backendC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Description
Problem:
Currently, the only way to accurately (see #93522 for reason why paths
is not accurate) know the position of an item is to traverse all modules and items down to the item that we want, this is costly and inefficient especially for Id
s that comes from the documentation (ie intra-doc-links) because they can link to outside.
Solution:
Have a parent_id
field that link the current Item
to it's direct parent. This would mean that we could go from down (item) to upper (module) in a straightforward way.
euclio and dsherret
Metadata
Metadata
Assignees
Labels
A-rustdoc-jsonArea: Rustdoc JSON backendArea: Rustdoc JSON backendC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.