doc: removed the word "interface" from the link names

Just to make it slightly shorter.

Also add a dash to the doxygen links to make them look a bit more alike.

Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Bill Spitzak 2014-12-18 20:15:06 -08:00 committed by Pekka Paalanen
parent dfc64f9ffe
commit 4abe5edf46
4 changed files with 18 additions and 21 deletions

View file

@ -70,7 +70,7 @@
</xsl:template> </xsl:template>
<xsl:template match="ref"> <xsl:template match="ref">
<link linkend="{$which}{@refid}"><xsl:value-of select="." /></link> <link linkend="{$which}-{@refid}"><xsl:value-of select="." /></link>
</xsl:template> </xsl:template>
<xsl:template match="simplesect[@kind='return']"> <xsl:template match="simplesect[@kind='return']">
@ -123,7 +123,7 @@
<!-- methods --> <!-- methods -->
<xsl:template match="memberdef" > <xsl:template match="memberdef" >
<xsl:if test="@kind = 'function' and @static = 'no'"> <xsl:if test="@kind = 'function' and @static = 'no'">
<varlistentry id="{$which}{@id}"> <varlistentry id="{$which}-{@id}">
<term> <term>
<xsl:value-of select="name"/> <xsl:value-of select="name"/>
<xsl:if test="normalize-space(briefdescription) != ''"> <xsl:if test="normalize-space(briefdescription) != ''">
@ -143,7 +143,7 @@
<!-- classes --> <!-- classes -->
<xsl:template match="compounddef" > <xsl:template match="compounddef" >
<xsl:if test="@kind = 'class'"> <xsl:if test="@kind = 'class'">
<varlistentry id="{$which}{@id}"> <varlistentry id="{$which}-{@id}">
<term> <term>
<xsl:value-of select="compoundname" /> <xsl:value-of select="compoundname" />
<xsl:if test="normalize-space(briefdescription) != ''"> <xsl:if test="normalize-space(briefdescription) != ''">

View file

@ -23,10 +23,10 @@
</para> </para>
<para> <para>
Core interfaces: Core interfaces:
<variablelist> <variablelist>
<xsl:apply-templates select="protocol/interface" /> <xsl:apply-templates select="protocol/interface" />
</variablelist> </variablelist>
</para> </para>
</section> </section>
</xsl:template> </xsl:template>
@ -35,7 +35,7 @@
<xsl:template match="interface" > <xsl:template match="interface" >
<varlistentry> <varlistentry>
<term> <term>
<link linkend="protocol-spec-interface-{@name}"> <link linkend="protocol-spec-{@name}">
<xsl:value-of select="@name" /> <xsl:value-of select="@name" />
</link> </link>
</term> </term>

View file

@ -49,9 +49,7 @@
<!-- Interface descriptions --> <!-- Interface descriptions -->
<xsl:template match="interface" > <xsl:template match="interface" >
<section> <section id="protocol-spec-{@name}">
<xsl:attribute name="id">protocol-spec-<xsl:value-of select="name()"/>-<xsl:value-of select="@name" />
</xsl:attribute>
<title> <title>
<xsl:value-of select="@name" /> <xsl:value-of select="@name" />
<!-- only show summary if it exists --> <!-- only show summary if it exists -->
@ -103,8 +101,7 @@
<!-- Request/event list --> <!-- Request/event list -->
<xsl:template match="request|event|enum"> <xsl:template match="request|event|enum">
<section> <section id="protocol-spec-{../@name}-{name()}-{@name}">
<xsl:attribute name="id">protocol-spec-interface-<xsl:value-of select="../@name"/>-<xsl:value-of select="name()"/>-<xsl:value-of select="@name"/></xsl:attribute>
<title> <title>
<xsl:value-of select="../@name"/>::<xsl:value-of select="@name" /> <xsl:value-of select="../@name"/>::<xsl:value-of select="@name" />
<xsl:if test="description/@summary"> <xsl:if test="description/@summary">

View file

@ -275,7 +275,7 @@
The compositor is a global object, advertised at connect time. The compositor is a global object, advertised at connect time.
</para> </para>
<para> <para>
See <xref linkend="protocol-spec-interface-wl_compositor"/> for the See <xref linkend="protocol-spec-wl_compositor"/> for the
protocol description. protocol description.
</para> </para>
</section> </section>
@ -287,7 +287,7 @@
cannot access other clients surfaces. cannot access other clients surfaces.
</para> </para>
<para> <para>
See <xref linkend="protocol-spec-interface-wl_surface"/> for the protocol See <xref linkend="protocol-spec-wl_surface"/> for the protocol
description. description.
</para> </para>
</section> </section>
@ -324,7 +324,7 @@
or triple clicks. or triple clicks.
</para> </para>
<para> <para>
See <xref linkend="protocol-spec-interface-wl_seat"/> for the See <xref linkend="protocol-spec-wl_seat"/> for the
protocol description. protocol description.
</para> </para>
<para> <para>
@ -383,7 +383,7 @@
comes and goes. comes and goes.
</para> </para>
<para> <para>
See <xref linkend="protocol-spec-interface-wl_output"/> for the protocol See <xref linkend="protocol-spec-wl_output"/> for the protocol
description. description.
</para> </para>
<para> <para>
@ -432,10 +432,10 @@
that implements copy-paste and drag-and-drop support. that implements copy-paste and drag-and-drop support.
</para> </para>
<para> <para>
See <xref linkend="protocol-spec-interface-wl_data_offer"/>, See <xref linkend="protocol-spec-wl_data_offer"/>,
<xref linkend="protocol-spec-interface-wl_data_source"/>, <xref linkend="protocol-spec-wl_data_source"/>,
<xref linkend="protocol-spec-interface-wl_data_device"/> and <xref linkend="protocol-spec-wl_data_device"/> and
<xref linkend="protocol-spec-interface-wl_data_device_manager"/> for <xref linkend="protocol-spec-wl_data_device_manager"/> for
protocol descriptions. protocol descriptions.
</para> </para>
<para> <para>