Skip to content

Commit

Permalink
minor #12801 [Documentation] Update Plus installation guide for Syliu…
Browse files Browse the repository at this point in the history
…s 1.9 (GSadee)

This PR was merged into the 1.9 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.9
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | 
| License         | MIT


Commits
-------

171fa1f [Documentation] Update Plus installation guide for Sylius 1.9
  • Loading branch information
lchrusciel authored Jul 15, 2021
2 parents 2c392a0 + 171fa1f commit 72f5c1e
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions docs/book/installation/sylius_plus_installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Installing Sylius Plus as a plugin to a Sylius application
.. code-block:: bash
composer config repositories.plus composer https://sylius.repo.packagist.com/ShortNameOfYourOrganization/
composer config minimum-stability rc #due to the usage of some pre-stable packages (like SyliusRefundPlugin)
composer require sylius/plus --no-update
composer update --no-scripts
composer sync-recipes
Expand All @@ -60,7 +59,7 @@ Installing Sylius Plus as a plugin to a Sylius application

.. code-block:: yaml
// config/packages/_sylius.yaml
# config/packages/_sylius.yaml
imports:
...
- { resource: "@SyliusPlusPlugin/Resources/config/config.yaml" }
Expand All @@ -80,7 +79,7 @@ Installing Sylius Plus as a plugin to a Sylius application

.. code-block:: yaml
// config/routes/sylius_shop.yaml
# config/routes/sylius_shop.yaml
...
sylius_plus_shop:
Expand All @@ -91,8 +90,8 @@ Installing Sylius Plus as a plugin to a Sylius application
.. code-block:: yaml
// config/routes/sylius_admin.yaml:
#...
# config/routes/sylius_admin.yaml:
...
sylius_plus_admin:
resource: "@SyliusPlusPlugin/Resources/config/admin_routing.yaml"
Expand All @@ -103,8 +102,8 @@ Installing Sylius Plus as a plugin to a Sylius application

.. code-block:: yaml
// config/routes/sylius_admin_api.yaml:
#...
# config/routes/sylius_admin_api.yaml:
...
sylius_plus_admin_api:
resource: "@SyliusPlusPlugin/Resources/config/api_routing.yaml"
Expand All @@ -121,10 +120,10 @@ Installing Sylius Plus as a plugin to a Sylius application

.. code-block:: php
<?php
// src/Entity/User/AdminUser.php
<?php
declare(strict_types=1);
namespace App\Entity\User;
Expand Down Expand Up @@ -158,10 +157,10 @@ Installing Sylius Plus as a plugin to a Sylius application
.. code-block:: php
<?php
// src/Entity/Channel/Channel.php
<?php
declare(strict_types=1);
namespace App\Entity\Channel;
Expand All @@ -183,10 +182,10 @@ Installing Sylius Plus as a plugin to a Sylius application
.. code-block:: php
<?php
// src/Entity/Customer/Customer.php
<?php
declare(strict_types=1);
namespace App\Entity\Customer;
Expand All @@ -208,10 +207,10 @@ Installing Sylius Plus as a plugin to a Sylius application
.. code-block:: php
<?php
// src/Entity/Order/Order.php
<?php
declare(strict_types=1);
namespace App\Entity\Order;
Expand All @@ -233,10 +232,10 @@ Installing Sylius Plus as a plugin to a Sylius application
.. code-block:: php
<?php
// src/Entity/Product/ProductVariant.php
<?php
declare(strict_types=1);
namespace App\Entity\Product;
Expand Down Expand Up @@ -273,10 +272,10 @@ Installing Sylius Plus as a plugin to a Sylius application
.. code-block:: php
<?php
// src/Entity/Shipping/Shipment.php
<?php
declare(strict_types=1);
namespace App\Entity\Shipping;
Expand Down

0 comments on commit 72f5c1e

Please sign in to comment.