From: Sylvain Le Gall Date: Wed, 22 Oct 2003 18:33:37 +0000 (+0000) Subject: Some more adds ( reformatting the para concerning META and ocamldoc ). X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~641^2~18 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=26bc0dc1ebee10517907dfa17a1af10813ec07cb;p=ocaml.git Some more adds ( reformatting the para concerning META and ocamldoc ). Sylvain LE GALL --- diff --git a/chapter-ocaml.xml b/chapter-ocaml.xml index 759fb792..6c3fd349 100644 --- a/chapter-ocaml.xml +++ b/chapter-ocaml.xml @@ -57,14 +57,56 @@ - For easying library management, the Ocaml Task Force used the + For easying library management, &ocaml-force; used the ocamlfind library management scheme. This scheme includes a file named META which holds all the library possibility. This is the configuration file for handling library ( see XXX ). - + +
+ Documentation + + The documentation is a joint effort of &ocaml-force; and usptream. + There is many way to have documentation : + + Header files ( *.mli ) + Source files ( *.ml ) + Specific documentation provided by the upstream + OCamldoc generated documentation + + + + This documentation should be browse by different mean, from the + most simple to the most complex. At least, they could all be browsed with + simple text editor. Specific and ocamldoc + generated documentation shoudl be browse by using different viewer ( like + advi, HTML browser ...). There is also at least two + specific &ocaml-name; browser : docbrowse shipped + with cameleon and ocamlbrowser + shipped with ocaml itself. The first one, need specific + ocamldoc generated documentation : this is in fact the + output of the intermediary stage of ocamldoc when + generating any kind of output, this is file with ".odoco + + which is installed in + /usr/lib/ocaml/&ocaml-version;/ and his subdirectory. + You can also browse documentation with ocamlbrowser. + At last, for some package, a special scheme is used to handle documentation + file : ocamldoc generated documentation. By this mean you can have different access + to library documentation : using docbrowser which is + shipped with cameleon, HTML pages registered under + the doc-base Debian package, + or manpages. + + + As of this date, there is no automatic way to generate manpages and HTML + documentation with a debian package. For now, *.odoc files + will be stored in /usr/share/ocamldoc-base. A tools, to + auto-generate manpages and HTML documentation is under construction. + +
Library paths @@ -88,24 +130,4 @@
-
- Documentation - - The documentation is a joint effort of &ocaml-force; and usptream. - There is many way to have documentation : *.mli file, which is installed in - /usr/lib/ocaml/&ocaml-version;/ and his subdirectory. - You can also browse documentation with ocamlbrowser. - At last, for some package, a special scheme is used to handle documentation - file : ocamldoc generated documentation. By this mean you can have different access - to library documentation : using docbrowser which is - shipped with cameleon, HTML pages registered under - the doc-base Debian package, - or manpages. - - As of this date, there is no automatic way to generate manpages and HTML - documentation with a debian package. For now, *.odoc files - will be stored in /usr/share/ocamldoc-base. A tools, to - auto-generate manpages and HTML documentation is under construction. - -
diff --git a/ocaml_packaging_policy.xml b/ocaml_packaging_policy.xml index 140134ab..090d98ac 100644 --- a/ocaml_packaging_policy.xml +++ b/ocaml_packaging_policy.xml @@ -6,7 +6,8 @@ ocaml-&ocaml-version;-&ocaml-compat;"> ocaml-base-&ocaml-version;-&ocaml-compat;"> OCaml"> - + + @@ -18,7 +19,7 @@ ]>
- Debian Ocaml Packaging Policy + &debian-name; &ocaml-name; Packaging Policy For Objective Caml version &ocaml-version; Revision 0.1 &authors; @@ -26,7 +27,7 @@ - Ocaml Packaging + &ocaml-name; Packaging &chapter-ocaml; @@ -51,7 +52,7 @@ - Debian Ocaml task force + &ocaml-task; resources &appendix-resources;