mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
[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 ac90529cc5
from main.
This commit is contained in:
parent
37f4de2deb
commit
1a9098166e
31 changed files with 124 additions and 123 deletions
|
@ -186,7 +186,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
|
||||
|
|
|
@ -557,7 +557,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
|
||||
|
|
|
@ -63,7 +63,7 @@ You'll need a few things before getting started:
|
|||
* Access to Django's record on PyPI. Create a file with your credentials:
|
||||
|
||||
.. code-block:: ini
|
||||
:caption: ~/.pypirc
|
||||
:caption: ``~/.pypirc``
|
||||
|
||||
[pypi]
|
||||
username:YourUsername
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue