Skip to content

Commit

Permalink
Merge pull request #7006 from tacaswell/fix_bad_sphinx_merge
Browse files Browse the repository at this point in the history
FIX: sphinx 1.4.0 details
  • Loading branch information
jenshnielsen committed Aug 30, 2016
2 parents d8d8eea + 8d3157c commit a8555c9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/matplotlib/sphinxext/only_directives.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,12 @@ def visit_ignore(self, node):
def depart_ignore(self, node):
node.children = []

app.add_node(html_only, html=(visit_perform, depart_perform))
app.add_node(html_only, latex=(visit_ignore, depart_ignore))
app.add_node(latex_only, latex=(visit_perform, depart_perform))
app.add_node(latex_only, html=(visit_ignore, depart_ignore))
app.add_node(html_only,
html=(visit_perform, depart_perform),
latex=(visit_ignore, depart_ignore))
app.add_node(latex_only,
latex=(visit_perform, depart_perform),
html=(visit_ignore, depart_ignore))

metadata = {'parallel_read_safe': True, 'parallel_write_safe': True}
return metadata

0 comments on commit a8555c9

Please sign in to comment.