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.
This commit is contained in:
Mariusz Felisiak 2022-05-31 07:40:54 +02:00
parent 1058fc7023
commit ac90529cc5
31 changed files with 128 additions and 127 deletions

View file

@ -167,7 +167,7 @@ Imports
For example (comments are for explanatory purposes only):
.. code-block:: python
:caption: django/contrib/admin/example.py
:caption: ``django/contrib/admin/example.py``
# future
from __future__ import unicode_literals

View file

@ -564,7 +564,7 @@ Since this pattern involves a lot of boilerplate, Django provides the
installed, you should pass the set of targeted ``app_label`` as arguments:
.. code-block:: python
:caption: tests/app_label/tests.py
:caption: ``tests/app_label/tests.py``
from django.db import models
from django.test import SimpleTestCase