Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
File inclusion with Ocamldoc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-10-16 (15:27)
From: Dario Teixeira <darioteixeira@y...>
Subject: Re: [Caml-list] File inclusion with Ocamldoc

> The manual states that implementation files are not handled
> because if you have a .ml and .mli then ocamlbuild will choose
> the .mli.

Thanks for the info.  You may want to clarify that on the manual,
because presently the language implies that implementation files
are ignored altogether.

Also, I'm having trouble getting Ocamlbuild/Ocamldoc working
on a project that also uses mlpack.  Basically, I have a "lambdoc" directory containing a number of modules whose
documentation I want to generate.  I also have lambdoc.mlpack
listing all those modules, and a lambdoc.mllib containing only

In these circumstances, what should be the contents of the
lambdoc.odocl file?  I tried listing lambdoc's modules, both
fully qualified (eg, "Lambdoc.Document_ast") and not, but
Ocamlbuild always chokes.  Also, what is the rule of .odoc
files and how do they differ from .odocl?

Thanks for your time,
Dario Teixeira