ocaml-doc / doc-ock

(DEPRECATED) Documentation generation for OCaml
ISC License
15 stars 5 forks source link

Resolving paths to structures #56

Open dsheets opened 9 years ago

dsheets commented 9 years ago

Is it currently possible to resolve a DocOckPaths.Path.Resolved.t to a structure like a DocOckTypes.Signature.item? This would be helpful to know, e.g., what kind of module expression a path is referencing in order to decide whether to point to a stand-alone page (sig) or to an item on the parent's page (abstract).

Without this functionality, there are lots of redirection hacks and nothing is quite right.