Mercurial > hg
comparison hgeditor @ 31713:32a563a01da4
minirst: remove "admonition" from _admonitions
The "admonition" rst primitive is split into "specific" admonitions
("attention," "caution," etc) and the "generic" admonition
("admonition"). For more, see
http://docutils.sourceforge.net/docs/ref/rst/directives.html#admonitions
The _admonitions set and keys of the _admonitiontitles dict
overlap exactly except _admonitions has an "admonition" entry.
Nowhere in Mercurial is the "admonition" admonition directive used.
Even if it were, it doesn't have a title, so it wouldn't be rendered
correctly.
So, let's remove "admonition" from the set of recognized admonition
directives.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 29 Mar 2017 20:05:18 -0700 |
parents | 1aee2ab0f902 |
children |
comparison
equal
deleted
inserted
replaced
31712:b3640334a43a | 31713:32a563a01da4 |
---|