mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed CodeBlock deprecation warning on Sphinx 2.1+.
This commit is contained in:
parent
69e2cd6fed
commit
a4e4737cf3
@ -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.errors import SphinxError
|
||||
from sphinx.domains.std import Cmdoption
|
||||
from sphinx.errors import ExtensionError
|
||||
|
Loading…
Reference in New Issue
Block a user