Some more adds ( reformatting the para concerning META and ocamldoc ).
authorSylvain Le Gall <sylvain.le-gall@polytechnique.org>
Wed, 22 Oct 2003 18:33:37 +0000 (18:33 +0000)
committerSylvain Le Gall <sylvain.le-gall@polytechnique.org>
Wed, 22 Oct 2003 18:33:37 +0000 (18:33 +0000)
Sylvain LE GALL

chapter-ocaml.xml
ocaml_packaging_policy.xml

index 759fb7927c29dd1a31c27cc742e5e86d909143e2..6c3fd3499ee95b038c8fee3c47780539f3a848e2 100644 (file)
     </para>
 
     <para>
-     For easying library management, the Ocaml Task Force used the 
+     For easying library management, &ocaml-force; used the 
      <application>ocamlfind</application> library management scheme.
      This scheme includes a file named <filename>META</filename> which holds
      all the library possibility. This is the configuration file for
      handling library ( see XXX ).
     </para>
    </section>
-   
+   <section id="documentation">
+    <title>Documentation</title>
+    <para>
+    The documentation is a joint effort of  &ocaml-force; and usptream. 
+    There is many way to have documentation : 
+    <simplelist>
+     <listitem>Header files ( <filename>*.mli</filename> )</listitem>
+     <listitem>Source files ( <filename>*.ml</filename> )</listitem>
+     <listitem>Specific documentation provided by the upstream</listitem>
+     <listitem>OCamldoc generated documentation</listitem>
+    </simplelist>
+    </para>
+
+    <para>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 <application>ocamldoc</application>
+    generated documentation shoudl be browse by using different viewer ( like
+    <application>advi</application>, HTML browser ...). There is also at least two
+    specific &ocaml-name; browser : <application>docbrowse</application> shipped
+    with <application>cameleon</application> and <application>ocamlbrowser</application>
+    shipped with <application>ocaml</application> itself. The first one, need specific
+    <application>ocamldoc</application> generated documentation : this is in fact the
+    output of the intermediary stage of <application>ocamldoc</application> when 
+    generating any kind of output, this is file with ".odoco
+       
+       which is installed in 
+    <filename>/usr/lib/ocaml/&ocaml-version;/</filename> and his subdirectory.
+    You can also browse documentation with <application>ocamlbrowser</application>.
+    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 <application>docbrowser</application> which is
+    shipped with <application>cameleon</application>, HTML pages registered under
+    the <application>doc-base</application> <organization>Debian</organization> package,
+    or manpages.
+    </para>
+
+    <para>As of this date, there is no automatic way to generate manpages and HTML 
+    documentation with a debian package. For now, <filename>*.odoc</filename> files
+    will be stored in <filename>/usr/share/ocamldoc-base</filename>. A tools, to
+    auto-generate manpages and HTML documentation is under construction.
+    </para>
+   </section>  
    <section id="path">
     <title>Library paths</title>
     <para>
     </para>
    </section>
 
-    <section id="documentation">
-    <title>Documentation</title>
-    <para>
-    The documentation is a joint effort of  &ocaml-force; and usptream. 
-    There is many way to have documentation : *.mli file, which is installed in 
-    <filename>/usr/lib/ocaml/&ocaml-version;/</filename> and his subdirectory.
-    You can also browse documentation with <application>ocamlbrowser</application>.
-    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 <application>docbrowser</application> which is
-    shipped with <application>cameleon</application>, HTML pages registered under
-    the <application>doc-base</application> <organization>Debian</organization> package,
-    or manpages.
-    </para>
 
-    <para>As of this date, there is no automatic way to generate manpages and HTML 
-    documentation with a debian package. For now, <filename>*.odoc</filename> files
-    will be stored in <filename>/usr/share/ocamldoc-base</filename>. A tools, to
-    auto-generate manpages and HTML documentation is under construction.
-    </para>
-   </section>
index 140134abbfd57c559e92021197c9858f4c425d71..090d98ac907daf2032327492f6057362a62d8564 100644 (file)
@@ -6,7 +6,8 @@
  <!ENTITY ocaml-pkg      "<application>ocaml-&ocaml-version;-&ocaml-compat;</application>">
  <!ENTITY ocaml-base-pkg "<application>ocaml-base-&ocaml-version;-&ocaml-compat;</application>">
  <!ENTITY ocaml-name     "<application>OCaml</application>">
- <!ENTITY ocaml-force    "The OCaml Task Force">
+ <!ENTITY ocaml-force    "The Debian OCaml Task Force">
+ <!ENTITY debian-name    "Debian">
  <!ENTITY authors             SYSTEM "authors.xml">
  <!ENTITY legal               SYSTEM "legal.xml">
  <!ENTITY chapter-ocaml       SYSTEM "chapter-ocaml.xml">
@@ -18,7 +19,7 @@
 ]>
 <article>
  <articleinfo>
-  <title>Debian Ocaml Packaging Policy</title>
+  <title>&debian-name; &ocaml-name; Packaging Policy</title>
   <subtitle>For Objective Caml version &ocaml-version;</subtitle>
   <releaseinfo>Revision 0.1</releaseinfo>
   &authors;
@@ -26,7 +27,7 @@
   </articleinfo>
 
   <chapter id="ocaml">
-   <title>Ocaml Packaging</title>
+   <title>&ocaml-name; Packaging</title>
     &chapter-ocaml;
   </chapter>
 
@@ -51,7 +52,7 @@
   </appendix>
 
   <appendix id="resources">
-   <title>Debian Ocaml task force</title>
+   <title>&ocaml-task; resources</title>
    &appendix-resources;
   </appendix>
 </article>