瀏覽代碼

installation.rst formatting

Quentin Pleplé 13 年之前
父節點
當前提交
de0e94c346
共有 1 個文件被更改,包括 9 次插入6 次删除
  1. 9 6
      Resources/doc/reference/installation.rst

+ 9 - 6
Resources/doc/reference/installation.rst

@@ -4,7 +4,7 @@ Installation
 Prerequisites
 -------------
 
-**Translations**
+**Translations.**
 If you wish to use default translation texts provided in this bundle, you have
 to make sure you have translator enabled in your config.
 
@@ -20,7 +20,9 @@ Installation
 
 Download SonataAdminBundle and its dependencies to the ``vendor`` directory. You
 can use the Symfony's vendor script for the automated procces. Add the following
-in your ``deps`` file::
+in your ``deps`` file:
+
+.. code-block:: ini
 
   [SonataAdminBundle]
       git=http://github.com/sonata-project/SonataAdminBundle.git
@@ -84,12 +86,13 @@ files:
         );
     }
 
-Now, install the assets from the bundles:
-``php app/console assets:install web``.
+Now, install the assets from the bundles::
+
+    php app/console assets:install web
 
-Usually when installing new bundles a good practice is also to delete your cache:
-``php app/console cache:clear``.
+Usually when installing new bundles a good practice is also to delete your cache::
 
+    php app/console cache:clear
 
 After you have successfully installed above bundles you need to configure
 SonataAdminBundle for administering your models. All that is needed to quickly