summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/admin/javascript.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2022-05-31 07:40:54 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-06-27 08:04:25 +0200
commit4d20d2f7c2b8e74c3e85bd0716ebdcb3b35a70e6 (patch)
tree40722f3317489da559dce2c04da404f1fe61709d /docs/ref/contrib/admin/javascript.txt
parent8a294ee2e0e30f073f764310c74899e385a302ec (diff)
[4.0.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.txt4
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