mirror of
https://github.com/django/django.git
synced 2025-07-27 07:03:55 +00:00
[2.2.x] Fixed CodeBlock deprecation warning on Sphinx 2.1+.
Backport of a4e4737cf3
from master.
This commit is contained in:
parent
b0d810a77b
commit
151a83e92c
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ from docutils.parsers.rst import Directive
|
|||
from docutils.statemachine import ViewList
|
||||
from sphinx import addnodes
|
||||
from sphinx.builders.html import StandaloneHTMLBuilder
|
||||
from sphinx.directives import CodeBlock
|
||||
from sphinx.directives.code import CodeBlock
|
||||
from sphinx.domains.std import Cmdoption
|
||||
from sphinx.errors import ExtensionError
|
||||
from sphinx.util import logging
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue