From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id pAC8ZJBR006932 for ; Sat, 12 Nov 2011 09:35:19 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtECAFAvvk5V2gB5d2dsb2JhbABCqA+CQQEMCwtAgXIBAQQBeQULC0YUKCEuh2cCth0SiW0ElC2Rew X-IronPort-AV: E=Sophos;i="4.69,499,1315173600"; d="scan'208";a="130007714" Received: from emailfrontal2.citycable.ch ([85.218.0.121]) by mail1-smtp-roc.national.inria.fr with SMTP; 12 Nov 2011 09:35:13 +0100 X-Alinto-smtpauth-localdomain: Yes Received: from seldon (unknown [85.218.93.239]) (Authenticated sender: guillaume.yziquel@citycable.ch) by emailfrontal2.citycable.ch (Postfix) with ESMTPA id BC2089310F5; Sat, 12 Nov 2011 09:35:12 +0100 (CET) Received: from yziquel by seldon with local (Exim 4.77) (envelope-from ) id 1RP93S-0004Cl-57; Sat, 12 Nov 2011 09:35:14 +0100 Date: Sat, 12 Nov 2011 09:35:14 +0100 From: Guillaume Yziquel To: Pietro Abate Cc: caml-list@inria.fr Message-ID: <20111112083513.GS10557@localhost> References: <20111110205259.GZ3413@localhost> <20111111130847.GA10832@pps.jussieu.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20111111130847.GA10832@pps.jussieu.fr> User-Agent: Mutt/1.5.21 (2010-09-15) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id pAC8ZJBR006932 Subject: Re: [Caml-list] ocamlbuild, ocamldoc and module packs Le Friday 11 Nov 2011 à 14:08:47 (+0100), Pietro Abate a écrit : > Hello. > > As far as I know ocamldoc doesn't play very well with -pack. There is > a very old bug on mantis about this. > > I'm in a situation that is worst then yours where I use pack to hide > modules with the same name as in ModuleOne/A and ModuleTwo/A and > ocamldoc refuses altogether to generate doc for both modules. I've not > found a solution neither for my problem, or more in general for the one > you describe below. Well, I'm having the same issue, as ModuleOne and ModuleTwo satisfy a signature implying a common module. > I think the good ppl that put Batteries together had similar issues. > > If you look at the Batteries source there is a lot of code aimed at > solving this problem by effectively creating new source files that can > be properly digested by ocamldoc. For what I gathered is pretty specific > to their case, but probably you can use it as an example to write an > appropriate ocamldoc plugin. I guess workarounds or ugly hacks are way too overkill for my current purpose. > Maybe the recent release of Argot by XC solves some of these problem > (just a wild guess, I didn't look at it very carefully). I'll have a try at Argot as soon as the current situation gets too frustrating. > Hope this helps. Thanks. > p -- Guillaume Yziquel