فهرست منبع

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
 Prerequisites
 -------------
 -------------
 
 
-**Translations**
+**Translations.**
 If you wish to use default translation texts provided in this bundle, you have
 If you wish to use default translation texts provided in this bundle, you have
 to make sure you have translator enabled in your config.
 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
 Download SonataAdminBundle and its dependencies to the ``vendor`` directory. You
 can use the Symfony's vendor script for the automated procces. Add the following
 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]
   [SonataAdminBundle]
       git=http://github.com/sonata-project/SonataAdminBundle.git
       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
 After you have successfully installed above bundles you need to configure
 SonataAdminBundle for administering your models. All that is needed to quickly
 SonataAdminBundle for administering your models. All that is needed to quickly