##// END OF EJS Templates
minirst: reindent _admonitiontitles...
Gregory Szorc -
r31712:b3640334 default
parent child Browse files
Show More
@@ -452,7 +452,8 b' def findadmonitions(blocks, admonitions='
452 i = i + 1
452 i = i + 1
453 return blocks
453 return blocks
454
454
455 _admonitiontitles = {'attention': _('Attention:'),
455 _admonitiontitles = {
456 'attention': _('Attention:'),
456 'caution': _('Caution:'),
457 'caution': _('Caution:'),
457 'danger': _('!Danger!') ,
458 'danger': _('!Danger!'),
458 'error': _('Error:'),
459 'error': _('Error:'),
@@ -460,7 +461,8 b' def findadmonitions(blocks, admonitions='
460 'important': _('Important:'),
461 'important': _('Important:'),
461 'note': _('Note:'),
462 'note': _('Note:'),
462 'tip': _('Tip:'),
463 'tip': _('Tip:'),
463 'warning': _('Warning!')}
464 'warning': _('Warning!'),
465 }
464
466
465 def formatoption(block, width):
467 def formatoption(block, width):
466 desc = ' '.join(map(str.strip, block['lines']))
468 desc = ' '.join(map(str.strip, block['lines']))
General Comments 0
You need to be logged in to leave comments. Login now