valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone
923a60
From ec79f8b26d793d2e2ee1705ca86437049e0153c6 Mon Sep 17 00:00:00 2001
923a60
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
923a60
Date: Fri, 13 Mar 2015 21:24:30 -0500
923a60
Subject: [PATCH] man: link to fd.o for dbus stuff
923a60
923a60
(cherry picked from commit 3b5cfcdb580f5b766ff7fb1a2839bd37d74a98de)
923a60
---
923a60
 man/busctl.xml                      |  2 +-
923a60
 man/custom-html.xsl                 | 13 +++++++++++++
923a60
 man/systemd-bus-proxyd.xml          |  2 +-
923a60
 man/systemd-bus-proxyd@.service.xml |  2 +-
923a60
 man/systemd-machine-id-setup.xml    |  2 +-
923a60
 5 files changed, 17 insertions(+), 4 deletions(-)
923a60
923a60
diff --git a/man/busctl.xml b/man/busctl.xml
923a60
index cc1844b0a0..807fc78e8f 100644
923a60
--- a/man/busctl.xml
923a60
+++ b/man/busctl.xml
923a60
@@ -465,7 +465,7 @@ o "/org/freedesktop/systemd1/job/42684"</programlisting>
923a60
     <title>See Also</title>
923a60
 
923a60
     <para>
923a60
-      <citerefentry><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
923a60
+      <citerefentry project='dbus'><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
923a60
       <ulink url="http://freedesktop.org/wiki/Software/dbus">D-Bus</ulink>,
923a60
       <ulink url="https://code.google.com/p/d-bus/">kdbus</ulink>,
923a60
       <citerefentry><refentrytitle>sd-bus</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
923a60
diff --git a/man/custom-html.xsl b/man/custom-html.xsl
923a60
index 32299db710..706b95a1c4 100644
923a60
--- a/man/custom-html.xsl
923a60
+++ b/man/custom-html.xsl
923a60
@@ -91,6 +91,19 @@
923a60
   <xsl:call-template name="inline.charseq"/>
923a60
 </xsl:template>
923a60
 
923a60
+<xsl:template match="citerefentry[@project='dbus']">
923a60
+  
923a60
+    <xsl:attribute name="href">
923a60
+      <xsl:text>http://dbus.freedesktop.org/doc/</xsl:text>
923a60
+      <xsl:value-of select="refentrytitle"/>
923a60
+      <xsl:text>.</xsl:text>
923a60
+      <xsl:value-of select="manvolnum"/>
923a60
+      <xsl:text>.html</xsl:text>
923a60
+    </xsl:attribute>
923a60
+    <xsl:call-template name="inline.charseq"/>
923a60
+  
923a60
+</xsl:template>
923a60
+
923a60
 <xsl:template match="refsect1/title|refsect1/info/title">
923a60
   
923a60
   

923a60
diff --git a/man/systemd-bus-proxyd.xml b/man/systemd-bus-proxyd.xml
923a60
index 2c7764047b..e0efe99854 100644
923a60
--- a/man/systemd-bus-proxyd.xml
923a60
+++ b/man/systemd-bus-proxyd.xml
923a60
@@ -101,7 +101,7 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
923a60
     <title>See Also</title>
923a60
 
923a60
     <para>
923a60
-      <citerefentry><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
923a60
+      <citerefentry project='dbus'><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
923a60
       <ulink url="http://freedesktop.org/wiki/Software/dbus">D-Bus</ulink>,
923a60
       <ulink url="https://code.google.com/p/d-bus/">kdbus</ulink>
923a60
     </para>
923a60
diff --git a/man/systemd-bus-proxyd@.service.xml b/man/systemd-bus-proxyd@.service.xml
923a60
index 141b43f6d9..dc4f07ff1b 100644
923a60
--- a/man/systemd-bus-proxyd@.service.xml
923a60
+++ b/man/systemd-bus-proxyd@.service.xml
923a60
@@ -73,7 +73,7 @@
923a60
 
923a60
     <para>
923a60
       <citerefentry><refentrytitle>systemd-bus-proxyd</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
923a60
-      <citerefentry><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
923a60
+      <citerefentry project='dbus'><refentrytitle>dbus-daemon</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
923a60
       <ulink url="http://freedesktop.org/wiki/Software/dbus">D-Bus</ulink>,
923a60
       <ulink url="https://code.google.com/p/d-bus/">kdbus</ulink>
923a60
     </para>
923a60
diff --git a/man/systemd-machine-id-setup.xml b/man/systemd-machine-id-setup.xml
923a60
index 22bad3e5f4..182717f524 100644
923a60
--- a/man/systemd-machine-id-setup.xml
923a60
+++ b/man/systemd-machine-id-setup.xml
923a60
@@ -122,7 +122,7 @@
923a60
     <para>
923a60
       <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
923a60
       <citerefentry><refentrytitle>machine-id</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
923a60
-      <citerefentry><refentrytitle>dbus-uuidgen</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
923a60
+      <citerefentry project='dbus'><refentrytitle>dbus-uuidgen</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
923a60
       <citerefentry><refentrytitle>systemd-firstboot</refentrytitle><manvolnum>1</manvolnum></citerefentry>
923a60
     </para>
923a60
   </refsect1>