Merge pull request #615 from matks/twig-doc

Add documentation statement about twig dependency
This commit is contained in:
William Durand 2015-05-13 11:06:35 +02:00
commit 54be9c3bf1

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
-----