fixed leading spaces for the second row of table in pydoc, sources formatted
This commit is contained in:
parent
9cd379b800
commit
3b7908fa6e
6 changed files with 639 additions and 452 deletions
|
|
@ -209,6 +209,23 @@ int htmlFunction(int a, float b)
|
|||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* The meaning of flags:
|
||||
*
|
||||
* @param byFlags bits marking required items:
|
||||
* <table>
|
||||
* <tr><th> Size in bits</th><th> Items Required </th></tr>
|
||||
* <tr><td> 1 - 8 </td><td> 1 </td></tr>
|
||||
* <tr><td> 9 - 16 </td><td> 2 </td></tr>
|
||||
* <tr><td> 17 - 32 </td><td> 4 </td></tr>
|
||||
* </table>
|
||||
* Almost all combinations of above flags are supported by
|
||||
* \c htmlTable... functions.
|
||||
*/
|
||||
int htmlTableFunction(int byFlags)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* All entities are treated as commands © ™ ®
|
||||
|
|
|
|||
|
|
@ -232,6 +232,21 @@ public class doxygen_translate_runme {
|
|||
"\n" +
|
||||
"");
|
||||
|
||||
wantedComments.put("doxygen_translate.doxygen_translate.htmlTableFunction(int)",
|
||||
"The meaning of flags:\n" +
|
||||
"\n" +
|
||||
" @param byFlags bits marking required items:\n" +
|
||||
" <table>\n" +
|
||||
" <tr><th> Size in bits</th><th> Items Required </th></tr>\n" +
|
||||
" <tr><td> 1 - 8 </td><td> 1 </td></tr>\n" +
|
||||
" <tr><td> 9 - 16 </td><td> 2 </td></tr>\n" +
|
||||
" <tr><td> 17 - 32 </td><td> 4 </td></tr>\n" +
|
||||
" </table>\n" +
|
||||
" Almost all combinations of above flags are supported by\n" +
|
||||
" <code>htmlTable...</code> functions.\n" +
|
||||
"");
|
||||
|
||||
|
||||
wantedComments.put("doxygen_translate.doxygen_translate.htmlEntitiesFunction(int, float)",
|
||||
"All entities are treated as commands © ™ ®\n" +
|
||||
"should work also<in text \n" +
|
||||
|
|
|
|||
|
|
@ -221,6 +221,24 @@ r"""
|
|||
""")
|
||||
|
||||
|
||||
commentVerifier.check(doxygen_translate.htmlTableFunction.__doc__,
|
||||
r"""
|
||||
The meaning of flags:
|
||||
|
||||
Arguments:
|
||||
byFlags (int) -- bits marking required items:
|
||||
|
||||
| Size in bits| Items Required |
|
||||
--------------------------------
|
||||
| 1 - 8 | 1 |
|
||||
| 9 - 16 | 2 |
|
||||
| 17 - 32 | 4 |
|
||||
|
||||
Almost all combinations of above flags are supported by
|
||||
'htmlTable...' functions.
|
||||
""")
|
||||
|
||||
|
||||
commentVerifier.check(doxygen_translate.htmlEntitiesFunction.__doc__,
|
||||
r"""
|
||||
All entities are treated as commands (C) TM (R)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue