Move comment info before text in headings.

pull/193/head
Michael R Sweet 19 years ago
parent defaeae1df
commit 4ddc06eeab
  1. 12
      doc/reference.html
  2. 28
      mxmldoc.c

@ -503,7 +503,7 @@ mxmlLoadString(
<h4>Returns</h4> <h4>Returns</h4>
<p>First node or NULL if the string has errors.</p> <p>First node or NULL if the string has errors.</p>
<!-- NEW PAGE --> <!-- NEW PAGE -->
<h3 class='title'><a name='mxmlNewCDATA'>mxmlNewCDATA()</a> <span class='info'>&nbsp;Mini-XML 2.3&nbsp;</span></h3> <h3 class='title'><span class='info'>&nbsp;Mini-XML 2.3&nbsp;</span><a name='mxmlNewCDATA'>mxmlNewCDATA()</a></h3>
<h4>Description</h4> <h4>Description</h4>
<p>Create a new CDATA node. <p>Create a new CDATA node.
@ -530,7 +530,7 @@ mxmlNewCDATA(
<h4>Returns</h4> <h4>Returns</h4>
<p>New node</p> <p>New node</p>
<!-- NEW PAGE --> <!-- NEW PAGE -->
<h3 class='title'><a name='mxmlNewCustom'>mxmlNewCustom()</a> <span class='info'>&nbsp;Mini-XML 2.1&nbsp;</span></h3> <h3 class='title'><span class='info'>&nbsp;Mini-XML 2.1&nbsp;</span><a name='mxmlNewCustom'>mxmlNewCustom()</a></h3>
<h4>Description</h4> <h4>Description</h4>
<p>Create a new custom data node. <p>Create a new custom data node.
@ -847,7 +847,7 @@ mxmlSaveString(
<h4>Returns</h4> <h4>Returns</h4>
<p>Size of string</p> <p>Size of string</p>
<!-- NEW PAGE --> <!-- NEW PAGE -->
<h3 class='title'><a name='mxmlSetCDATA'>mxmlSetCDATA()</a> <span class='info'>&nbsp;Mini-XML 2.3&nbsp;</span></h3> <h3 class='title'><span class='info'>&nbsp;Mini-XML 2.3&nbsp;</span><a name='mxmlSetCDATA'>mxmlSetCDATA()</a></h3>
<h4>Description</h4> <h4>Description</h4>
<p>Set the element name of a CDATA node. <p>Set the element name of a CDATA node.
@ -871,7 +871,7 @@ mxmlSetCDATA(
<h4>Returns</h4> <h4>Returns</h4>
<p>0 on success, -1 on failure</p> <p>0 on success, -1 on failure</p>
<!-- NEW PAGE --> <!-- NEW PAGE -->
<h3 class='title'><a name='mxmlSetCustom'>mxmlSetCustom()</a> <span class='info'>&nbsp;Mini-XML 2.1&nbsp;</span></h3> <h3 class='title'><span class='info'>&nbsp;Mini-XML 2.1&nbsp;</span><a name='mxmlSetCustom'>mxmlSetCustom()</a></h3>
<h4>Description</h4> <h4>Description</h4>
<p>Set the data and destructor of a custom data node. <p>Set the data and destructor of a custom data node.
@ -1153,7 +1153,7 @@ struct mxml_attr_s
<tr><td><tt>value</tt> </td><td>Attribute value</td></tr> <tr><td><tt>value</tt> </td><td>Attribute value</td></tr>
</tbody></table></div> </tbody></table></div>
<!-- NEW PAGE --> <!-- NEW PAGE -->
<h3 class='title'><a name='mxml_custom_s'>mxml_custom_s</a> <span class='info'>&nbsp;Mini-XML 2.1&nbsp;</span></h3> <h3 class='title'><span class='info'>&nbsp;Mini-XML 2.1&nbsp;</span><a name='mxml_custom_s'>mxml_custom_s</a></h3>
<h4>Description</h4> <h4>Description</h4>
<p>An XML custom value. </p> <p>An XML custom value. </p>
<h4>Definition</h4> <h4>Definition</h4>
@ -1301,7 +1301,7 @@ typedef int (*mxml_custom_load_cb_t)(<a href='#mxml_node_t'>mxml_node_t</a> *, c
typedef char * (*mxml_custom_save_cb_t)(<a href='#mxml_node_t'>mxml_node_t</a> *); typedef char * (*mxml_custom_save_cb_t)(<a href='#mxml_node_t'>mxml_node_t</a> *);
</pre> </pre>
<!-- NEW PAGE --> <!-- NEW PAGE -->
<h3 class='title'><a name='mxml_custom_t'>mxml_custom_t</a> <span class='info'>&nbsp;Mini-XML 2.1&nbsp;</span></h3> <h3 class='title'><span class='info'>&nbsp;Mini-XML 2.1&nbsp;</span><a name='mxml_custom_t'>mxml_custom_t</a></h3>
<h4>Description</h4> <h4>Description</h4>
<p>An XML custom value. </p> <p>An XML custom value. </p>
<h4>Definition</h4> <h4>Definition</h4>

@ -2289,8 +2289,8 @@ write_documentation(
description = mxmlFindElement(scut, scut, "description", NULL, description = mxmlFindElement(scut, scut, "description", NULL,
NULL, MXML_DESCEND_FIRST); NULL, MXML_DESCEND_FIRST);
printf("<!-- NEW PAGE -->\n" printf("<!-- NEW PAGE -->\n"
"<h3 class='title'><a name='%s'>%s</a> %s</h3>\n", "<h3 class='title'>%s<a name='%s'>%s</a></h3>\n",
cname, cname, get_comment_info(description)); get_comment_info(description), cname, cname);
if (description) if (description)
{ {
@ -2474,8 +2474,8 @@ write_documentation(
description = mxmlFindElement(scut, scut, "description", NULL, description = mxmlFindElement(scut, scut, "description", NULL,
NULL, MXML_DESCEND_FIRST); NULL, MXML_DESCEND_FIRST);
printf("<!-- NEW PAGE -->\n" printf("<!-- NEW PAGE -->\n"
"<h3 class='title'><a name='%s'>%s</a> %s</h3>\n", "<h3 class='title'>%s<a name='%s'>%s</a></h3>\n",
name, name, get_comment_info(description)); get_comment_info(description), name, name);
if (description) if (description)
{ {
@ -2540,8 +2540,8 @@ write_documentation(
description = mxmlFindElement(function, function, "description", NULL, description = mxmlFindElement(function, function, "description", NULL,
NULL, MXML_DESCEND_FIRST); NULL, MXML_DESCEND_FIRST);
printf("<!-- NEW PAGE -->\n" printf("<!-- NEW PAGE -->\n"
"<h3 class='title'><a name='%s'>%s()</a> %s</h3>\n", "<h3 class='title'>%s<a name='%s'>%s()</a></h3>\n",
name, name, get_comment_info(description)); get_comment_info(description), name, name);
if (description) if (description)
{ {
@ -2664,8 +2664,8 @@ write_documentation(
description = mxmlFindElement(scut, scut, "description", NULL, description = mxmlFindElement(scut, scut, "description", NULL,
NULL, MXML_DESCEND_FIRST); NULL, MXML_DESCEND_FIRST);
printf("<!-- NEW PAGE -->\n" printf("<!-- NEW PAGE -->\n"
"<h3 class='title'><a name='%s'>%s</a> %s</h3>\n", "<h3 class='title'>%s<a name='%s'>%s</a></h3>\n",
cname, cname, get_comment_info(description)); get_comment_info(description), cname, cname);
if (description) if (description)
{ {
@ -2827,8 +2827,8 @@ write_documentation(
description = mxmlFindElement(scut, scut, "description", NULL, description = mxmlFindElement(scut, scut, "description", NULL,
NULL, MXML_DESCEND_FIRST); NULL, MXML_DESCEND_FIRST);
printf("<!-- NEW PAGE -->\n" printf("<!-- NEW PAGE -->\n"
"<h3 class='title'><a name='%s'>%s</a> %s</h3>\n", "<h3 class='title'>%s<a name='%s'>%s</a></h3>\n",
name, name, get_comment_info(description)); get_comment_info(description), name, name);
if (description) if (description)
{ {
@ -2947,8 +2947,8 @@ write_documentation(
description = mxmlFindElement(scut, scut, "description", NULL, description = mxmlFindElement(scut, scut, "description", NULL,
NULL, MXML_DESCEND_FIRST); NULL, MXML_DESCEND_FIRST);
printf("<!-- NEW PAGE -->\n" printf("<!-- NEW PAGE -->\n"
"<h3 class='title'><a name='%s'>%s</a> %s</h3>\n", "<h3 class='title'>%s<a name='%s'>%s</a></h3>\n",
name, name, get_comment_info(description)); get_comment_info(description), name, name);
if (description) if (description)
{ {
@ -3029,8 +3029,8 @@ write_documentation(
description = mxmlFindElement(arg, arg, "description", NULL, description = mxmlFindElement(arg, arg, "description", NULL,
NULL, MXML_DESCEND_FIRST); NULL, MXML_DESCEND_FIRST);
printf("<!-- NEW PAGE -->\n" printf("<!-- NEW PAGE -->\n"
"<h3 class='title'><a name='%s'>%s</a> %s</h3>\n", "<h3 class='title'>%s<a name='%s'>%s</a></h3>\n",
name, name, get_comment_info(description)); get_comment_info(description), name, name);
if (description) if (description)
{ {

Loading…
Cancel
Save