From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 532DABBAF for ; Wed, 15 Oct 2008 16:43:34 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AioBAI+e9UjOvjGrmmdsb2JhbACTYAEBAQEBCAsKBxEDpFWBFAiHZwUCAWUIew X-IronPort-AV: E=Sophos;i="4.33,416,1220220000"; d="scan'208";a="18134525" Received: from web54601.mail.re2.yahoo.com ([206.190.49.171]) by mail3-smtp-sop.national.inria.fr with SMTP; 15 Oct 2008 16:43:33 +0200 Received: (qmail 58294 invoked by uid 60001); 15 Oct 2008 14:43:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=RsBqU/QkZN4iZNO4QaZ9FEyoyH3Pt7ri8X7xvA6YS9YHyJnL6rcrLAy4Py6ieykWaZEmWSH58T5JFaKpqsEzCCGHU6m4wXM4IM0MVuhQ4kTSgIZ5X2IpgEfoXL9l1+w3cAUjW/m+BnCXmK+4nXMiRyuFlXv6jVR1Z6NW5BEgqo4=; X-YMail-OSG: WKoUJrIVM1nAszIT6osVUte17qDyjPEXYyoDCnS0mtFZ5SmT_3v7gVHnxLK2ChUynKAKlA8RDJNILbqM2wAQnCE.5pjtxat5VvrAckRwTiwQaH_0inbShUVVN.h2PelzmRLJhRnnD00aytK3PtT7vPuEwLwQRcVUGOkFBG3Z7zC0biTYsfc_dsMrFQyM Received: from [213.205.71.54] by web54601.mail.re2.yahoo.com via HTTP; Wed, 15 Oct 2008 07:43:32 PDT X-Mailer: YahooMailWebService/0.7.218.2 Date: Wed, 15 Oct 2008 07:43:32 -0700 (PDT) From: Dario Teixeira Subject: Re: [Caml-list] File inclusion with Ocamldoc To: caml-list , Romain Bardou In-Reply-To: <48F5AFED.5050806@lri.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <372513.57372.qm@web54601.mail.re2.yahoo.com> X-Spam: no; 0.00; ocamldoc:01 ocamldoc:01 mli:01 mli:01 merging:01 precedence:01 caml-list:01 face:97 pattern:04 inclusion:04 truc:05 truc:05 manual:06 i'm:09 generating:09 Hi, > It works for me with the 3.10.1. I just tried to write a > file test.ml, and a file truc.odocl with "Test" in it, and then > ran ocamlbuild : > =09ocamlbuild truc.docdic/index.html > And it worked. Or maybe I didn't understand what you want? You're right. I took the Ocamlbuild manual at face value, since it states it cannot handle implementation files. Nevertheless, I'm still running into some problems with Ocamlbuild+Ocamldoc. First, while Ocamldoc will by default merge the comments from .ml and .mli files (with precedence given to the .mli file, unless -inv-merge-ml-mli is given), when I use Ocamlbuild to generate the documentation I notice the following pattern: if only the .ml file is present then it's used for generating the documentation; If, however, both .ml and .mli are present, then only the .mli is taken into account (no merging is done). Second, how does one tell Ocamlbuild to include .txt files in the documentation? Thanks again for your attention, Dario Teixeira =0A=0A=0A