我试图在 ocamldoc 中引用类型构造函数。
例如:
type x = Awesome | Boring
稍后我们想参考一些文档中的构造函数之一:
(** {!Awesome} is a really great constructor for {!x}. You should definitely use it instead of {!Boring}. *)
ocamldoc 抱怨:
Warning: Element Awesome not found
Warning: Element Boring not found
有没有办法引用类型构造函数,以便 ocamldoc 可以链接到相应的类型?