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
Two questions on OCamlDoc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-09-02 (12:49)
From: Jan Kybic <kybic@f...>
Subject: Another question on OcamlDoc
> And while I'm asking complex questions, can anyone think of a way of
> asking OCamlDoc to resolve [string] to [String.t], ['a list] to ['a
> List.t], ['a array] to ['a Array.t], etc?

Let me add another couple of questions about OcamlDoc. I am sorry if
this is a common knowledge.

   - how can I tell OcamlDoc to only process some files?
     Actually, the question is rather how to make OcamlDoc ignore the
     unresolved dependencies and "Unbound type constructor" errors.

     [Sometimes it is as if OcamlDoc and Ocaml did not parse the files
     in the same way - a program which compiles with ocamlopt gives me 
     "Unbound type constructor errors" with ocamldoc. I will try to
     reduce my code into a simple case to post it here later.]

   - how can I tell OcamlDoc to run a preprocessor on the file first?
     (I am using ocaml+twt)



Jan Kybic <kybic@fel.cvut.cz>                       tel. +420 2 2435 5721
http://cmp.felk.cvut.cz/~kybic                      ICQ 200569450