diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-03 15:26:26 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-10-03 15:26:26 +0000 |
commit | 2c8407d1d02802e3c8bd38cf02d3e7cc8252a498 (patch) | |
tree | f4b17f8b575597882456517628b909cdd5cc8cdd /mandoc.1 | |
parent | 224d010444ff10359e8d1c19e8739476b1e8f0f9 (diff) | |
download | mandoc-2c8407d1d02802e3c8bd38cf02d3e7cc8252a498.tar.gz mandoc-2c8407d1d02802e3c8bd38cf02d3e7cc8252a498.tar.zst mandoc-2c8407d1d02802e3c8bd38cf02d3e7cc8252a498.zip |
Added the -oincludes=FMT option.
The `In' handler now decorates with a hyperlink.
If no -oman= or -oincludes= is stipulated, no link is printed (but the text is still style-decorated).
Diffstat (limited to 'mandoc.1')
-rw-r--r-- | mandoc.1 | 22 |
1 files changed, 19 insertions, 3 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.39 2009/10/03 15:08:09 kristaps Exp $ +.\" $Id: mandoc.1,v 1.40 2009/10/03 15:26:26 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se> .\" @@ -260,6 +260,17 @@ The file .Ar style.css is used for an external style-sheet. This must be a valid absolute or relative URI. +.It Fl o Ns Ar includes=fmt +The string +.Ar fmt , +for example, +.Ar ../src/%I.html , +is used as a template for linked header files (usually via the +.Sq \&In +macro). Instances of +.Sq %I +are replaced with the include filename. The default is not to present a +hyperlink. .It Fl o Ns Ar man=fmt The string .Ar fmt , @@ -267,8 +278,13 @@ for example, .Ar ../html%S/%N.%S.html , is used as a template for linked manuals (usually via the .Sq \&Xr -macro). The default is -.Ar %N.%S.html . +macro). Instances of +.Sq %N +and +.Sq %S +are replaced with the linked manual's name and section, respectively. +If no section is included, section 1 is assumed. The default is not to +present a hyperlink. .El . .Sh EXAMPLES |