Commits

Takeshi Komiya committed 1a70bf5

* Update to latest version.

Comments (0)

Files changed (1)

blockdiag/sphinxcontrib/blockdiag.py

     :license: BSDL.
 """
 
+from __future__ import absolute_import
 import posixpath
 import os
 try:
 from sphinx.util.osutil import ensuredir, ENOENT, EPIPE
 from sphinx.util.compat import Directive
 
-from blockdiag import *
-from diagparser import *
+from blockdiag.blockdiag import *
+from blockdiag.diagparser import *
 
 
 class BlockdiagError(SphinxError):
     raise nodes.SkipNode
 
 
-def latex_visit_sequence_diagram(self, node):
+def latex_visit_blockdiag(self, node):
     render_dot_latex(self, node, node['code'], node['options'])