I am trying to access the type constructor in ocamldoc.
For instance:
type x = Awesome | Boring
And later we want to refer to one of the designers in some documentation:
(** {!Awesome} is a really great constructor for {!x}. You should definitely use it instead of {!Boring}. *)
ocamldoc complains:
Warning: Element Awesome not found
Warning: Element Boring not found
Is there a way to refer to type constructors so that ocamldoc can refer to the corresponding type?
source
share