我想在ocamldoc中引用一个类型构造函数。可以使用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可以链接到相应的类型?