@@ -188,7 +188,7 @@ Create an entry in ``"recipes"`` for each of your bundle recipes. Replace
188188with your own details.
189189
190190Generate Recipes from a Developer Friendly Format Using the Recipes Checker
191- --------------
191+ ---------------------------------------------------------------------------
192192
193193When installing a bundle, composer checks for flex recipes in the format
194194stated in the above sections, this is cumbersome to write by hand.
@@ -226,15 +226,18 @@ Be sure to change ``acme``, ``private-bundle`` and ``1.0`` to your bundle detail
226226.. warning ::
227227
228228 Please note that bundle version number **must ** be in the **{major}.{minor} ** format
229- (eg . **don't ** use ``1.0.0 `` but instead ``1.0 ``)
229+ (e.g . **don't ** use ``1.0.0 `` but instead ``1.0 ``)
230230
231231.. note ::
232+
232233 The only thing you need in the ``1.0 `` directory is a valid ``manifest.json ``.
233234 Other things are optional and you can read more about it in the official
234235 `symfony recipes repository `_
235236
236237You can then create a simplified ``manifest.json ``, for example:
238+
237239.. code-block :: json
240+
238241 {
239242 "bundles" : {
240243 "Acme\\ PrivateBundle\\ AcmePrivateBundle" : [" all" ]
@@ -246,11 +249,14 @@ You can then create a simplified ``manifest.json``, for example:
246249 }
247250
248251 .. note ::
252+
249253 Every configurator in the ``manifest.json `` file is optional,
250254 you can find the full list `here `_
251255
252256You are now ready to generate target recipe files by executing the following command in your recipes root directory:
257+
253258.. code-block :: terminal
259+
254260 $ git ls-tree HEAD */*/* | /path/to/recipes-checker-directory/run generate:flex-endpoint acme/private-bundle source-branch target-branch ./output/
255261
256262 Where:
@@ -372,7 +378,9 @@ Replace ``your-gitlab-project-id`` with your own details.
372378 The ``extra.symfony `` key will most probably already exist in your
373379 ``composer.json ``. In that case, add the ``"endpoint" `` key to the existing
374380 ``extra.symfony `` entry.
381+
375382.. tip ::
383+
376384 Note that when using recipes checker
377385 your endpoint **must ** point to the branch with compiled recipes with a ``ref `` query
378386 parameter or by setting it as a default branch
0 commit comments