anitazha / rpms / systemd

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

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