mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
Handle \see
[SVN r70874]
This commit is contained in:
parent
0d10a36cea
commit
55259344f5
@ -25,7 +25,7 @@ else
|
||||
{
|
||||
actions compare
|
||||
{
|
||||
diff -u $(>[1]) $(>[2]) && echo "Stamped" >$(<)
|
||||
diff -u -w $(>[1]) $(>[2]) && echo "Stamped" >$(<)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -19,5 +19,6 @@ Line 1<sbr/>
|
||||
</para></description></struct><enum name="namespace_enum"><enumvalue name="enumerator"/></enum><data-member name="namespace_integer"><type>int</type></data-member><data-member name="namespace_static_integer" specifiers="static"><type>int</type></data-member><data-member name="namespace_const_integer"><type>const int</type></data-member><data-member name="namespace_static_const_integer" specifiers="static"><type>const int</type></data-member><function name="namespace_func"><type>int</type><parameter name="i"><paramtype>int</paramtype><description><para>A function parameter </para></description></parameter><parameter name="j"><paramtype>int</paramtype><description><para>Another </para></description></parameter><description><para>
|
||||
|
||||
|
||||
This is a test function. <classname alt="example::example">Link to class</classname> <classname alt="example::example_template">Link to class template</classname> <note><para>This is a note. </para></note>
|
||||
This is a test function. <classname alt="example::example">Link to class</classname> <classname alt="example::example_template">Link to class template</classname> <note><para>This is a note.</para></note>
|
||||
<para><emphasis role="bold">See Also:</emphasis><para><classname alt="example::example">example::example</classname> and <classname alt="example::example_template">example_template</classname> </para></para>
|
||||
</para></description><requires><para>i > j</para></requires><returns><para>The answer </para></returns></function></namespace><macro name="EXAMPLE" kind="functionlike"><macro-parameter name="m"/><purpose>Documentation for macro example. </purpose></macro></header></library-reference>
|
||||
|
@ -108,6 +108,8 @@ namespace example
|
||||
* \ref example::example "Link to class"
|
||||
* \ref example_template "Link to class template"
|
||||
* \note This is a note.
|
||||
*
|
||||
* \see example::example and example_template
|
||||
*/
|
||||
int namespace_func(int i, int j);
|
||||
}
|
||||
|
@ -1276,7 +1276,7 @@
|
||||
not (@kind='return') and
|
||||
not (@kind='post') and
|
||||
not (@kind='attention') and
|
||||
not (@kind='note')">
|
||||
not (@kind='see')">
|
||||
<xsl:apply-templates mode="passthrough"/>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
@ -1293,6 +1293,15 @@
|
||||
</formalpara>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="para/simplesect[@kind='see']" mode="passthrough">
|
||||
<para>
|
||||
<emphasis role="bold">
|
||||
<xsl:text>See Also:</xsl:text>
|
||||
</emphasis>
|
||||
<xsl:apply-templates mode="passthrough"/>
|
||||
</para>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="simplesectsep" mode="passthrough">
|
||||
<xsl:apply-templates mode="passthrough"/>
|
||||
</xsl:template>
|
||||
|
Loading…
x
Reference in New Issue
Block a user