krb5 commit: Modify rst toolkit to handle "linebreak" tag

Zhanna A Tsitkova tsitkova at MIT.EDU
Fri Jan 11 17:20:07 EST 2013


https://github.com/krb5/krb5/commit/98f9bf9b3107c72a65946f64b6c0f5b1aa17fb4b
commit 98f9bf9b3107c72a65946f64b6c0f5b1aa17fb4b
Author: Zhanna Tsitkov <tsitkova at mit.edu>
Date:   Fri Jan 11 17:17:21 2013 -0500

    Modify rst toolkit to handle "linebreak" tag

 doc/tools/doxybuilder_types.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/doc/tools/doxybuilder_types.py b/doc/tools/doxybuilder_types.py
index 0774f34..890dc2c 100644
--- a/doc/tools/doxybuilder_types.py
+++ b/doc/tools/doxybuilder_types.py
@@ -289,6 +289,9 @@ class DoxyTypes(object):
                     result.append('*%s*' % e.strip())
             elif  e.getparent().tag == 'defname':
                 result.append('%s, ' % e.strip())
+            elif  e.getparent().tag == 'linebreak':
+                result.append('\n*%s*\n' % e.strip())
+
         result = ' '.join(result)
 
         return result


More information about the cvs-krb5 mailing list