caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Maxence Guesdon <Maxence.Guesdon@inria.fr>
To: Hendrik Tews <tews@os.inf.tu-dresden.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ocamldoc: Howto crossreference another library?
Date: Wed, 7 Mar 2012 10:11:01 +0100	[thread overview]
Message-ID: <20120307101101.2629f29d@alcazar> (raw)
In-Reply-To: <20311.8986.272649.248196@blau.inf.tu-dresden.de>

On Wed, 7 Mar 2012 09:58:02 +0100
Hendrik Tews <tews@os.inf.tu-dresden.de> wrote:

> Hi,


Hello,

> consider
> 
>     (** Uses {!print_endline} *)
>     let f () = print_endline "Hello"
> 
> What do I have to do such that ocamldoc generates a
> crossreference to 
> file:///usr/share/doc/ocaml-doc/ocaml.html/libref/Pervasives.html#VALprint_endline
> ?

OCamldoc can only create links to elements it knows about, i.e. in modules
given on command line (or loaded from a dump).
So the answer is: you can't.

Regards,

Maxence

  reply	other threads:[~2012-03-07  9:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-07  8:58 Hendrik Tews
2012-03-07  9:11 ` Maxence Guesdon [this message]
2012-03-12  8:28   ` Hendrik Tews
2012-03-13 15:26   ` Hendrik Tews

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=20120307101101.2629f29d@alcazar \
    --to=maxence.guesdon@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=tews@os.inf.tu-dresden.de \
    /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).