Geometry: in quickbook docs moved Arithmetic sectoin below Algorithms and added two sections Strategy Concepts and Strategies - part of docs review suggestions. Fixed rendering of class details, added heading.

[SVN r60573]
This commit is contained in:
Mateusz Loskot 2010-03-14 04:30:40 +00:00
parent 070b406a40
commit 3c1aade455
3 changed files with 10362 additions and 476 deletions

View File

@ -362,8 +362,41 @@
</tbody>
</tgroup>
<!-- ###### STRATEGY CONCEPTS ################################################################## -->
<tgroup cols="2">
<colspec colname="a"/>
<colspec colname="b"/>
<thead>
<row>
<entry valign="center" namest="a" nameend="b">
<bridgehead renderas="sect2">Strategy Concepts</bridgehead>
</entry>
</row>
</thead>
<tbody>
<row>
<entry valign="top">
<simplelist type="vert" columns="1">
<member><link linkend="boost_geometry.reference.concept__AreaStrategy">boost::geometry::concept::AreaStrategy</link></member>
<member><link linkend="boost_geometry.reference.concept__CentroidStrategy">boost::geometry::concept::CentroidStrategy</link></member>
<member><link linkend="boost_geometry.reference.concept__ConvexHullStrategy">boost::geometry::concept::ConvexHullStrategy</link></member>
<member><link linkend="boost_geometry.reference.concept__PointDistanceStrategy">boost::geometry::concept::PointDistanceStrategy</link></member>
<member><link linkend="boost_geometry.reference.concept__PointSegmentDistanceStrategy">boost::geometry::concept::PointSegmentDistanceStrategy</link></member>
</simplelist>
</entry>
<entry valign="top">
<simplelist type="vert" columns="1">
<member><link linkend="boost_geometry.reference.concept__SegmentIntersectStrategy">boost::geometry::concept::SegmentIntersectStrategy</link></member>
<member><link linkend="boost_geometry.reference.concept__SimplifyStrategy">boost::geometry::concept::SimplifyStrategy</link></member>
<member><link linkend="boost_geometry.reference.concept__WithinStrategy">boost::geometry::concept::WithinStrategy</link></member>
</simplelist>
</entry>
</row>
</tbody>
</tgroup>
<!-- ###### STRATEGIES ######################################################################### -->
<tgroup cols="4">
<tgroup cols="3">
<colspec colname="a"/>
<colspec colname="b"/>
<colspec colname="c"/>
@ -379,6 +412,8 @@
<entry valign="top">
<bridgehead renderas="sect3">Area</bridgehead>
<simplelist type="vert" columns="1">
<member><link linkend="boost_geometry.reference.strategy_area">boost::geometry::strategy_area</link></member>
<member><link linkend="boost_geometry.reference.strategy_area">boost::geometry::strategy_area</link></member>
<member><link linkend="boost_geometry.reference.area_result">boost::geometry::area_result</link></member>
<member><link linkend="boost_geometry.reference.strategy__area__by_triangles">boost::geometry::strategy::area::by_triangles</link></member>

File diff suppressed because it is too large Load Diff

View File

@ -503,6 +503,7 @@
<xsl:template name="header-requirements">
<xsl:param name="file"/>
<xsl:value-of select="$newline"/>
<xsl:text>[heading Requirements]</xsl:text>
<xsl:value-of select="$newline"/>
<xsl:value-of select="$newline"/>
@ -549,6 +550,7 @@
</xsl:text>
[heading Synopsis]
<xsl:apply-templates select="templateparamlist" mode="class-detail"/>
<xsl:text> </xsl:text>
<xsl:value-of select="@kind"/>
@ -567,18 +569,21 @@
</xsl:for-each>
<xsl:text></xsl:text>
<xsl:call-template name="class-tables">
<xsl:with-param name="class-name" select="$class-name"/>
<xsl:with-param name="class-id" select="$class-id"/>
</xsl:call-template>
<!-- [heading Class Description] -->
[heading Description]
<xsl:apply-templates select="detaileddescription" mode="markup"/>
<xsl:call-template name="header-requirements">
<xsl:with-param name="file" select="$class-file"/>
</xsl:call-template>
<xsl:call-template name="class-members">
<xsl:with-param name="class-name" select="$class-name"/>
<xsl:with-param name="class-id" select="$class-id"/>
@ -593,10 +598,7 @@
<xsl:template name="class-tables">
<xsl:param name="class-name"/>
<xsl:param name="class-id"/>
<xsl:if test="
count(
sectiondef[@kind='public-type'] |
innerclass[@prot='public']) &gt; 0">
<xsl:if test="count(sectiondef[@kind='public-type'] | innerclass[@prot='public']) &gt; 0">
[heading Public Types]
[table
@ -640,6 +642,7 @@
</xsl:if>
<xsl:if test="count(sectiondef[@kind='public-func' or @kind='public-static-func']) > 0">
[heading Public Member Functions]
[table
[[Name][Description]]
@ -688,6 +691,7 @@
</xsl:if>
<xsl:if test="count(sectiondef[@kind='protected-func' or @kind='protected-static-func']) > 0">
[heading Protected Member Functions]
[table
[[Name][Description]]
@ -736,6 +740,7 @@
</xsl:if>
<xsl:if test="count(sectiondef[@kind='public-attrib' or @kind='public-static-attrib']) > 0">
[heading Public Data Members]
[table
[[Name][Description]]
@ -994,6 +999,7 @@
<xsl:text>
</xsl:text><xsl:apply-templates select="detaileddescription" mode="markup"/>
<xsl:if test="@kind='typedef' or @kind='friend'">
<xsl:call-template name="header-requirements">
<xsl:with-param name="file" select="$class-file"/>
@ -1230,6 +1236,7 @@
<xsl:apply-templates select="detaileddescription" mode="markup"/>
</xsl:for-each>
<xsl:call-template name="header-requirements">
<xsl:with-param name="file" select="location/@file"/>
</xsl:call-template>
@ -1277,6 +1284,7 @@
<!-- [heading NS Member Description] -->
<xsl:apply-templates select="detaileddescription" mode="markup"/>
<xsl:if test="$overload-count = 1">
<xsl:call-template name="header-requirements">
<xsl:with-param name="file" select="location/@file"/>