Skip to content

Commit c210d5f

Browse files
committed
Moved new cookbook articles to the topics
1 parent b33e777 commit c210d5f

25 files changed

+38
-19
lines changed

assetic.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Assetic
22
=======
33

4-
.. include:: /cookbook/assetic/_standard_edition_warning.inc
4+
.. include:: /assetic/_standard_edition_warning.rst.inc
55

66
.. toctree::
77
:maxdepth: 1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. caution::
22

33
Starting from Symfony 2.8, Assetic is no longer included by default in the
4-
Symfony Standard Edition. Refer to :doc:`this article </cookbook/assetic/asset_management>`
4+
Symfony Standard Edition. Refer to :doc:`this article </assetic/asset_management>`
55
to learn how to install and enable Assetic in your Symfony application.

assetic/apply_to_option.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
How to Apply an Assetic Filter to a specific File Extension
55
===========================================================
66

7-
.. include:: /cookbook/assetic/_standard_edition_warning.inc
7+
.. include:: /assetic/_standard_edition_warning.rst.inc
88

99
Assetic filters can be applied to individual files, groups of files or even,
1010
as you'll see here, files that have a specific extension. To show you how

assetic/jpeg_optimize.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
How to Use Assetic for Image Optimization with Twig Functions
55
=============================================================
66

7-
.. include:: /cookbook/assetic/_standard_edition_warning.inc
7+
.. include:: /assetic/_standard_edition_warning.rst.inc
88

99
Among its many filters, Assetic has four filters which can be used for on-the-fly
1010
image optimization. This allows you to get the benefits of smaller file sizes

assetic/php.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Combining, Compiling and Minimizing Web Assets with PHP Libraries
55
=================================================================
66

7-
.. include:: /cookbook/assetic/_standard_edition_warning.inc
7+
.. include:: /assetic/_standard_edition_warning.rst.inc
88

99
The official Symfony Best Practices recommend to use Assetic to
1010
:doc:`manage web assets </best_practices/web-assets>`, unless you are

assetic/uglifyjs.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
How to Minify CSS/JS Files (Using UglifyJS and UglifyCSS)
55
=========================================================
66

7-
.. include:: /cookbook/assetic/_standard_edition_warning.inc
7+
.. include:: /assetic/_standard_edition_warning.rst.inc
88

99
`UglifyJS`_ is a JavaScript parser/compressor/beautifier toolkit. It can be used
1010
to combine and minify JavaScript assets so that they require less HTTP requests

assetic/yuicompressor.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ How to Minify JavaScripts and Stylesheets with YUI Compressor
1010
**strongly advised to avoid using YUI utilities** unless strictly necessary.
1111
Read :doc:`/assetic/uglifyjs` for a modern and up-to-date alternative.
1212

13-
.. include:: /cookbook/assetic/_standard_edition_warning.inc
13+
.. include:: /assetic/_standard_edition_warning.rst.inc
1414

1515
Yahoo! provides an excellent utility for minifying JavaScripts and stylesheets
1616
so they travel over the wire faster, the `YUI Compressor`_. Thanks to Assetic,

best_practices/web-assets.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ much more concise:
3535
Using Assetic
3636
-------------
3737

38-
.. include:: /cookbook/assetic/_standard_edition_warning.inc
38+
.. include:: /assetic/_standard_edition_warning.rst.inc
3939

4040
These days, you probably can't simply create static CSS and JavaScript files
4141
and include them in your template. Instead, you'll probably want to combine

bundles/override.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ and registering it as a service, and tagging it with ``form.type`` (you *could*
114114
do this in earlier version).
115115

116116
Instead, you should use a "form type extension" to modify the existing form type.
117-
For more information, see :doc:`/cookbook/form/create_form_type_extension`.
117+
For more information, see :doc:`/form/create_form_type_extension`.
118118

119119
.. _override-validation:
120120

components/index.rst

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
The Components
2+
==============
3+
4+
.. toctree::
5+
:maxdepth: 1
6+
:glob:
7+
8+
using_components
9+
*

redirection_map

+6
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
/cookbook/configuration/environments /configuration/environments
9797
/cookbook/configuration/external_parameters /configuration/external_parameters
9898
/cookbook/configuration/front_controllers_and_kernel /configuration/front_controllers_and_kernel
99+
/cookbook/configuration/micro-kernel-trait /configuration/micro_kernel_trait
99100
/cookbook/configuration/override_dir_structure /configuration/override_dir_structure
100101
/cookbook/configuration/using_parameters_in_dic /configuration/using_parameters_in_dic
101102
/cookbook/configuration/web_server_configuration /configuration/web_server_configuration
@@ -191,18 +192,23 @@
191192
/cookbook/security/force_https /security/force_https
192193
/cookbook/security/form_login /security/form_login
193194
/cookbook/security/form_login_setup /security/form_login_setup
195+
/cookbook/security/guard-authentication /security/guard_authentication
194196
/cookbook/security/host_restriction /security/host_restriction
195197
/cookbook/security/impersonating_user /security/impersonating_user
198+
/cookbook/security/ldap /security/ldap
199+
/cookbook/security/multiple_guard_authenticators /security/multiple_guard_authenticators
196200
/cookbook/security/multiple_user_providers /security/multiple_user_providers
197201
/cookbook/security/named_encoders /security/named_encoders
198202
/cookbook/security/pre_authenticated /security/pre_authenticated
199203
/cookbook/security/remember_me /security/remember_me
200204
/cookbook/security/securing_services /security/securing_services
201205
/cookbook/security/target_path /security/target_path
206+
/cookbook/security/user_checkers /security/user_checkers
202207
/cookbook/security/voters /security/voters
203208
/cookbook/serializer /serializer
204209
/cookbook/service_container/compiler_passes /service_container/compiler_passes
205210
/cookbook/service_container/scopes /service_container/scopes
211+
/cookbook/service_container/shared /service_container/shared
206212
/cookbook/session/avoid_session_start /session/avoid_session_start
207213
/cookbook/session/limit_metadata_writes /session/limit_metadata_writes
208214
/cookbook/session/locale_sticky_session /session/locale_sticky_session

reference/configuration/assetic.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
AsseticBundle Configuration ("assetic")
55
=======================================
66

7-
.. include:: /cookbook/assetic/_standard_edition_warning.inc
7+
.. include:: /assetic/_standard_edition_warning.rst.inc
88

99
Full Default Configuration
1010
--------------------------

reference/configuration/security.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ There are several options for connecting against an LDAP server,
428428
using the ``form_login_ldap`` and ``http_basic_ldap`` authentication
429429
providers or the ``ldap`` user provider.
430430

431-
For even more details, see :doc:`/cookbook/security/ldap`.
431+
For even more details, see :doc:`/security/ldap`.
432432

433433
Authentication
434434
~~~~~~~~~~~~~~

security.rst

+4
Original file line numberDiff line numberDiff line change
@@ -1414,7 +1414,9 @@ Authentication (Identifying/Logging in the User)
14141414
:maxdepth: 1
14151415

14161416
security/form_login_setup
1417+
security/ldap
14171418
security/entity_provider
1419+
security/guard_authentication
14181420
security/remember_me
14191421
security/impersonating_user
14201422
security/form_login
@@ -1427,8 +1429,10 @@ Authentication (Identifying/Logging in the User)
14271429
security/csrf_in_login_form
14281430
security/named_encoders
14291431
security/multiple_user_providers
1432+
security/multiple_guard_authenticators
14301433
security/firewall_restriction
14311434
security/host_restriction
1435+
security/user_checkers
14321436

14331437
Authorization (Denying Access)
14341438
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

security/api_key_authentication.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ How to Authenticate Users with API Keys
66

77
.. tip::
88

9-
Check out :doc:`/cookbook/security/guard-authentication` for a simpler and more
9+
Check out :doc:`/security/guard_authentication` for a simpler and more
1010
flexible way to accomplish custom authentication tasks like this.
1111

1212
Nowadays, it's quite usual to authenticate the user via an API key (when developing

security/custom_authentication_provider.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ How to Create a custom Authentication Provider
1010
you through that process. But depending on your needs, you may be able
1111
to solve your problem in a simpler, or via a community bundle:
1212

13-
* :doc:`/cookbook/security/guard-authentication`
13+
* :doc:`/security/guard_authentication`
1414
* :doc:`/security/custom_password_authenticator`
1515
* :doc:`/security/api_key_authentication`
1616
* To authenticate via OAuth using a third-party service such as Google, Facebook

security/custom_password_authenticator.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ How to Create a Custom Form Password Authenticator
66

77
.. tip::
88

9-
Check out :doc:`/cookbook/security/guard-authentication` for a simpler and more
9+
Check out :doc:`/security/guard_authentication` for a simpler and more
1010
flexible way to accomplish custom authentication tasks like this.
1111

1212
Imagine you want to allow access to your website only between 2pm and 4pm

cookbook/security/guard-authentication.rst security/guard_authentication.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Create a User and a User Provider
1515
---------------------------------
1616

1717
No matter how you authenticate, you need to create a User class that implements ``UserInterface``
18-
and configure a :doc:`user provider </cookbook/security/custom_provider>`. In this
18+
and configure a :doc:`user provider </security/custom_provider>`. In this
1919
example, users are stored in the database via Doctrine, and each user has an ``apiKey``
2020
property they use to access their account via the API::
2121

@@ -134,8 +134,8 @@ Next, make sure you've configured a "user provider" for the user:
134134
135135
That's it! Need more information about this step, see:
136136

137-
* :doc:`/cookbook/security/entity_provider`
138-
* :doc:`/cookbook/security/custom_provider`
137+
* :doc:`/security/entity_provider`
138+
* :doc:`/security/custom_provider`
139139

140140
Step 1) Create the Authenticator Class
141141
--------------------------------------
File renamed without changes.
File renamed without changes.

service_container.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ As a bonus, the ``Mailer`` service is only created once and the same
145145
instance is returned each time you ask for the service. This is almost always
146146
the behavior you'll need (it's more flexible and powerful), but you'll learn
147147
later how you can configure a service that has multiple instances in the
148-
":doc:`/cookbook/service_container/shared`" cookbook article.
148+
":doc:`/service_container/shared`" cookbook article.
149149

150150
.. note::
151151

service_container/scopes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ How to Work with Scopes
1212
Use the ``request_stack`` service (introduced in Symfony 2.4) instead of
1313
the ``request`` service/scope and use the ``shared`` setting (introduced in
1414
Symfony 2.8) instead of the ``prototype`` scope
15-
(:doc:`read more about shared services </cookbook/service_container/shared>`).
15+
(:doc:`read more about shared services </service_container/shared>`).
1616

1717
This article is all about scopes, a somewhat advanced topic related to the
1818
:doc:`/service_container`. If you've ever gotten an error mentioning
File renamed without changes.

0 commit comments

Comments
 (0)