OCamldoc has trouble finding references to modules in some cases. I wouldn't worry about it. See the opam-doc project [1], which aims to provide a more robust documentation tool.

[1] http://www.cl.cam.ac.uk/projects/ocamllabs/tasks/platform.html#OPAM Doc


On Tue, Oct 8, 2013 at 10:36 AM, Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com> wrote:
Hi,

A couple of weeks ago I started to use ocamldoc.
In certain situation, it gives me:

        "Warning: Module or module type BatSet.StringSet not found"

The simplest "program" that triggers it is:

        module StringSet = BatSet.StringSet

I get it with the following command:

        ocamlfind doc -html -package batteries main.ml

I thought that some -I path was missing, so I tried:

        ocamlfind doc -html -thread -package batteries `ocamlfind query -i-format -recursive batteries` main.ml

but the warning remains.

It is not a big deal but I still wonder why I get it.
((The program itself compiles without kind of warning.))

M.

--
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs