Example #1
0
 def visit_error(self, node):
     # this is used to process parsing errors as well as user error admonitions
     self.open_moin_page_node(moin_page.admonition({moin_page.type: 'error'}))
Example #2
0
 def visit_caution(self, node):
     self.open_moin_page_node(moin_page.admonition({moin_page.type: 'caution'}))
Example #3
0
 def visit_danger(self, node):
     self.open_moin_page_node(moin_page.admonition({moin_page.type: 'danger'}))
Example #4
0
 def visit_caution(self, node):
     self.open_moin_page_node(
         moin_page.admonition({moin_page.type: 'caution'}))
Example #5
0
 def visit_admonition(self, node):
     # we do not support generic admonitions per http://docutils.sourceforge.net/docs/ref/rst/directives.html#generic-admonition
     self.open_moin_page_node(moin_page.admonition())
Example #6
0
 def visit_note(self, node):
     self.open_moin_page_node(moin_page.admonition({moin_page.type: 'note'}))
Example #7
0
 def visit_warning(self, node):
     self.open_moin_page_node(moin_page.admonition({moin_page.type: 'warning'}))
Example #8
0
 def visit_tip(self, node):
     self.open_moin_page_node(moin_page.admonition({moin_page.type: 'tip'}))
Example #9
0
 def visit_warning(self, node):
     self.open_moin_page_node(
         moin_page.admonition({moin_page.type: 'warning'}))
Example #10
0
 def visit_important(self, node):
     self.open_moin_page_node(
         moin_page.admonition({moin_page.type: 'important'}))
Example #11
0
 def visit_note(self, node):
     self.open_moin_page_node(moin_page.admonition({moin_page.type:
                                                    'note'}))
Example #12
0
 def visit_hint(self, node):
     self.open_moin_page_node(moin_page.admonition({moin_page.type:
                                                    'hint'}))
Example #13
0
 def visit_error(self, node):
     # this is used to process parsing errors as well as user error admonitions
     self.open_moin_page_node(
         moin_page.admonition({moin_page.type: 'error'}))
Example #14
0
 def visit_danger(self, node):
     self.open_moin_page_node(
         moin_page.admonition({moin_page.type: 'danger'}))
Example #15
0
 def visit_hint(self, node):
     self.open_moin_page_node(moin_page.admonition({moin_page.type: 'hint'}))
Example #16
0
 def visit_system_message(self, node):
     # we have encountered a parsing error, insert an error message
     self.open_moin_page_node(
         moin_page.admonition({moin_page.type: 'error'}))
Example #17
0
 def visit_important(self, node):
     self.open_moin_page_node(moin_page.admonition({moin_page.type: 'important'}))
Example #18
0
 def visit_admonition(self, node):
     self.open_moin_page_node(moin_page.admonition())
Example #19
0
 def visit_tip(self, node):
     self.open_moin_page_node(moin_page.admonition({moin_page.type: 'tip'}))
Example #20
0
 def visit_admonition(self, node):
     self.open_moin_page_node(moin_page.admonition())
Example #21
0
 def visit_system_message(self, node):
     # we have encountered a parsing error, insert an error message
     self.open_moin_page_node(moin_page.admonition({moin_page.type: 'error'}))
Example #22
0
 def visit_admonition(self, node):
     # we do not support generic admonitions per http://docutils.sourceforge.net/docs/ref/rst/directives.html#generic-admonition
     self.open_moin_page_node(moin_page.admonition())