Re: [Caml-list] File inclusion with Ocamldoc

2008-10-16 Thread Dario Teixeira
Hi, The manual states that implementation files are not handled because if you have a .ml and .mli then ocamlbuild will choose the .mli. Thanks for the info. You may want to clarify that on the manual, because presently the language implies that implementation files are ignored altogether.

Re: [Caml-list] File inclusion with Ocamldoc

2008-10-15 Thread Romain Bardou
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.

[Caml-list] File inclusion with Ocamldoc

2008-10-14 Thread Dario Teixeira
Hi, I want to create a customised APIDOC starter page that includes links to child pages containing various tutorials for the API. Now, Ocamldoc already has a -intro option that allows an external file to be used as an APIDOC starter page. But I see no way to create a link to an external file

Re: [Caml-list] File inclusion with Ocamldoc

2008-10-14 Thread Maxence Guesdon
Dario Teixeira [EMAIL PROTECTED] a ?it : Hi, Hello, I want to create a customised APIDOC starter page that includes links to child pages containing various tutorials for the API. Now, Ocamldoc already has a -intro option that allows an external file to be used as an APIDOC starter page.

Re: [Caml-list] File inclusion with Ocamldoc

2008-10-14 Thread Dario Teixeira
Hi, 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.