[Epydoc-commits] SF.net SVN: epydoc: [1404] trunk/epydoc/src/epydoc/docwriter/html.py
Brought to you by:
edloper
From: <dva...@us...> - 2006-09-17 23:50:41
|
Revision: 1404 http://svn.sourceforge.net/epydoc/?rev=1404&view=rev Author: dvarrazzo Date: 2006-09-17 16:50:35 -0700 (Sun, 17 Sep 2006) Log Message: ----------- - Types in HTML output are treated consistently: not always in monotype font, but respecting user markup. Modified Paths: -------------- trunk/epydoc/src/epydoc/docwriter/html.py Modified: trunk/epydoc/src/epydoc/docwriter/html.py =================================================================== --- trunk/epydoc/src/epydoc/docwriter/html.py 2006-09-17 20:02:33 UTC (rev 1403) +++ trunk/epydoc/src/epydoc/docwriter/html.py 2006-09-17 23:50:35 UTC (rev 1404) @@ -1939,7 +1939,7 @@ ''' <tr$tr_class$> <td width="15%" align="right" valign="top" class="summary"> - <code class="summary-type">$typ or " "$</code> + <span class="summary-type">$typ or " "$</span> </td><td class="summary"> $description$ </td> @@ -2058,7 +2058,7 @@ if arg_name in func_doc.arg_types: typ = func_doc.arg_types[arg_name] typ_html = self.docstring_to_html(typ, func_doc, 10) - s += " (<code>%s</code>)" % typ_html + s += " (%s)" % typ_html return s write_function_details_entry = compile_template( @@ -2104,13 +2104,13 @@ >>> #endif >>> # === return type === >>> if rdescr and rtype: - <dl><dt>Returns: <code>$rtype$</code></dt> + <dl><dt>Returns: $rtype$</dt> <dd>$rdescr$</dd></dl> >>> elif rdescr: <dl><dt>Returns:</dt> <dd>$rdescr$</dd></dl> >>> elif rtype: - <dl><dt>Returns: <code>$rtype$</code></dt></dl> + <dl><dt>Returns: $rtype$</dt></dl> >>> #endif >>> # === decorators === >>> if func_doc.decorators not in (None, UNKNOWN): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |