浏览代码

Fix image sizew

Thomas Rabaix 12 年之前
父节点
当前提交
bbb84b2d0a
共有 3 个文件被更改,包括 13 次插入12 次删除
  1. 8 8
      Resources/doc/index.rst
  2. 2 2
      Resources/doc/reference/console.rst
  3. 3 2
      Resources/doc/reference/dashboard.rst

+ 8 - 8
Resources/doc/index.rst

@@ -39,30 +39,30 @@ Reference Guide
 Overview
 --------
 
-.. figure:: ../images/dashboard.png
+.. figure:: ./images/dashboard.png
    :align: center
    :alt: The dashboard
-   :width: 400px
+   :width: 700px
 
    The dashboard
 
-.. figure:: ../images/post_list.png
+.. figure:: ./images/post_list.png
    :align: center
    :alt: The model list
-   :width: 400px
+   :width: 700px
 
    The model list
 
-.. figure:: ../images/post_edit.png
+.. figure:: ./images/post_edit.png
    :align: center
    :alt: The model edition
-   :width: 400px
+   :width: 700px
 
    The model edition
 
-.. figure:: ../images/post_create_tag.png
+.. figure:: ./images/post_create_tag.png
    :align: center
    :alt: The modal model edition
-   :width: 400px
+   :width: 700px
 
    The modal model edition

+ 2 - 2
Resources/doc/reference/console.rst

@@ -38,7 +38,7 @@ Usage example:
 .. figure:: ../images/console_admin_explain.png
    :align: center
    :alt: Explain command
-   :width: 400px
+   :width: 700px
 
    Explain command
 
@@ -61,7 +61,7 @@ Usage example:
 .. figure:: ../images/console_admin_list.png
    :align: center
    :alt: List command
-   :width: 400px
+   :width: 700px
 
    List command
 

+ 3 - 2
Resources/doc/reference/dashboard.rst

@@ -99,9 +99,10 @@ Add some items to a group
                         - sonata.page.admin.myitem2
 
 
-.. image:: ../images/dashboard.png
+.. figure:: ../images/dashboard.png
+   :align: center
    :alt: Dashboard
-   :width: 200
+   :width: 500
 
 Display two blocks with different dashboard groups
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^