From 48aaca92e35f37fec5e34283ce3062409bf86fb0 Mon Sep 17 00:00:00 2001 From: Quentin Stoeckel Date: Fri, 19 Oct 2018 20:11:39 +0200 Subject: [PATCH] Fix NelmioApiDocBundle view customization instructions (#1419) * Fix NelmioApiDocBundle view customization instructions "Just create a file..." was not OK (missing views/ subdirectory, wrong SwaggerUi case) The path showcased as code-block's first row was OK * View customization instructions: remove unnecessary /views/ subdirectory --- Resources/doc/customization.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Resources/doc/customization.rst b/Resources/doc/customization.rst index 2c6b145..66d77fb 100644 --- a/Resources/doc/customization.rst +++ b/Resources/doc/customization.rst @@ -13,11 +13,11 @@ This allows to change the title, the header, add additional or replace existing Take a look at the Twig documentation `how to extend templates `_. The following example will add additional scripts and a custom style to the template. -Just create a file ``templates/bundles/NelmioApiDocBundle/SwaggerUI/index.html.twig``. +Just create a file ``templates/bundles/NelmioApiDocBundle/SwaggerUi/index.html.twig``. .. code-block:: twig - {# templates/bundles/NelmioApiDocBundle/views/SwaggerUi/index.html.twig #} + {# templates/bundles/NelmioApiDocBundle/SwaggerUi/index.html.twig #} {# To avoid a "reached nested level" error an exclamation mark `!` has to be added