semvec/pypi-packages huggingface dataset:
sphinx-syntax 1.2.0
A Sphinx plugin for documenting grammars
Requires Python: >=3.12

# Sphinx plugin for documenting language grammars

Features:

- A new domain with `grammar` and `rule` directives called `syntax`.

- Directives for rendering syntax diagrams.

- Directive for extracting documentation comments and rendering docs and
  diagrams from ANTLR4 and Bison/YACC source files.

## Resources

- [Documentation](https://sphinx-syntax.readthedocs.io/en/stable/)
- [Quickstart](https://sphinx-syntax.readthedocs.io/en/stable/quickstart.html)
- [Example output](https://sphinx-syntax.readthedocs.io/en/stable/example-output.html)

## Requirements

- python >= 3.12
- sphinx >= 8.0

## Installation

```sh
pip install sphinx-syntax
```