sphinx-doc/sphinx
Feature request: support ABNF grammar in productionlist
Aberta
#4.454 aberto em 18 de jan. de 2018
help wantedmarkuptype:proposal
Métricas do repositório
- Stars
- (5.625 estrelas)
- Métricas de merge de PR
- (Mesclagem média 10d 11h) (11 fundiu PRs em 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