[PATCH 3/3] doc: Translate doxygen <sp/> tags to spaces

Pekka Paalanen ppaalanen at gmail.com
Mon Nov 3 06:00:54 PST 2014


On Mon, 29 Sep 2014 17:26:13 +0200
Benjamin Herr <ben at 0x539.de> wrote:

> Doxygen represents all spacing in code blocks with <sp/> tags, so these
> need to be turned back into spaces.
> 
> Signed-off-by: Benjamin Herr <ben at 0x539.de>
> ---
>  doc/publican/doxygen-to-publican.xsl | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/doc/publican/doxygen-to-publican.xsl b/doc/publican/doxygen-to-publican.xsl
> index 8ef5614..b6ca5f3 100644
> --- a/doc/publican/doxygen-to-publican.xsl
> +++ b/doc/publican/doxygen-to-publican.xsl
> @@ -104,6 +104,10 @@
>    <emphasis>Note: <xsl:apply-templates /></emphasis>
>  </xsl:template>
>  
> +<xsl:template match="programlisting//sp">
> +  <xsl:text> </xsl:text>
> +</xsl:template>
> +
>  <xsl:template match="programlisting">
>    <programlisting><xsl:apply-templates /></programlisting>
>  </xsl:template>

All three pushed, thanks,
pq


More information about the wayland-devel mailing list