Fix syntax error in image widths
I get when building sahara this error: File "/usr/lib/python3.6/site-packages/sphinx/writers/html5.py", line 548, in visit_image atts['width'] = int(atts['width']) * scale ValueError: invalid literal for int() with base 10: '800px' As it turns out, the default is pixels anyway, so we don't need to add a type suffix. For scale to work, we need to specify both width and height for images, otherwise sphinx reports an error. Change-Id: If0f8383e37a8b1185a8a08b24c79b313fdcb498c
This commit is contained in:
parent
75df1e9387
commit
0825bddef6
|
@ -2,8 +2,9 @@ Architecture
|
|||
============
|
||||
|
||||
.. image:: ../images/sahara-architecture.svg
|
||||
:width: 800 px
|
||||
:scale: 100 %
|
||||
:width: 960
|
||||
:height: 635
|
||||
:scale: 83 %
|
||||
:align: left
|
||||
|
||||
|
||||
|
|
|
@ -75,8 +75,9 @@ The sahara product communicates with the following OpenStack services:
|
|||
like passwords and private keys in a secure storage.
|
||||
|
||||
.. image:: ../images/openstack-interop.png
|
||||
:width: 800 px
|
||||
:scale: 99 %
|
||||
:width: 960
|
||||
:height: 720
|
||||
:scale: 83 %
|
||||
:align: left
|
||||
|
||||
General Workflow
|
||||
|
|
Loading…
Reference in New Issue