|
4 | 4 | # Usage: linkman:command[manpage-section]
|
5 | 5 | # Usage: linkman2:command-page[displayed-command,manpage-section]
|
6 | 6 | #
|
7 |
| -# Note: |
| 7 | +# Notes: |
8 | 8 | # - in linkman, {0} is the manpage section, while {target} is the command.
|
9 | 9 | # - in linkman2, {0} is the whole list of attributes, {1} is the command to be
|
10 | 10 | # shown, {2} is the manpage section, while {target} is the command page.
|
11 | 11 | # - linkmanext and linkmanext2 macros repeat the behavior of the default ones.
|
12 | 12 | # These macros are intended for system man pages (e.g. HTML links might lead
|
13 | 13 | # to a generic internet site, or possibly to a distro-provided library
|
14 | 14 | # online or locally).
|
| 15 | +# - UNLIKE docs/asciidoc.conf we should not use "ulink" here, otherwise it |
| 16 | +# goes "as is" into the generated HTML (and is not understood by browsers)! |
15 | 17 |
|
16 | 18 | #
|
17 | 19 | # Show NUT link as: <command>(<section>); if section is defined, else just show
|
@@ -54,9 +56,11 @@ ifdef::backend-xhtml11[]
|
54 | 56 | # FIXME: Allow to define external man page URL structure and whether
|
55 | 57 | # sections should change via configure script options:
|
56 | 58 | [linkmanext-inlinemacro]
|
57 |
| -<ulink url="https://linux.die.net/man/{0}/{target}">{target}{0?({0})}</ulink> |
| 59 | +<a href="https://linux.die.net/man/{0}/{target}">{target}{0?({0})}</a> |
| 60 | +#<ulink url="https://linux.die.net/man/{0}/{target}">{target}{0?({0})}</ulink> |
58 | 61 | [linkmanext2-inlinemacro]
|
59 |
| -<ulink url="https://linux.die.net/man/{2}/{target}">{1={target}}{2?({2})}</ulink> |
| 62 | +<a href="https://linux.die.net/man/{2}/{target}">{1={target}}{2?({2})}</a> |
| 63 | +#<ulink url="https://linux.die.net/man/{2}/{target}">{1={target}}{2?({2})}</ulink> |
60 | 64 | # Override HTML footer, to include NUT version
|
61 | 65 | [footer-text]
|
62 | 66 | Last updated {docdate} {doctime} -- Network UPS Tools {nutversion}
|
|
0 commit comments