From a1ea71e1c39046f8965b640f31b4957452083d3d Mon Sep 17 00:00:00 2001 From: Mathieu Ferment Date: Thu, 30 Apr 2015 17:33:10 +0200 Subject: [PATCH] Add doc statement about twig dependency --- Resources/doc/index.md | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -----