Add Location of Original Template (#1897)

This doc page advises that one can `have a look at the original template to see which blocks can be overridden`, but does not say where the original template can be found.  This edit adds that information so that users don't have to resort to searching for keywords (like I just had to).

Note that I haven't run any tests as this is a docs-only change.
This commit is contained in:
jeremy 2021-11-03 19:13:42 -04:00 committed by GitHub
parent e16d1fedb9
commit 0ed76d7d24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,4 +50,4 @@ Just create a file ``templates/bundles/NelmioApiDocBundle/SwaggerUi/index.html.t
<script type="text/javascript" src="{{ asset('js/custom-request-signer.js') }}"></script> <script type="text/javascript" src="{{ asset('js/custom-request-signer.js') }}"></script>
{% endblock javascripts %} {% endblock javascripts %}
You can have a look at the original template to see which blocks can be overridden. You can have a look at the `original template <https://github.com/nelmio/NelmioApiDocBundle/blob/master/Resources/views/SwaggerUi/index.html.twig>`_, in ``/Resources/views/SwaggerUi/index.html.twig``, to see which blocks can be overridden.