comparison MoinMoin/formatter/text_docbook.py @ 3248:2ea14aac1a35

Blacklist navigation macro
author Mikko Virkkil? <mvirkkil@cc.hut.fi>
date Thu, 13 Mar 2008 11:06:11 +0100
parents c715d62efc50
children 1ff7cb6c381b
comparison
equal deleted inserted replaced
3247:c715d62efc50 3248:2ea14aac1a35
36 # the Inlcude-macro doesn't pass us the information. 36 # the Inlcude-macro doesn't pass us the information.
37 37
38 # this list is extended as the page is parsed. Could be optimized by adding them here? 38 # this list is extended as the page is parsed. Could be optimized by adding them here?
39 section_should_break = ['abstract', 'para', 'emphasis'] 39 section_should_break = ['abstract', 'para', 'emphasis']
40 40
41 blacklisted_macros = ('TableOfContents', 'ShowSmileys') 41 blacklisted_macros = ('TableOfContents', 'ShowSmileys', 'Navigation')
42 42
43 # If the current node is one of the following and we are about the emit 43 # If the current node is one of the following and we are about the emit
44 # text, the text should be wrapped in a paragraph 44 # text, the text should be wrapped in a paragraph
45 wrap_text_in_para = ('listitem', 'glossdef', 'article', 'chapter', 'tip', 'warning', 'note', 'caution', 'important') 45 wrap_text_in_para = ('listitem', 'glossdef', 'article', 'chapter', 'tip', 'warning', 'note', 'caution', 'important')
46 46