mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 12:32:05 +00:00
cookbook: Remove the note about indenting <xi:include>
It's not necessary now to special case the indentation of includes as the XSLT for the cookbook strips leading and trailing space automaticaly for us.
This commit is contained in:
parent
4f5ab7d010
commit
86c3be550e
@ -243,22 +243,15 @@ fooing_barring_SOURCE = fooing-barring.c
|
|||||||
<example id="fooing-barring-example">
|
<example id="fooing-barring-example">
|
||||||
<title>Fooing with a bar</title>
|
<title>Fooing with a bar</title>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<xi:include href="examples/fooing-barring.c" parse="text">
|
<xi:include href="examples/fooing-barring.c" parse="text">
|
||||||
<xi:fallback>a code sample should be here... but isn't</xi:fallback>
|
<xi:fallback>a code sample should be here... but isn't</xi:fallback>
|
||||||
</xi:include>
|
</xi:include>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</example>
|
</example>
|
||||||
</section>
|
</section>
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</informalexample>
|
</informalexample>
|
||||||
|
|
||||||
<note>
|
|
||||||
<para>The <code><xi:include></code> element
|
|
||||||
should be aligned to the left-hand margin of the text
|
|
||||||
(no whitespace on the line before it), to prevent any
|
|
||||||
stray whitespace appearing in the program listing.</para>
|
|
||||||
</note>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
|
Loading…
Reference in New Issue
Block a user