Skip to content

Commit

Permalink
Merge pull request #8 from mherkazandjian/image-support
Browse files Browse the repository at this point in the history
add suport for including images in the doc
  • Loading branch information
hugobuddel authored Oct 4, 2017
2 parents 8beeb2e + a3fe564 commit 2ece1d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docxsphinx/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,8 +638,8 @@ def visit_image(self, node):
dprint()
uri = node.attributes['uri']
file_path = os.path.join(self.builder.env.srcdir, uri)
# TODO implement this.
return
self.docx_container.add_picture(file_path) # width=Inches(1.25))
# .. todo:: 'width' keyword is not supported

def depart_image(self, node):
dprint()
Expand Down

0 comments on commit 2ece1d8

Please sign in to comment.