Przeglądaj źródła

Replaced two backticks with one backtick on MD files (#3798)

Oskar Stark 9 lat temu
rodzic
commit
e2af4ea470
4 zmienionych plików z 22 dodań i 23 usunięć
  1. 12 12
      CHANGELOG.md
  2. 3 4
      UPGRADE-2.1.md
  3. 3 3
      UPGRADE-2.3.md
  4. 4 4
      UPGRADE-3.0.md

+ 12 - 12
CHANGELOG.md

@@ -9,26 +9,26 @@ This project adheres to [Semantic Versioning](http://semver.org/).
 - Updated AdminLTE theme to version 2.3.3
 
 ### Deprecated
-- Deprecated BaseFieldDescription::camelize()
-- Deprecated AdminHelper::camelize()
+- Deprecated `BaseFieldDescription::camelize()`
+- Deprecated `AdminHelper::camelize()`
 
 ## [3.0.0](https://github.com/sonata-project/SonataAdminBundle/compare/2.3.10...3.0.0) - 2016-05-08
 ### Added
-- Add missing Route constructor parameters to ``RouteCollection:add`` method
-- Add the ``hasRoute`` method to the AdminInterface
+- Add missing Route constructor parameters to `RouteCollection:add` method
+- Add the `hasRoute` method to the AdminInterface
 - Integration of KNPMenu for the admin menu. This integration is reset when the standard layout
-``standard_layout.html.twig`` is overriden. The KNPMenu is available in ``sonata_menu.html.twig`` template.
-- Add ``getFieldOption``, ``setFieldOption`` methods to the FilterInterface
-- Add the ``getFilterFieldDescription`` method to the AdminInterface
-- Add the ``getMaxPageLinks``, ``setMaxPageLinks`` methods to the PagerInterface
+`standard_layout.html.twig` is overriden. The KNPMenu is available in `sonata_menu.html.twig` template.
+- Add `getFieldOption`, `setFieldOption` methods to the FilterInterface
+- Add the `getFilterFieldDescription` method to the AdminInterface
+- Add the `getMaxPageLinks`, `setMaxPageLinks` methods to the PagerInterface
 
 ### Changed
 - Admin LTE 2.0 used. Assets files changed.
-- Move ``sonata_wrapper`` block on ```standard_layout.html.twig```
-- CSS class ``sonata-autocomplete-dropdown-item`` is not automatically added to dropdown
-autocomplete item in ``sonata_type_model_autocomplete``, use option ``dropdown_item_css_class``
+- Move `sonata_wrapper` block on `standard_layout.html.twig`
+- CSS class `sonata-autocomplete-dropdown-item` is not automatically added to dropdown
+autocomplete item in `sonata_type_model_autocomplete`, use option `dropdown_item_css_class`
 to set the CSS class of dropdown item.
 - Text from Admin's toString method is escaped for html output before adding in flash message to prevent possible XSS vulnerability.
 
 ### Removed
-- Remove ``btn-outline``` from doctrine-orm-admin form actions buttons
+- Remove `btn-outline` from doctrine-orm-admin form actions buttons

+ 3 - 4
UPGRADE-2.1.md

@@ -7,8 +7,7 @@ UPGRADE FROM 2.0 to 2.1
     new ones have been introduced:
 
       * sonata_type_model : this type now only renders a standard select widget or a list
-        widget (if the ``multiple`` option is set)
-
-      * sonata_type_model_list : this type replaces the option ``edit = list`` provided as
-        a 4th argument on the ``sonata_type_model``
+        widget (if the `multiple` option is set)
 
+      * sonata_type_model_list : this type replaces the option `edit = list` provided as
+        a 4th argument on the `sonata_type_model`

+ 3 - 3
UPGRADE-2.3.md

@@ -7,13 +7,13 @@ You'll need to follow the dependencies upgrade instructions.
 
 ### Templates
 
- - ``standard_layout.html.twig`` has been updated (refactored layout accordingly to the theme). Some blocks have been moved, and the sonata_side_nav twig block became the main menu.
+ - `standard_layout.html.twig` has been updated (refactored layout accordingly to the theme). Some blocks have been moved, and the sonata_side_nav twig block became the main menu.
  - Admin's sidemenus are now tab-menus; former tab-menus are now collapsible items.
 
 ### Admin classes
 
- - ``configureSideMenu`` and ``buildSideMenu`` methods of the ``Admin`` class have been deprecated; they are replaced by ``configureTabMenu`` and ``buildTabMenu``.
+ - `configureSideMenu` and `buildSideMenu` methods of the `Admin` class have been deprecated; they are replaced by `configureTabMenu` and `buildTabMenu`.
 
 ### Remove configureShowField
 
- - ``configureShowField`` has been deprecated since a while now, use ``configureShowFields`` instead => add a ``s``.
+ - `configureShowField` has been deprecated since a while now, use `configureShowFields` instead => add a `s`.

+ 4 - 4
UPGRADE-3.0.md

@@ -14,14 +14,14 @@ If you were using this method, please use `Doctrine\Common\Inflector\Inflector::
 If you have implemented a custom datagrid builder, you must adapt the signature of its `addFilter` method to match the one in `DatagridBuilderInterface` again.
 
 ## sonata_type_model_autocomplete
-CSS class ``sonata-autocomplete-dropdown-item`` is not automatically added to dropdown autocomplete item in ``sonata_type_model_autocomplete``, use option ``dropdown_item_css_class`` to set the CSS class of dropdown item.
+CSS class `sonata-autocomplete-dropdown-item` is not automatically added to dropdown autocomplete item in `sonata_type_model_autocomplete`, use option `dropdown_item_css_class` to set the CSS class of dropdown item.
 
 ## Standard Layout
-``sonata_wrapper`` block was moved and is now inside the ``.wrapper`` div of admin lte theme.
+`sonata_wrapper` block was moved and is now inside the `.wrapper` div of admin lte theme.
 
 ## ErrorElement
 
-The inline validation has been migrating to CoreBundle. Just rename ``Sonata\AdminBundle\Validator\ErrorElement`` to ``Sonata\CoreBundle\Validator\ErrorElement``
+The inline validation has been migrating to CoreBundle. Just rename `Sonata\AdminBundle\Validator\ErrorElement` to `Sonata\CoreBundle\Validator\ErrorElement`
 
 ## AdminLTE 2
 
@@ -37,4 +37,4 @@ If you're using a custom implementation of `sonata.admin.route_loader` service,
 
 ## LegacyModelsToArrayTransformer
 
-The ``ModelsToArrayTransformer`` has been renamed to ``LegacyModelsToArrayTransformer``. ``ModelsToArrayTransformer`` should be only be used with SF2.7+
+The `ModelsToArrayTransformer` has been renamed to `LegacyModelsToArrayTransformer`. `ModelsToArrayTransformer` should be only be used with SF2.7+