summaryrefslogtreecommitdiff
path: root/man/sd_get_seats.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-07 18:25:54 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-07 18:36:55 -0400
commit5aded369782f28255bc6b494ca905d7acaea7a56 (patch)
tree19967be26179b3084a1916e9ac6a7c69aee2e760 /man/sd_get_seats.xml
parent061df014fd60a6c1eefadcf9b84705015d0ce511 (diff)
man: add a mapping for external manpages
It is annoying when we have dead links on fd.o. Add project='man-pages|die-net|archlinux' to <citerefentry>-ies. In generated html, add external links to http://man7.org/linux/man-pages/man, http://linux.die.net/man/, https://www.archlinux.org/. By default, pages in sections 2 and 4 go to man7, since Michael Kerrisk is the autorative source on kernel related stuff. The rest of links goes to linux.die.net, because they have the manpages. Except for the pacman stuff, since it seems to be only available from archlinux.org. Poor gummiboot gets no link, because gummitboot(8) ain't to be found on the net. According to common wisdom, that would mean that it does not exist. But I have seen Kay using it, so I know it does, and deserves to be found. Can somebody be nice and put it up somewhere?
Diffstat (limited to 'man/sd_get_seats.xml')
-rw-r--r--man/sd_get_seats.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/man/sd_get_seats.xml b/man/sd_get_seats.xml
index a49dde80c..76527c3f6 100644
--- a/man/sd_get_seats.xml
+++ b/man/sd_get_seats.xml
@@ -85,7 +85,7 @@
seats. Returns a <constant>NULL</constant> terminated array of seat
identifiers. The returned array and all strings it
references need to be freed with the libc
- <citerefentry><refentrytitle>free</refentrytitle><manvolnum>3</manvolnum></citerefentry>
+ <citerefentry project='man-pages'><refentrytitle>free</refentrytitle><manvolnum>3</manvolnum></citerefentry>
call after use. Note that instead of an empty array
<constant>NULL</constant> may be returned and should be considered
equivalent to an empty array.</para>
@@ -124,7 +124,7 @@
<function>sd_get_machine_names()</function> interfaces
are available as a shared library, which can be compiled
and linked to with the
- <constant>libsystemd</constant> <citerefentry><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+ <constant>libsystemd</constant> <citerefentry project='die-net'><refentrytitle>pkg-config</refentrytitle><manvolnum>1</manvolnum></citerefentry>
file.</para>
</refsect1>