mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
merge with trunk
This commit is contained in:
commit
929e9b68cf
@ -93,6 +93,7 @@ def render_dot(self, code, options, format, prefix='graphviz'):
|
||||
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'):
|
||||
|
Loading…
Reference in New Issue
Block a user