Skip to content

Commit

Permalink
[2.2.x] Fixed CodeBlock deprecation warning on Sphinx 2.1+.
Browse files Browse the repository at this point in the history
Backport of a4e4737 from master.
  • Loading branch information
felixxm committed Jun 2, 2020
1 parent b0d810a commit 151a83e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_ext/djangodocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
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
Expand Down

0 comments on commit 151a83e

Please sign in to comment.