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:04:25 +0200
commit4d20d2f7c2b8e74c3e85bd0716ebdcb3b35a70e6 (patch)
tree40722f3317489da559dce2c04da404f1fe61709d /docs/intro/tutorial06.txt
parent8a294ee2e0e30f073f764310c74899e385a302ec (diff)
[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 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 c3df546cae..cb93e2bcba 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;