English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
File inclusion with Ocamldoc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-10-14 (19:17)
From: Dario Teixeira <darioteixeira@y...>
Subject: Re: [Caml-list] File inclusion with Ocamldoc

> You can use .txt files to do this. Simply type ocamldoc
> comment  (without (** *)) in a file.txt file and pass it to
> ocamldoc like any  .ml or .mli file. This will be considered
> as a File module and you can refer to it by {!File} from any
> ocamldoc comment.

Excellent!  Thanks for the tip.  Incidentally, the 3.10 version
of Ocamlbuild does not support the generation of documentation
from implementation files.  Will 3.11 fix this?