Document hyperlink

You may create a Document hyperlink to point from a version of an element to its documentation. This information may be extracted by a script, doc.
If the "document" matches a regexp for html files, it will be raised in a running instance of netscape 4.5 (note that this requires that netscape is started from a view), or if not found, it will start it.
The script obeys two environment variables if set to non-empty:

Alternatively, goto-doc.el allows to do the same in emacs, applied to the current buffer. It is bound to C-c d.

A second script, lndoc, is provided to create or to update these links. It uses either of the two following commands, depending on whether the $TARGET is a vob object or not (it may be a string, naming a document non-accessible from within ClearCase):

  ct mkhlink Document $SOURCE $TARGET
  ct mkhlink -unidir -ttext "$TARGET" Document $SOURCE

This may be used with multiple sources, bound to the same document.

In order to cooperate with doc, it will insure that at most one version of the Document hyperlink is bound to a given version. If the version has already a Document hyperlink (or several), it will first attempt to remove it (them).


Example session of using hyperlinks, Dependencies through hyperlinks
Remote control of unix Netscape
Documentation ToC
Marc Girod
Last modified: Fri Feb 8 12:56:06 EET 2002