caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Patrick M Doane <patrick@watson.org>
To: Fabrice Le Fessant <fabrice.le_fessant@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] CDK binary release
Date: Fri, 11 May 2001 13:30:54 -0400 (EDT)	[thread overview]
Message-ID: <Pine.BSF.3.96.1010511131334.25305A-100000@fledge.watson.org> (raw)
In-Reply-To: <15099.54264.965247.51247@cremant.inria.fr>

On Fri, 11 May 2001, Fabrice Le Fessant wrote:

> >  Out of curiosity, who wants to be reading Ocaml documentation through man
> >  pages?  I would think HTML and texinfo would both be nicer formats to work
> >  with. Is there some advantage that I'm missing?
> 
> You mean that, because you don't like man pages, nobody like them ?

I like man pages, it just surprised me to see this as an output for
documentation.  I guess I would say that it doesn't seem consistent with
current programming trends. AFAIK, man pages for programming APIs seem to
only be produced for C libraries.

> HTML is already supported, I have nothing against texinfo. But, do you
> know a tool to generate it from all the mli files from the CDK (that
> use different formatting conventions) ? Can you send me a patch to the
> CDK to use it ? Are you sure it is installed on all computers that
> will compile the CDK documentation ?

ocamlweb/hevea generate info files nicely. Regarding the other questions,

  - In the long term, the .mli files in the CDK should use the same
formatting conventions.  I assume that the current differences exist
because the effort is just getting started.  Consistency, aside from
documentation, is perhaps the weakest area of CDK right now.  This is to
be expected of course, designing a good library is hard!

  - If you would find it useful for me to patch CDK to work with
ocamlweb/hevea, then let me know.  I'll do the work over the weekend. To
go a step further, if there's work that can be farmed out for CDK
development, I'm sure many of us would want to help out. 

  - I don't know what machines will be used to compile CDK documentation,
but there is an easy solution which will guarantee that ocamlweb/hevea are
present on those machines:  add them to the CDK.  This is similar to
the current setup with cdk_doc.

I'm not trying to advocate ocamlweb/hevea over cdk_doc. It is a tool
combination that support info files though.

> For LaTeX, we will not force people to use LaTeX to document their
> interfaces: most comments are simple text lines including some pieces
> of code (in cdk_doc, they simply have to be between brackets). Only
> section titles have to be handled differently. cdk_doc is enough for
> that. New output formats have to be added, and all interfaces have to
> be completely translated to the input format ... We are not writting a
> book, but only a reference manual, thus, we don't need SGML or
> complicated formatting tool for that !

I think that the discussion thread for LaTeX/SGML is in a larger context
than the needs of CDK.  I will echo Markus's desire for there to be a
documentation standard.  This standard should be simple enough to meet the
CDK needs, but also meet more complex formatting needs. 

Also, you are already using SGML to build the CDK documentation by using
HTML. It's not a very good DTD to represent the content for style
transformations, but it's a start. Defining a DTD for Caml documentation
would be a very nice intermediate representation.

Patrick

-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr


  parent reply	other threads:[~2001-05-11 17:55 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-07  9:06 Fabrice Le Fessant
2001-05-07 16:09 ` Miles Egan
2001-05-07 17:17 ` John Max Skaller
2001-05-09 10:58 ` Markus Mottl
2001-05-09 12:01   ` [Caml-list] About documentation tools David Mentre
2001-05-09 13:18     ` [Caml-list] " Markus Mottl
2001-05-09 18:17       ` John Max Skaller
2001-05-09 17:58   ` [Caml-list] CDK binary release John Max Skaller
2001-05-09 22:40     ` Markus Mottl
2001-05-09 23:19       ` John Max Skaller
2001-05-10  9:19         ` Fabrice Le Fessant
2001-05-10 10:34           ` [Caml-list] CDK Documentation format Dave Mason
2001-05-13 21:26             ` Stefan Monnier
2001-05-10 11:16           ` [Caml-list] CDK binary release Sven LUTHER
2001-05-10 13:18             ` Markus Mottl
2001-05-10 15:42               ` Jean-Christophe Filliatre
2001-05-10 16:08                 ` Thorsten Ohl
2001-05-10 22:53                   ` Markus Mottl
2001-05-10 20:36                 ` John Max Skaller
2001-05-10 14:01             ` David Mentre
2001-05-10 15:09             ` Patrick M Doane
2001-05-10 15:06           ` Patrick M Doane
2001-05-11 11:58             ` Fabrice Le Fessant
2001-05-11 15:31               ` John Max Skaller
2001-05-11 15:44                 ` Fabrice Le Fessant
2001-05-13 21:33                 ` Stefan Monnier
2001-05-11 17:30               ` Patrick M Doane [this message]
2001-05-12  7:46                 ` Fabrice Le Fessant
2001-05-11 23:24               ` Brian Rogoff
2001-05-10 15:49           ` John Max Skaller
2001-05-14  8:21 ` Olivier Andrieu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.BSF.3.96.1010511131334.25305A-100000@fledge.watson.org \
    --to=patrick@watson.org \
    --cc=caml-list@inria.fr \
    --cc=fabrice.le_fessant@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).