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

@ -61,7 +61,7 @@ the path for templates.
Put the following code in that stylesheet (``polls/static/polls/style.css``):
.. code-block:: css
:caption: polls/static/polls/style.css
:caption: ``polls/static/polls/style.css``
li a {
color: green;
@ -70,7 +70,7 @@ Put the following code in that stylesheet (``polls/static/polls/style.css``):
Next, add the following at the top of ``polls/templates/polls/index.html``:
.. code-block:: html+django
:caption: polls/templates/polls/index.html
:caption: ``polls/templates/polls/index.html``
{% load static %}
@ -103,7 +103,7 @@ Then, add a reference to your image in your stylesheet
(``polls/static/polls/style.css``):
.. code-block:: css
:caption: polls/static/polls/style.css
:caption: ``polls/static/polls/style.css``
body {
background: white url("images/background.png") no-repeat;