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: | David Teller <David.Teller@u...> |
| Subject: | Re: [Caml-list] Two questions on OCamlDoc |
Let me rephrase: I'm doing that pre-treatment from inside ocamldoc. Therefore, I don't think that running ocamldoc from ocamldoc is an option. Now, perhaps I should try and access data visible to Odoc_cross or Odoc_analyse? Cheers, David On Fri, 2008-09-05 at 14:37 +0200, Maxence Guesdon wrote: > 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 > -- David Teller-Rajchenbach Security of Distributed Systems http://www.univ-orleans.fr/lifo/Members/David.Teller Angry researcher: French Universities need reforms, but the LRU act brings liquidations.