Skip to content

Commit a834a7e

Browse files
committed
minor #4042 [Cookbook] apply headline guidelines to the cookbook articles (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [Cookbook] apply headline guidelines to the cookbook articles | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | This completes the work started in #3765, #3828 and #3829. Commits ------- 1fa40f3 apply headline guidelines to the cookbook articles
2 parents f25faf3 + 1fa40f3 commit a834a7e

File tree

97 files changed

+210
-210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+210
-210
lines changed

cookbook/assetic/apply_to_option.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. index::
22
single: Assetic; Apply filters
33

4-
How to Apply an Assetic Filter to a Specific File Extension
4+
How to Apply an Assetic Filter to a specific File Extension
55
===========================================================
66

77
Assetic filters can be applied to individual files, groups of files or even,
@@ -49,7 +49,7 @@ An example configuration might look like this:
4949
),
5050
));
5151
52-
Filter a Single File
52+
Filter a single File
5353
--------------------
5454

5555
You can now serve up a single CoffeeScript file as JavaScript from within your
@@ -75,7 +75,7 @@ templates:
7575
This is all that's needed to compile this CoffeeScript file and serve it
7676
as the compiled JavaScript.
7777

78-
Filter Multiple Files
78+
Filter multiple Files
7979
---------------------
8080

8181
You can also combine multiple CoffeeScript files into a single output file:
@@ -107,7 +107,7 @@ JavaScript.
107107

108108
.. _cookbook-assetic-apply-to:
109109

110-
Filtering based on a File Extension
110+
Filtering Based on a File Extension
111111
-----------------------------------
112112

113113
One of the great advantages of using Assetic is reducing the number of asset
@@ -146,7 +146,7 @@ applied to all ``.coffee`` files:
146146
apply_to="\.coffee$" />
147147
<assetic:node-paths>/usr/lib/node_modules/</assetic:node-path>
148148
</assetic:config>
149-
149+
150150
.. code-block:: php
151151
152152
// app/config/config.php

cookbook/assetic/asset_management.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ the :ref:`cssrewrite <cookbook-assetic-cssrewrite>` filter.
159159

160160
.. _cookbook-assetic-including-image:
161161

162-
Including images
162+
Including Images
163163
~~~~~~~~~~~~~~~~
164164

165165
To include an image you can use the ``image`` tag.
@@ -422,7 +422,7 @@ into your template:
422422
A more detailed guide about configuring and using Assetic filters as well as
423423
details of Assetic's debug mode can be found in :doc:`/cookbook/assetic/uglifyjs`.
424424

425-
Controlling the URL used
425+
Controlling the URL Used
426426
------------------------
427427

428428
If you wish to, you can control the URLs that Assetic produces. This is
@@ -471,7 +471,7 @@ it might be downright frustrating.
471471
Fortunately, Assetic provides a way to dump your assets to real files, instead
472472
of being generated dynamically.
473473

474-
Dumping Asset Files in the ``prod`` environment
474+
Dumping Asset Files in the ``prod`` Environment
475475
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
476476

477477
In the ``prod`` environment, your JS and CSS files are represented by a single
@@ -500,7 +500,7 @@ This will physically generate and write each file that you need (e.g. ``/js/abcd
500500
If you update any of your assets, you'll need to run this again to regenerate
501501
the file.
502502

503-
Dumping Asset Files in the ``dev`` environment
503+
Dumping Asset Files in the ``dev`` Environment
504504
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
505505

506506
By default, each asset path generated in the ``dev`` environment is handled

cookbook/assetic/jpeg_optimize.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. index::
22
single: Assetic; Image optimization
33

4-
How to Use Assetic For Image Optimization with Twig Functions
4+
How to Use Assetic for Image Optimization with Twig Functions
55
=============================================================
66

77
Amongst its many filters, Assetic has four filters which can be used for on-the-fly
@@ -111,7 +111,7 @@ remove these by using the ``strip_all`` option:
111111
),
112112
));
113113
114-
Lowering Maximum Quality
114+
Lowering maximum Quality
115115
~~~~~~~~~~~~~~~~~~~~~~~~
116116

117117
The quality level of the JPEG is not affected by default. You can gain
@@ -152,7 +152,7 @@ image quality:
152152
),
153153
));
154154
155-
Shorter syntax: Twig Function
155+
Shorter Syntax: Twig Function
156156
-----------------------------
157157

158158
If you're using Twig, it's possible to achieve all of this with a shorter

cookbook/assetic/uglifyjs.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. index::
22
single: Assetic; UglifyJS
33

4-
How to Minify CSS/JS Files (using UglifyJS and UglifyCSS)
4+
How to Minify CSS/JS Files (Using UglifyJS and UglifyCSS)
55
=========================================================
66

77
`UglifyJS`_ is a JavaScript parser/compressor/beautifier toolkit. It can be used
@@ -183,7 +183,7 @@ and :ref:`dump your assetic assets <cookbook-asetic-dump-prod>`.
183183
rather than the common config file. For details on applying filters by
184184
file extension, see :ref:`cookbook-assetic-apply-to`.
185185

186-
Install, configure and use UglifyCSS
186+
Install, Configure and Use UglifyCSS
187187
------------------------------------
188188

189189
The usage of UglifyCSS works the same way as UglifyJS. First, make sure

cookbook/bundles/best_practices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. index::
22
single: Bundle; Best practices
33

4-
How to use Best Practices for Structuring Bundles
4+
How to Use best Practices for Structuring Bundles
55
=================================================
66

77
A bundle is a directory that has a well-defined structure and can host anything

cookbook/bundles/extension.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
single: Configuration; Semantic
33
single: Bundle; Extension configuration
44

5-
How to expose a Semantic Configuration for a Bundle
5+
How to Expose a semantic Configuration for a Bundle
66
===================================================
77

88
If you open your application configuration file (usually ``app/config/config.yml``),
@@ -330,7 +330,7 @@ information loaded from other bundles). The goal of the ``load()`` method
330330
is to manipulate the container, adding and configuring any methods or services
331331
needed by your bundle.
332332

333-
Loading External Configuration Resources
333+
Loading external Configuration Resources
334334
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
335335

336336
One common thing to do is to load an external configuration file that may
@@ -549,7 +549,7 @@ normalization and advanced merging. You can read more about this in
549549
You can also see it in action by checking out some of the core Configuration classes,
550550
such as the one from the `FrameworkBundle Configuration`_ or the `TwigBundle Configuration`_.
551551

552-
Modifying the configuration of another Bundle
552+
Modifying the Configuration of another Bundle
553553
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
554554

555555
If you have multiple bundles that depend on each other, it may be useful

cookbook/bundles/inheritance.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. index::
22
single: Bundle; Inheritance
33

4-
How to use Bundle Inheritance to Override parts of a Bundle
4+
How to Use Bundle Inheritance to Override Parts of a Bundle
55
===========================================================
66

77
When working with third-party bundles, you'll probably come across a situation

cookbook/bundles/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. index::
22
single: Bundle; Installation
33

4-
How to install 3rd party Bundles
4+
How to Install 3rd Party Bundles
55
================================
66

77
Most bundles provide their own installation instructions. However, the

cookbook/bundles/override.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ See :doc:`/cookbook/service_container/compiler_passes` for information on how to
9393
compiler passes. If you want to do something beyond just overriding the class -
9494
like adding a method call - you can only use the compiler pass method.
9595

96-
Entities & Entity mapping
96+
Entities & Entity Mapping
9797
-------------------------
9898

9999
Due to the way Doctrine works, it is not possible to override entity mapping
@@ -119,7 +119,7 @@ rather than::
119119

120120
.. _override-validation:
121121

122-
Validation metadata
122+
Validation Metadata
123123
-------------------
124124

125125
Symfony loads all validation configuration files from every bundle and

cookbook/bundles/prepend_extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
single: Configuration; Semantic
33
single: Bundle; Extension configuration
44

5-
How to simplify configuration of multiple Bundles
5+
How to Simplify Configuration of multiple Bundles
66
=================================================
77

88
When building reusable and extensible applications, developers are often

0 commit comments

Comments
 (0)