From 94f04a4dae67ef83bfaed725a4216f7ce7f781b0 Mon Sep 17 00:00:00 2001 From: WouterJ Date: Sun, 26 Oct 2014 14:34:13 +0100 Subject: [PATCH 1/2] Added interlinking between the 2 best practices --- cookbook/bundles/best_practices.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cookbook/bundles/best_practices.rst b/cookbook/bundles/best_practices.rst index a21ecd6d765..29e9d3e80dd 100644 --- a/cookbook/bundles/best_practices.rst +++ b/cookbook/bundles/best_practices.rst @@ -15,6 +15,11 @@ apply to application bundles because you'll want to keep those as simple as possible. For application bundles, just follow the practices shown throughout the book and cookbook. +.. seealso:: + + The best practices for application-specific bundles are discussed in + :doc:`/best_practices/introduction`. + .. index:: pair: Bundle; Naming conventions From 35d8e5fa6c27c9772e14efa9407fc0c5c2957ef6 Mon Sep 17 00:00:00 2001 From: WouterJ Date: Sun, 26 Oct 2014 14:35:12 +0100 Subject: [PATCH 2/2] Reverted removal of version It seems like this one was missed when reverting the change. For the discussion, see #4290 --- cookbook/bundles/best_practices.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cookbook/bundles/best_practices.rst b/cookbook/bundles/best_practices.rst index 29e9d3e80dd..5c025c7bf92 100644 --- a/cookbook/bundles/best_practices.rst +++ b/cookbook/bundles/best_practices.rst @@ -224,7 +224,7 @@ following standardized instructions in your ``README.md`` file. following command to download the latest stable version of this bundle: ```bash - $ composer require + $ composer require "~1" ``` This command requires you to have Composer installed globally, as explained @@ -259,6 +259,9 @@ following standardized instructions in your ``README.md`` file. } ``` +This template assumes that your bundle is in its ``1.x`` version. If not, change +the ``"~1"`` installation version accordingly (``"~2"``, ``"~3"``, etc.) + Optionally, you can add more installation steps (*Step 3*, *Step 4*, etc.) to explain other required installation tasks, such as registering routes or dumping assets.