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
ocamldoc -pack
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Vladimir Shabanov <vshabanoff@g...>
Subject: Re: [Caml-list] ocamldoc -pack
I'm also looked for this feature some time ago. Seems that there is no
support in ocamldoc for it.

The quick and dirty solution I've used is to catenate all packed .ml &
.mli in one file and then use ocamldoc on it.

Here the little script I've used (it just print catenated modules,
which are passed as arguments, and if you have .mli file you must pass
it just before corresponding .ml):

But it would be much better if this will be supported in ocamldoc directly.

2007/6/5, Yaron Minsky <>:
> As it happens we're looking for more-or-less the same feature.  Is it true,
> as this post suggests, that ocamldoc is broken with respect to pack'd
> libraries?
> y
> On 6/1/07, Sean McLaughlin <> wrote:
> >
> > Hello,
> >
> >   I'd like to see a -pack option for ocamldoc.  It would be nice for
> packed modules to
> > have accurate documentation.  I saw something about this in a post
> > from 2002, but nothing afterwards.   Is this a possibility in the future?
> >
> > Thanks,
> >
> > Sean