Merge pull request #762 from mesalu/admonish_deprecation

Admonish deprecations
This commit is contained in:
Robin Dunn
2018-02-22 22:03:11 -08:00
parent b1171e2553
commit 693863c2a5
7 changed files with 90 additions and 31 deletions

View File

@@ -52,7 +52,7 @@ PUNCTUATION = '!"#$%\'()*,./:;<=>?@\\^{|}~'
# Conversion between XML sections and ReST sections
SECTIONS = [('return' , ':returns:'),
('since' , '.. versionadded::'),
('deprecated', '.. deprecated::'),
('deprecated', '.. wxdeprecated::'), # use the custom admonition for deprecation
('warning' , '.. warning::'),
('remarks' , '.. note::'),
('remark' , '.. note::'),