print enum variant fields in docs

This commit is contained in:
Oliver Schneider
2016-05-27 12:04:56 +02:00
parent dd6e8d45e1
commit b0c7033042
4 changed files with 65 additions and 40 deletions

View File

@@ -117,6 +117,7 @@ from xml.etree import cElementTree as ET
from htmlentitydefs import entitydefs
entitydefs['larrb'] = u'\u21e4'
entitydefs['rarrb'] = u'\u21e5'
entitydefs['nbsp'] = ' '
# "void elements" (no closing tag) from the HTML Standard section 12.1.2
VOID_ELEMENTS = set(['area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'keygen',