sphinx-doc/sphinx
Feature request: support ABNF grammar in productionlist
Offen
#4.454 geöffnet am 18.01.2018
help wantedmarkuptype:proposal
Repository-Metriken
- Stars
- (5.625 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 10T 11h) (11 gemergte PRs in 30 T)
Beschreibung
Feature
Provide support for Augmented Backus Naur Form [rfc5234] syntax in production list. The grammar option could have the following values:
abnf-5234for rfc5234abnf, alias forabnf-5234abnf-4234for rfc4234ebnffor ISO-14977 (when supported)sphinx(default)
Sample
.. productionlist::
:grammar: abnf-5234
UPPERCASE-ALPHA = %x41-5A ; A-Z
LOWERCASE-ALPHA = %x61-7A ; a-z