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

@ -564,7 +564,7 @@ current one as well as templates included via the :ttag:`include` tag,
just like all block tags. For example:
.. code-block:: html+django
:caption: base.html
:caption: ``base.html``
{% autoescape off %}
<h1>{% block title %}{% endblock %}</h1>
@ -573,7 +573,7 @@ just like all block tags. For example:
{% endautoescape %}
.. code-block:: html+django
:caption: child.html
:caption: ``child.html``
{% extends "base.html" %}
{% block title %}This &amp; that{% endblock %}
@ -653,14 +653,14 @@ of all comments related to the current task with::
You can also access methods you've explicitly defined on your own models:
.. code-block:: python
:caption: models.py
:caption: ``models.py``
class Task(models.Model):
def foo(self):
return "bar"
.. code-block:: html+django
:caption: template.html
:caption: ``template.html``
{{ task.foo }}