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

View file

@ -335,7 +335,7 @@ The ``Func`` API is as follows:
customize the SQL as needed. For example:
.. code-block:: python
:caption: django/db/models/functions.py
:caption: ``django/db/models/functions.py``
class ConcatPair(Func):
...