mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +00:00
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:
parent
1058fc7023
commit
ac90529cc5
31 changed files with 128 additions and 127 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue