summaryrefslogtreecommitdiff
path: root/sphinx/directives.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-03-23 15:07:15 +0000
committerGeorg Brandl <georg@python.org>2008-03-23 15:07:15 +0000
commit5d272bdd0d1eb765529f986859fef6b85bfcc68d (patch)
tree6cb932168ffc6fda4388b16c14f709a9583ef44a /sphinx/directives.py
parenta9f2247f621e5325871da5f7980d2248322d2ce1 (diff)
downloadsphinx-git-0.1.61798.tar.gz
Make sphinx compatible with docutils SVN snapshots.v0.1.61798
Diffstat (limited to 'sphinx/directives.py')
-rw-r--r--sphinx/directives.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/directives.py b/sphinx/directives.py
index 950836558..95ac565ee 100644
--- a/sphinx/directives.py
+++ b/sphinx/directives.py
@@ -17,9 +17,9 @@ from os import path
from docutils import nodes
from docutils.parsers.rst import directives
-from docutils.parsers.rst.directives import admonitions
from sphinx import addnodes
+from sphinx.util.compat import make_admonition
# ------ index markup --------------------------------------------------------------
@@ -446,7 +446,7 @@ directives.register_directive('versionchanged', version_directive)
def seealso_directive(name, arguments, options, content, lineno,
content_offset, block_text, state, state_machine):
- rv = admonitions.make_admonition(
+ rv = make_admonition(
addnodes.seealso, name, ['See also'], options, content,
lineno, content_offset, block_text, state, state_machine)
return rv