Browse Source

tweak documentation

Thomas Rabaix 13 years ago
parent
commit
afd26c952d
2 changed files with 4 additions and 1 deletions
  1. 1 1
      Resources/doc/reference/configuration.rst
  2. 3 0
      Resources/doc/reference/routing.rst

+ 1 - 1
Resources/doc/reference/configuration.rst

@@ -14,7 +14,7 @@ Please see :ref:`templates` for more information about how to configure default
 
 
 Full Configuration Options
-==========================
+--------------------------
 
 .. code-block:: yaml
 

+ 3 - 0
Resources/doc/reference/routing.rst

@@ -17,6 +17,7 @@ represents the route prefix.
 
 .. code-block:: php
 
+    <?php
     class PostAdmin extends Admin
     {
         protected $baseRouteName = 'news_post_admin';
@@ -52,6 +53,7 @@ defined by its name.
 
 .. code-block:: php
 
+    <?php
     use Sonata\AdminBundle\Route\RouteCollection;
 
     class MediaAdmin extends Admin
@@ -73,6 +75,7 @@ method. This method will be used when a link is being generated.
 
 .. code-block:: php
 
+    <?php
     class MediaAdmin extends Admin
     {
         public function getPersistentParameters()