Commits

Ali Afshar committed 447b5e1

Make the dot command part of the caching system for dot output generation

Comments (0)

Files changed (1)

sphinx/ext/graphviz.py

     Render graphviz code into a PNG or PDF output file.
     """
     hashkey = code.encode('utf-8') + str(options) + \
+              str(self.builder.config.graphviz_dot) + \
               str(self.builder.config.graphviz_dot_args)
     fname = '%s-%s.%s' % (prefix, sha(hashkey).hexdigest(), format)
     if hasattr(self.builder, 'imgpath'):