diff --git a/Resources/doc/index.md b/Resources/doc/index.md index 9458235..70290a3 100644 --- a/Resources/doc/index.md +++ b/Resources/doc/index.md @@ -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 -----