Commits

Anonymous committed 1565bfb

Format .. warning::s with a "Caveat" label.

  • Participants
  • Parent commits cc7ac22

Comments (0)

Files changed (1)

         self.no_smarty = 0
         BaseTranslator.__init__(self, *args, **kwds)
         self.highlightlang = 'python'
+        self.language.labels['warning'] = 'Caveat'
 
     def visit_desc(self, node):
         self.body.append(self.starttag(node, 'dl', CLASS=node['desctype']))