reference_page_names

Notedocblock
reference_page_names(bindings::Vector{Base.Docs.Binding}, root::Module) -> Dict{Base.Docs.Binding, String}

Compute a collision-safe per-page file name for each documented binding.

The page name for a binding is string(b.var) when that bare name is unique among bindings. When two or more bindings share the same .var, every colliding binding except one owned directly by root gets a qualified name formed from its module path relative to root joined with . followed by the bare name (e.g. a foo defined in Root.Inner becomes "Inner.foo"). A colliding binding owned directly by root keeps the bare name. If two colliders are both in submodules, both are qualified.

When root is not an ancestor of a binding’s module (which should not happen in normal use), the fully qualified string(b.mod) is used as the prefix as a fallback.