Skip to content

Commit

Permalink
Modify rst toolkit to handle "linebreak" tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tsitkov committed Jan 11, 2013
1 parent 4382911 commit 98f9bf9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/tools/doxybuilder_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ def _process_paragraph_content(self, node):
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
Expand Down

0 comments on commit 98f9bf9

Please sign in to comment.