diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-05-31 07:40:54 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-06-27 08:10:48 +0200 |
| commit | 1a9098166e58704b11dcf088948efa89e088b6f5 (patch) | |
| tree | 47fb0eb85fc0df42ddbaf7d4e1dee132c610177f /docs/ref/contrib/admin/javascript.txt | |
| parent | 37f4de2deb12465f8ff8bcb2fd1c20a904cb8f2b (diff) | |
[3.2.x] Fixed docs build with sphinxcontrib-spelling 7.5.0+.
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set
of nodes for which the text is checked.
Backport of ac90529cc58507d9a07610809a795ec5fc3cbf8c from main.
Diffstat (limited to 'docs/ref/contrib/admin/javascript.txt')
| -rw-r--r-- | docs/ref/contrib/admin/javascript.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/admin/javascript.txt b/docs/ref/contrib/admin/javascript.txt index 05731c57b0..9645f6abbc 100644 --- a/docs/ref/contrib/admin/javascript.txt +++ b/docs/ref/contrib/admin/javascript.txt @@ -32,7 +32,7 @@ In your custom ``change_form.html`` template, extend the {% endblock %} .. code-block:: javascript - :caption: app/static/app/formset_handlers.js + :caption: ``app/static/app/formset_handlers.js`` (function($) { $(document).on('formset:added', function(event, $row, formsetName) { @@ -70,7 +70,7 @@ listen to the event triggered from there. For example: {% endblock %} .. code-block:: javascript - :caption: app/static/app/unregistered_handlers.js + :caption: ``app/static/app/unregistered_handlers.js`` django.jQuery(document).on('formset:added', function(event, $row, formsetName) { // Row added |
