mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Use "warning" for warnings.
This commit is contained in:
@@ -56,7 +56,6 @@ class HTMLTranslator(BaseTranslator):
|
||||
self.builder = builder
|
||||
self.highlightlang = 'python'
|
||||
self.highlightlinenothreshold = sys.maxint
|
||||
self.language.labels['warning'] = 'Caveat'
|
||||
|
||||
def visit_desc(self, node):
|
||||
self.body.append(self.starttag(node, 'dl', CLASS=node['desctype']))
|
||||
|
||||
Reference in New Issue
Block a user