ocaml / odoc

Documentation compiler for OCaml and Reason
Other
321 stars 90 forks source link

Reconcile `odoc`'s notion of scope with `ocaml`'s notion of scope. #332

Open dbuenzli opened 5 years ago

dbuenzli commented 5 years ago

It seems that since the stdlib has been namespaced using module aliases in 4.07, references of the form {!M} were M is a Stdlib.M module are not resolved.

An instance of this problem can be seen in the Fmt module which as a lot of references to the Format module. See for example:

https://b0-system.github.io/odig/doc/fmt/Fmt/index.html#val-pf

and the corresponding doc string:

https://github.com/dbuenzli/fmt/blob/d1c1bb26e00f22c160e6cc5d6b6376bce8426115/src/fmt.mli#L23

dbuenzli commented 5 years ago

Related to https://github.com/ocaml/odoc/issues/42

Julow commented 1 year ago

Related to https://github.com/ocaml/odoc/issues/594