mirror of
https://github.com/django/django.git
synced 2025-07-24 05:36:15 +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
|
@ -167,7 +167,7 @@ Imports
|
|||
For example (comments are for explanatory purposes only):
|
||||
|
||||
.. code-block:: python
|
||||
:caption: django/contrib/admin/example.py
|
||||
:caption: ``django/contrib/admin/example.py``
|
||||
|
||||
# future
|
||||
from __future__ import unicode_literals
|
||||
|
|
|
@ -564,7 +564,7 @@ Since this pattern involves a lot of boilerplate, Django provides the
|
|||
installed, you should pass the set of targeted ``app_label`` as arguments:
|
||||
|
||||
.. code-block:: python
|
||||
:caption: tests/app_label/tests.py
|
||||
:caption: ``tests/app_label/tests.py``
|
||||
|
||||
from django.db import models
|
||||
from django.test import SimpleTestCase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue