Add doc statement about twig dependency

This commit is contained in:
Mathieu Ferment 2015-04-30 17:33:10 +02:00 committed by Mathieu Ferment
parent f7611613af
commit a1ea71e1c3

View File

@ -38,6 +38,14 @@ Enable the bundle's configuration in `app/config/config.yml`:
nelmio_api_doc: ~
```
The **NelmioApiDocBundle** requires Twig as a template engine so do not forget to enable it:
```yaml
# app/config/config.yml
framework:
templating:
engines: ['twig']
```
Usage
-----