caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Vladimir Shabanov" <vshabanoff@gmail.com>
To: "Caml List" <caml-list@inria.fr>,
	"Yaron Minsky" <yminsky@cs.cornell.edu>
Subject: Re: [Caml-list] ocamldoc -pack
Date: Tue, 5 Jun 2007 17:05:41 +0400	[thread overview]
Message-ID: <8ef825670706050605r4a7fb6eaib0da977399b8c29@mail.gmail.com> (raw)
In-Reply-To: <891bd3390706041433g273c77b4xa10ce8db112d14dc@mail.gmail.com>

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):
http://camlosg.svn.sourceforge.net/viewvc/camlosg/trunk/camlosg/Make/pack_in_one.ml?view=markup

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

2007/6/5, Yaron Minsky <yminsky@cs.cornell.edu>:
> 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 <seanmcl@gmail.com> 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


  reply	other threads:[~2007-06-05 13:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-01 21:52 Sean McLaughlin
2007-06-04 21:33 ` [Caml-list] " Yaron Minsky
2007-06-05 13:05   ` Vladimir Shabanov [this message]
     [not found]     ` <466574A7.8010002@tsc.uc3m.es>
2007-06-05 15:06       ` Vladimir Shabanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8ef825670706050605r4a7fb6eaib0da977399b8c29@mail.gmail.com \
    --to=vshabanoff@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=yminsky@cs.cornell.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).