我想在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可以鏈接到相應的類型?