summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial06.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:10:48 +0200
commit1a9098166e58704b11dcf088948efa89e088b6f5 (patch)
tree47fb0eb85fc0df42ddbaf7d4e1dee132c610177f /docs/intro/tutorial06.txt
parent37f4de2deb12465f8ff8bcb2fd1c20a904cb8f2b (diff)
[3.2.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/intro/tutorial06.txt')
-rw-r--r--docs/intro/tutorial06.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/intro/tutorial06.txt b/docs/intro/tutorial06.txt
index be69f5e162..2ebb208bca 100644
--- a/docs/intro/tutorial06.txt
+++ b/docs/intro/tutorial06.txt
@@ -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 %}
@@ -101,7 +101,7 @@ called ``background.gif``. In other words, put your image in
Then, add to 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.gif") no-repeat;