Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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)

Thanks,

Jan


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