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>
Subject: Re: [Caml-list] ocamldoc -pack
Date: Tue, 5 Jun 2007 19:06:44 +0400	[thread overview]
Message-ID: <8ef825670706050806t27d0871dncd66a58a4093d958@mail.gmail.com> (raw)
In-Reply-To: <466574A7.8010002@tsc.uc3m.es>

I personally don't use ocamlbuild, since it doesn't support C++ files.
And even if it does, the -pack is ocamldoc problem, not ocamlbuild
one.

2007/6/5, Francisco Jos? Valverde Albacete <fva@tsc.uc3m.es>:
> er... Wouldn't this be the kind of scripting that ocamlbuild would be
> most useful for?
>
> Regards,
>
>     Fran Valverde
>
> Vladimir Shabanov wrote:
> > 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


      parent reply	other threads:[~2007-06-05 15:06 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
     [not found]     ` <466574A7.8010002@tsc.uc3m.es>
2007-06-05 15:06       ` Vladimir Shabanov [this message]

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=8ef825670706050806t27d0871dncd66a58a4093d958@mail.gmail.com \
    --to=vshabanoff@gmail.com \
    --cc=caml-list@inria.fr \
    /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).