Here is an example interface test.mli
, commented with ocamldoc-style comments:
(** ocamldoc module comment *)
open MissingModule;;
(** ocamldoc function comment *)
val test : unit;;
If I run the command ocamldoc test.mli
, I get the following error:
File "test.mli", line 2, characters 0-9:
Error: Unbound module MissingModule
1 error(s) encountered
Why should a documentation generator care about unbound modules?