[gobject-introspection] doctool: Use definition lists instead of tables



commit ac3d35bd4fcf07f86b4ea5a0d71569cc7a49e1c8
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Jan 31 18:15:35 2013 -0500

    doctool: Use definition lists instead of tables

 giscanner/doctemplates/C/mallard-C-function.tmpl   |   16 +++-----
 giscanner/doctemplates/C/mallard-C-vfunc.tmpl      |   16 +++-----
 .../doctemplates/Python/mallard-Python-enum.tmpl   |   10 ++---
 .../Python/mallard-Python-function.tmpl            |   16 +++-----
 .../doctemplates/Python/mallard-Python-signal.tmpl |   34 ++++++-----------
 .../doctemplates/Python/mallard-Python-vfunc.tmpl  |   16 +++-----
 .../DocExamples.Obj-vfunc.page                     |   16 +++-----
 .../DocExamples.Obj.method.page                    |   40 +++++++-------------
 .../DocExamples.Obj.new.page                       |   10 ++---
 .../DocExamples.Obj.static_method.page             |   16 +++-----
 .../DocExamples.array_function.page                |   16 +++-----
 .../DocExamples.callback_function.page             |   28 +++++---------
 .../DocExamples.Enum.page                          |   16 +++-----
 .../DocExamples.Obj-signal-example.page            |   40 +++++++-------------
 .../DocExamples.Obj-vfunc.page                     |   10 ++---
 .../DocExamples.Obj.method.page                    |   40 +++++++-------------
 .../DocExamples.Obj.static_method.page             |   16 +++-----
 .../DocExamples.array_function.page                |   16 +++-----
 .../DocExamples.callback_function.page             |   28 +++++---------
 19 files changed, 146 insertions(+), 254 deletions(-)
---
diff --git a/giscanner/doctemplates/C/mallard-C-function.tmpl b/giscanner/doctemplates/C/mallard-C-function.tmpl
index e0af641..84cace0 100644
--- a/giscanner/doctemplates/C/mallard-C-function.tmpl
+++ b/giscanner/doctemplates/C/mallard-C-function.tmpl
@@ -61,19 +61,15 @@ ${formatter.format_type(arg.type) | x} ${arg.argname}\
 </%block>
 <%block name="details">
 % if node.parameters or node.retval:
-<table>
+<dl>
 % for arg, ix in zip(node.parameters, range(len(node.parameters))):
-<tr>
-<td><p>${arg.argname} :</p></td>
-<td>${formatter.format(node, arg.doc)}</td>
-</tr>
+<dt><p>${arg.argname} :</p></dt>
+<dd>${formatter.format(node, arg.doc)}</dd>
 % endfor
 % if node.retval:
-<tr>
-<td><p>Returns :</p></td>
-<td>${formatter.format(node, node.retval.doc)}</td>
-</tr>
+<dt><p>Returns :</p></dt>
+<dd>${formatter.format(node, node.retval.doc)}</dd>
 % endif
-</table>
+</dl>
 % endif
 </%block>
diff --git a/giscanner/doctemplates/C/mallard-C-vfunc.tmpl b/giscanner/doctemplates/C/mallard-C-vfunc.tmpl
index 9cea167..34c25b1 100644
--- a/giscanner/doctemplates/C/mallard-C-vfunc.tmpl
+++ b/giscanner/doctemplates/C/mallard-C-vfunc.tmpl
@@ -8,19 +8,15 @@
 </%block>
 <%block name="details">
 % if node.parameters or node.retval:
-<table>
+<dl>
 % for arg, ix in zip(node.parameters, range(len(node.parameters))):
-<tr>
-<td><p>${arg.argname} :</p></td>
-<td>${formatter.format(node, arg.doc)}</td>
-</tr>
+<dt><p>${arg.argname} :</p></dt>
+<dd>${formatter.format(node, arg.doc)}</dd>
 % endfor
 % if node.retval:
-<tr>
-<td><p>Returns :</p></td>
-<td>${formatter.format(node, node.retval.doc)}</td>
-</tr>
+<dt><p>Returns :</p></dt>
+<dd>${formatter.format(node, node.retval.doc)}</dd>
 % endif
-</table>
+</dl>
 % endif
 </%block>
diff --git a/giscanner/doctemplates/Python/mallard-Python-enum.tmpl b/giscanner/doctemplates/Python/mallard-Python-enum.tmpl
index 3c38f88..69d2c33 100644
--- a/giscanner/doctemplates/Python/mallard-Python-enum.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-enum.tmpl
@@ -1,13 +1,11 @@
 <%inherit file="mallard-base.tmpl"/>
 <%block name="details">
 % if node.members:
-<table>
+<dl>
 % for member, ix in zip(node.members, range(len(node.members))):
-<tr>
-<td><p>${node.name}.${member.name.upper()} :</p></td>
-<td>${formatter.format(node, member.doc)}</td>
-</tr>
+<dt><p>${node.name}.${member.name.upper()} :</p></dt>
+<dd>${formatter.format(node, member.doc)}</dd>
 % endfor
-</table>
+</dl>
 % endif
 </%block>
diff --git a/giscanner/doctemplates/Python/mallard-Python-function.tmpl b/giscanner/doctemplates/Python/mallard-Python-function.tmpl
index 1dbba1e..65adb1d 100644
--- a/giscanner/doctemplates/Python/mallard-Python-function.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-function.tmpl
@@ -48,19 +48,15 @@ ${', '.join((arg.argname for arg in node.parameters))}\
 </%block>
 <%block name="details">
 % if node.parameters or node.retval:
-<table>
+<dl>
 % for arg, ix in zip(node.parameters, range(len(node.parameters))):
-<tr>
-<td><p>${arg.argname} :</p></td>
-<td>${formatter.format(node, arg.doc)}</td>
-</tr>
+<dt><p>${arg.argname} :</p></dt>
+<dd>${formatter.format(node, arg.doc)}</dd>
 % endfor
 % if node.retval and node.retval.type.ctype != 'void':
-<tr>
-<td><p>Returns :</p></td>
-<td>${formatter.format(node, node.retval.doc)}</td>
-</tr>
+<dt><p>Returns :</p></dt>
+<dd>${formatter.format(node, node.retval.doc)}</dd>
 % endif
-</table>
+</dl>
 % endif
 </%block>
diff --git a/giscanner/doctemplates/Python/mallard-Python-signal.tmpl b/giscanner/doctemplates/Python/mallard-Python-signal.tmpl
index eccede7..8c721b9 100644
--- a/giscanner/doctemplates/Python/mallard-Python-signal.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-signal.tmpl
@@ -13,33 +13,23 @@ user_param1, ...)
 </code></synopsis>
 </%block>
 <%block name="details">
-<table>
-<tr>
-<td><p>${formatter.to_underscores(node.parent.name).lower()} :</p></td>
-<td><p>instance of ${namespace.name}.${node.parent.name} that is emitting the signal</p></td>
-</tr>
+<dl>
+<dt><p>${formatter.to_underscores(node.parent.name).lower()} :</p></dt>
+<dd><p>instance of ${namespace.name}.${node.parent.name} that is emitting the signal</p></dd>
 % for arg, ix in zip(node.parameters, range(len(node.parameters))):
-<tr>
-<td><p>${arg.argname} :</p></td>
-<td>${formatter.format(node, arg.doc)}</td>
-</tr>
+<dt><p>${arg.argname} :</p></dt>
+<dd>${formatter.format(node, arg.doc)}</dd>
 % endfor
-<tr>
-<td><p>user_param1 :</p></td>
-<td><p>first user parameter (if any) specified with the connect() method</p></td>
-</tr>
-<tr>
-<td><p>... :</p></td>
-<td><p>additional user parameters (if any)</p></td>
-</tr>
+<dt><p>user_param1 :</p></dt>
+<dd><p>first user parameter (if any) specified with the connect() method</p></dd>
+<dt><p>... :</p></dt>
+<dd><p>additional user parameters (if any)</p></dd>
 % if node.retval and \
      node.retval.type.ctype != 'void' and \
      node.retval.type.ctype is not None:
-<tr>
-<td><p>Returns :</p></td>
-<td>${node.retval.type.ctype} ${formatter.format(node, node.retval.doc)}</td>
-</tr>
+<dt><p>Returns :</p></dt>
+<dd>${node.retval.type.ctype} ${formatter.format(node, node.retval.doc)}</dd>
 % endif
-</table>
+</dl>
 </%block>
 
diff --git a/giscanner/doctemplates/Python/mallard-Python-vfunc.tmpl b/giscanner/doctemplates/Python/mallard-Python-vfunc.tmpl
index 3223070..cf51f7c 100644
--- a/giscanner/doctemplates/Python/mallard-Python-vfunc.tmpl
+++ b/giscanner/doctemplates/Python/mallard-Python-vfunc.tmpl
@@ -15,19 +15,15 @@ ${', '.join((arg.argname for arg in node.parameters))}\
 </%block>
 <%block name="details">
 % if node.parameters or node.retval:
-<table>
+<dl>
 % for arg, ix in zip(node.parameters, range(len(node.parameters))):
-<tr>
-<td><p>${arg.argname} :</p></td>
-<td>${formatter.format(node, arg.doc)}</td>
-</tr>
+<dt><p>${arg.argname} :</p></dt>
+<dd>${formatter.format(node, arg.doc)}</dd>
 % endfor
 % if node.retval and node.retval.type.ctype != 'void':
-<tr>
-<td><p>Returns :</p></td>
-<td>${formatter.format(node, node.retval.doc)}</td>
-</tr>
+<dt><p>Returns :</p></dt>
+<dd>${formatter.format(node, node.retval.doc)}</dd>
 % endif
-</table>
+</dl>
 % endif
 </%block>
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page
index c4acf2c..ec5d7fe 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj-vfunc.page
@@ -22,16 +22,12 @@
     <p>Since 0.99</p>
   
   
-<table>
-<tr>
-<td><p>first_arg :</p></td>
-<td><p>first argument</p></td>
-</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td></td>
-</tr>
-</table>
+<dl>
+<dt><p>first_arg :</p></dt>
+<dd><p>first argument</p></dd>
+<dt><p>Returns :</p></dt>
+<dd></dd>
+</dl>
 
   
   
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
index a08ecaa..23fe6e5 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
@@ -59,32 +59,20 @@ created with <link xref="DocExamples.Obj.new">doc_examples_obj_new</link>.</p><p
     <p>Since 0.99</p>
   
   
-<table>
-<tr>
-<td><p>first_arg :</p></td>
-<td><p>A <link xref="DocExamples.Obj">DocExamples.Obj</link>.</p></td>
-</tr>
-<tr>
-<td><p>second_arg :</p></td>
-<td><p>second argument</p></td>
-</tr>
-<tr>
-<td><p>boolean_arg :</p></td>
-<td><p>You should always pass <code>TRUE</code>.</p></td>
-</tr>
-<tr>
-<td><p>pointer_arg :</p></td>
-<td><p>If not <code>NULL</code>, do a thing. Pass <code>first_arg</code> if you want to sometimes. You can also pass <code>second_arg</code>, or even <code>boolean_arg</code>.</p></td>
-</tr>
-<tr>
-<td><p>string :</p></td>
-<td><p>A NUL-terminated string.</p></td>
-</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td><p>Either <code>FALSE</code> or something <code>FALSE</code>-y.</p></td>
-</tr>
-</table>
+<dl>
+<dt><p>first_arg :</p></dt>
+<dd><p>A <link xref="DocExamples.Obj">DocExamples.Obj</link>.</p></dd>
+<dt><p>second_arg :</p></dt>
+<dd><p>second argument</p></dd>
+<dt><p>boolean_arg :</p></dt>
+<dd><p>You should always pass <code>TRUE</code>.</p></dd>
+<dt><p>pointer_arg :</p></dt>
+<dd><p>If not <code>NULL</code>, do a thing. Pass <code>first_arg</code> if you want to sometimes. You can also pass <code>second_arg</code>, or even <code>boolean_arg</code>.</p></dd>
+<dt><p>string :</p></dt>
+<dd><p>A NUL-terminated string.</p></dd>
+<dt><p>Returns :</p></dt>
+<dd><p>Either <code>FALSE</code> or something <code>FALSE</code>-y.</p></dd>
+</dl>
 
   
   
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page
index 4058a9a..bb4fc10 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.new.page
@@ -28,12 +28,10 @@ DocExamplesObj* doc_examples_obj_new (void);
   
   
   
-<table>
-<tr>
-<td><p>Returns :</p></td>
-<td></td>
-</tr>
-</table>
+<dl>
+<dt><p>Returns :</p></dt>
+<dd></dd>
+</dl>
 
   
   
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page
index 9de699a..5fd3c74 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.static_method.page
@@ -33,16 +33,12 @@ and a return value.</p>
   
   
   
-<table>
-<tr>
-<td><p>out_arg :</p></td>
-<td><p>a pointer to int, or <code>NULL</code> to ignore</p></td>
-</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td><p><code>TRUE</code> if <code>out_arg</code> is valid, <code>FALSE</code> otherwise</p></td>
-</tr>
-</table>
+<dl>
+<dt><p>out_arg :</p></dt>
+<dd><p>a pointer to int, or <code>NULL</code> to ignore</p></dd>
+<dt><p>Returns :</p></dt>
+<dd><p><code>TRUE</code> if <code>out_arg</code> is valid, <code>FALSE</code> otherwise</p></dd>
+</dl>
 
   
   
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.array_function.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.array_function.page
index bdae141..f596786 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.array_function.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.array_function.page
@@ -33,16 +33,12 @@ and the length should be invisible in most introspected bindings.</p>
   
   
   
-<table>
-<tr>
-<td><p>out_len :</p></td>
-<td><p>the length of the returned array</p></td>
-</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td><p>an array of numbers.</p></td>
-</tr>
-</table>
+<dl>
+<dt><p>out_len :</p></dt>
+<dd><p>the length of the returned array</p></dd>
+<dt><p>Returns :</p></dt>
+<dd><p>an array of numbers.</p></dd>
+</dl>
 
   
   
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page
index 93e7720..57e2f72 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.callback_function.page
@@ -44,24 +44,16 @@ will expose this in different ways (e.g. Python keeps the
   
   
   
-<table>
-<tr>
-<td><p>callback :</p></td>
-<td><p>Just Call Me Maybe</p></td>
-</tr>
-<tr>
-<td><p>user_data :</p></td>
-<td><p>your stuff</p></td>
-</tr>
-<tr>
-<td><p>destroy_notify :</p></td>
-<td><p>how to get rid of <code>user_data</code></p></td>
-</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td><p><link xref="DocExamples.Enum">DocExamples.Enum</link>.foo sometimes, <link xref="DocExamples.Enum">DocExamples.Enum</link>.bar other times.</p></td>
-</tr>
-</table>
+<dl>
+<dt><p>callback :</p></dt>
+<dd><p>Just Call Me Maybe</p></dd>
+<dt><p>user_data :</p></dt>
+<dd><p>your stuff</p></dd>
+<dt><p>destroy_notify :</p></dt>
+<dd><p>how to get rid of <code>user_data</code></p></dd>
+<dt><p>Returns :</p></dt>
+<dd><p><link xref="DocExamples.Enum">DocExamples.Enum</link>.foo sometimes, <link xref="DocExamples.Enum">DocExamples.Enum</link>.bar other times.</p></dd>
+</dl>
 
   
   
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Enum.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Enum.page
index 3a5c17e..79ea637 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Enum.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Enum.page
@@ -19,16 +19,12 @@
   
   
   
-<table>
-<tr>
-<td><p>Enum.FOO :</p></td>
-<td><p>a foo</p></td>
-</tr>
-<tr>
-<td><p>Enum.BAR :</p></td>
-<td><p>a bar</p></td>
-</tr>
-</table>
+<dl>
+<dt><p>Enum.FOO :</p></dt>
+<dd><p>a foo</p></dd>
+<dt><p>Enum.BAR :</p></dt>
+<dd><p>a bar</p></dd>
+</dl>
 
   
   
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
index 1c43387..8b7e5d5 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-signal-example.page
@@ -24,32 +24,20 @@ def callback(obj, int_param, float_param, pointer_param, user_param1, ...)
     <p>Since 0.99</p>
   
   
-<table>
-<tr>
-<td><p>obj :</p></td>
-<td><p>instance of DocExamples.Obj that is emitting the signal</p></td>
-</tr>
-<tr>
-<td><p>int_param :</p></td>
-<td><p>a parameter of type int</p></td>
-</tr>
-<tr>
-<td><p>float_param :</p></td>
-<td><p>a parameter of type float</p></td>
-</tr>
-<tr>
-<td><p>pointer_param :</p></td>
-<td><p>A pointer to @obj's thingy -- pass <code>int_param</code> if you really want to.</p></td>
-</tr>
-<tr>
-<td><p>user_param1 :</p></td>
-<td><p>first user parameter (if any) specified with the connect() method</p></td>
-</tr>
-<tr>
-<td><p>... :</p></td>
-<td><p>additional user parameters (if any)</p></td>
-</tr>
-</table>
+<dl>
+<dt><p>obj :</p></dt>
+<dd><p>instance of DocExamples.Obj that is emitting the signal</p></dd>
+<dt><p>int_param :</p></dt>
+<dd><p>a parameter of type int</p></dd>
+<dt><p>float_param :</p></dt>
+<dd><p>a parameter of type float</p></dd>
+<dt><p>pointer_param :</p></dt>
+<dd><p>A pointer to @obj's thingy -- pass <code>int_param</code> if you really want to.</p></dd>
+<dt><p>user_param1 :</p></dt>
+<dd><p>first user parameter (if any) specified with the connect() method</p></dd>
+<dt><p>... :</p></dt>
+<dd><p>additional user parameters (if any)</p></dd>
+</dl>
 
   
   
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page
index 502ba22..98c9bfc 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj-vfunc.page
@@ -25,12 +25,10 @@ def do_vfunc(self, first_arg):
     <p>Since 0.99</p>
   
   
-<table>
-<tr>
-<td><p>first_arg :</p></td>
-<td><p>first argument</p></td>
-</tr>
-</table>
+<dl>
+<dt><p>first_arg :</p></dt>
+<dd><p>first argument</p></dd>
+</dl>
 
   
   
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
index 7f12c10..54a57c4 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
@@ -57,32 +57,20 @@ created with <link xref="DocExamples.Obj.new">Obj.new</link>.</p><p>This should
     <p>Since 0.99</p>
   
   
-<table>
-<tr>
-<td><p>first_arg :</p></td>
-<td><p>A <link xref="DocExamples.Obj">DocExamples.Obj</link>.</p></td>
-</tr>
-<tr>
-<td><p>second_arg :</p></td>
-<td><p>second argument</p></td>
-</tr>
-<tr>
-<td><p>boolean_arg :</p></td>
-<td><p>You should always pass <code>True</code>.</p></td>
-</tr>
-<tr>
-<td><p>pointer_arg :</p></td>
-<td><p>If not <code>None</code>, do a thing. Pass <code>self</code> if you want to sometimes. You can also pass <code>second_arg</code>, or even <code>boolean_arg</code>.</p></td>
-</tr>
-<tr>
-<td><p>string :</p></td>
-<td><p>A NUL-terminated string.</p></td>
-</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td><p>Either <code>False</code> or something <code>False</code>-y.</p></td>
-</tr>
-</table>
+<dl>
+<dt><p>first_arg :</p></dt>
+<dd><p>A <link xref="DocExamples.Obj">DocExamples.Obj</link>.</p></dd>
+<dt><p>second_arg :</p></dt>
+<dd><p>second argument</p></dd>
+<dt><p>boolean_arg :</p></dt>
+<dd><p>You should always pass <code>True</code>.</p></dd>
+<dt><p>pointer_arg :</p></dt>
+<dd><p>If not <code>None</code>, do a thing. Pass <code>self</code> if you want to sometimes. You can also pass <code>second_arg</code>, or even <code>boolean_arg</code>.</p></dd>
+<dt><p>string :</p></dt>
+<dd><p>A NUL-terminated string.</p></dd>
+<dt><p>Returns :</p></dt>
+<dd><p>Either <code>False</code> or something <code>False</code>-y.</p></dd>
+</dl>
 
   
   
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page
index 32c5316..e23e90d 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.static_method.page
@@ -36,16 +36,12 @@ and a return value.</p>
   
   
   
-<table>
-<tr>
-<td><p>out_arg :</p></td>
-<td><p>a pointer to int, or <code>None</code> to ignore</p></td>
-</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td><p><code>True</code> if <code>out_arg</code> is valid, <code>False</code> otherwise</p></td>
-</tr>
-</table>
+<dl>
+<dt><p>out_arg :</p></dt>
+<dd><p>a pointer to int, or <code>None</code> to ignore</p></dd>
+<dt><p>Returns :</p></dt>
+<dd><p><code>True</code> if <code>out_arg</code> is valid, <code>False</code> otherwise</p></dd>
+</dl>
 
   
   
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.array_function.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.array_function.page
index a4bb49d..1b2b414 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.array_function.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.array_function.page
@@ -36,16 +36,12 @@ and the length should be invisible in most introspected bindings.</p>
   
   
   
-<table>
-<tr>
-<td><p>out_len :</p></td>
-<td><p>the length of the returned array</p></td>
-</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td><p>an array of numbers.</p></td>
-</tr>
-</table>
+<dl>
+<dt><p>out_len :</p></dt>
+<dd><p>the length of the returned array</p></dd>
+<dt><p>Returns :</p></dt>
+<dd><p>an array of numbers.</p></dd>
+</dl>
 
   
   
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page
index a8416e7..80ee488 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.callback_function.page
@@ -45,24 +45,16 @@ will expose this in different ways (e.g. Python keeps the
   
   
   
-<table>
-<tr>
-<td><p>callback :</p></td>
-<td><p>Just Call Me Maybe</p></td>
-</tr>
-<tr>
-<td><p>user_data :</p></td>
-<td><p>your stuff</p></td>
-</tr>
-<tr>
-<td><p>destroy_notify :</p></td>
-<td><p>how to get rid of <code>user_data</code></p></td>
-</tr>
-<tr>
-<td><p>Returns :</p></td>
-<td><p><link xref="DocExamples.Enum">DocExamples.Enum</link>.foo sometimes, <link xref="DocExamples.Enum">DocExamples.Enum</link>.bar other times.</p></td>
-</tr>
-</table>
+<dl>
+<dt><p>callback :</p></dt>
+<dd><p>Just Call Me Maybe</p></dd>
+<dt><p>user_data :</p></dt>
+<dd><p>your stuff</p></dd>
+<dt><p>destroy_notify :</p></dt>
+<dd><p>how to get rid of <code>user_data</code></p></dd>
+<dt><p>Returns :</p></dt>
+<dd><p><link xref="DocExamples.Enum">DocExamples.Enum</link>.foo sometimes, <link xref="DocExamples.Enum">DocExamples.Enum</link>.bar other times.</p></dd>
+</dl>
 
   
   



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]