sphinx-doc/sphinx
View on GitHubFeature request: support ABNF grammar in productionlist
Open
#4,454 opened on Jan 18, 2018
help wantedmarkuptype:proposal
Repository metrics
- Stars
- (5,625 stars)
- PR merge metrics
- (Avg merge 10d 11h) (11 merged PRs in 30d)
Description
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