Browse thread
Two questions on OCamlDoc
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Maxence Guesdon <maxence.guesdon@i...> |
| Subject: | Re: [Caml-list] Two questions on OCamlDoc |
On Fri, 05 Sep 2008 14:33:43 +0200 David Teller <David.Teller@univ-orleans.fr> wrote: > I'm doing some pre-treatment on the module structure before actually > generating documentation. In particular, I'd like to be able to find out > if the .ml contains an inclusion of some given module -- even if there > is a .mli -- as this will change the resulting structure. > > Is there a way to do such a thing? You may use ocamldoc on your .ml file and look if it contains a Element_included_module refering to some given module. Does it help ? Regards, Maxence -- Maxence Guesdon http://yquem.inria.fr/~guesdon/ Service Expérimentation et Développements https://devel.inria.fr/rocq/ INRIA Paris-Rocquencourt http://www.inria.fr/rocquencourt/