Takeshi Komiya avatar Takeshi Komiya committed b7bc070

* Fix failure with :maxwidth: option

Comments (0)

Files changed (8)

 
 setup(
     name='sphinxcontrib-actdiag',
-    version='0.2.1',
+    version='0.2.2',
     url='http://bitbucket.org/birkenfeld/sphinx-contrib',
     download_url='http://pypi.python.org/pypi/sphinxcontrib-actdiag',
     license='BSD',

actdiag/sphinxcontrib/actdiag.py

 
             thumb_size = (options['maxwidth'], image_size[1])
             if not os.path.isfile(toutfn):
+                image.filename = toutfn
                 image.draw()
-                image.save(toutfn, thumb_size)
+                image.save(thumb_size)
 
     except UnicodeEncodeError, e:
         msg = ("actdiag error: UnicodeEncodeError caught "

blockdiag/setup.py

 
 setup(
     name='sphinxcontrib-blockdiag',
-    version='0.9.1',
+    version='0.9.2',
     url='http://bitbucket.org/birkenfeld/sphinx-contrib',
     download_url='http://pypi.python.org/pypi/sphinxcontrib-blockdiag',
     license='BSD',

blockdiag/sphinxcontrib/blockdiag.py

 
             thumb_size = (options['maxwidth'], image_size[1])
             if not os.path.isfile(toutfn):
+                image.filename = toutfn
                 image.draw()
-                image.save(toutfn, thumb_size)
+                image.save(thumb_size)
 
     except UnicodeEncodeError, e:
         msg = ("blockdiag error: UnicodeEncodeError caught "
 
 setup(
     name='sphinxcontrib-nwdiag',
-    version='0.2.1',
+    version='0.2.2',
     url='http://bitbucket.org/birkenfeld/sphinx-contrib',
     download_url='http://pypi.python.org/pypi/sphinxcontrib-nwdiag',
     license='BSD',

nwdiag/sphinxcontrib/nwdiag.py

 
             thumb_size = (options['maxwidth'], image_size[1])
             if not os.path.isfile(toutfn):
+                image.filename = toutfn
                 image.draw()
-                image.save(toutfn, thumb_size)
+                image.save(thumb_size)
 
     except UnicodeEncodeError, e:
         msg = ("nwdiag error: UnicodeEncodeError caught "
 
 setup(
     name='sphinxcontrib-seqdiag',
-    version='0.2.1',
+    version='0.2.2',
     url='http://bitbucket.org/birkenfeld/sphinx-contrib',
     download_url='http://pypi.python.org/pypi/sphinxcontrib-seqdiag',
     license='BSD',

seqdiag/sphinxcontrib/seqdiag.py

 
             thumb_size = (options['maxwidth'], image_size[1])
             if not os.path.isfile(toutfn):
+                image.filename = toutfn
                 image.draw()
-                image.save(toutfn, thumb_size)
+                image.save(thumb_size)
 
     except UnicodeEncodeError, e:
         msg = ("seqdiag error: UnicodeEncodeError caught "
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.