Skip to content

Commit d49d12e

Browse files
committed
[Reference] consistent headlines
1 parent 0702d1f commit d49d12e

32 files changed

+70
-64
lines changed

reference/configuration/assetic.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.. index::
2-
pair: Assetic; Configuration reference
2+
pair: Assetic; Configuration reference
33

44
AsseticBundle Configuration ("assetic")
55
=======================================
66

7-
Full Default Configuration
7+
Full default Configuration
88
~~~~~~~~~~~~~~~~~~~~~~~~~~
99

1010
.. configuration-block::

reference/configuration/doctrine.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
.. index::
2-
single: Doctrine; ORM configuration reference
3-
single: Configuration reference; Doctrine ORM
2+
single: Doctrine; ORM configuration reference
3+
single: Configuration reference; Doctrine ORM
44

55
DoctrineBundle Configuration ("doctrine")
66
=========================================
77

8+
Full default configuration
9+
--------------------------
10+
811
.. configuration-block::
912

1013
.. code-block:: yaml

reference/configuration/framework.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. index::
2-
single: Configuration reference; Framework
2+
single: Configuration reference; Framework
33

44
FrameworkBundle Configuration ("framework")
55
===========================================
@@ -439,7 +439,7 @@ and activate the data collectors by hand::
439439

440440
$profiler->enable();
441441

442-
Full Default Configuration
442+
Full default Configuration
443443
--------------------------
444444

445445
.. configuration-block::

reference/configuration/monolog.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
.. index::
2-
pair: Monolog; Configuration reference
2+
pair: Monolog; Configuration reference
33

44
MonologBundle Configuration ("monolog")
55
=======================================
66

7+
Full default Configuration
8+
--------------------------
9+
710
.. configuration-block::
811

912
.. code-block:: yaml

reference/configuration/security.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
.. index::
2-
single: Security; Configuration reference
2+
single: Security; Configuration reference
33

44
SecurityBundle Configuration ("security")
55
=========================================
66

77
The security system is one of the most powerful parts of Symfony2, and can
88
largely be controlled via its configuration.
99

10-
Full Default Configuration
10+
Full default Configuration
1111
--------------------------
1212

1313
The following is the full default configuration for the security system.
@@ -281,7 +281,7 @@ Redirecting after Login
281281

282282
.. _reference-security-pbkdf2:
283283

284-
Using the PBKDF2 encoder: Security and Speed
284+
Using the PBKDF2 Encoder: Security and Speed
285285
--------------------------------------------
286286

287287
.. versionadded:: 2.2

reference/configuration/swiftmailer.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. index::
2-
single: Configuration reference; Swift Mailer
2+
single: Configuration reference; Swift Mailer
33

44
SwiftmailerBundle Configuration ("swiftmailer")
55
===============================================
@@ -172,7 +172,7 @@ logging
172172
If true, Symfony's data collector will be activated for Swift Mailer and the
173173
information will be available in the profiler.
174174

175-
Full Default Configuration
175+
Full default Configuration
176176
--------------------------
177177

178178
.. configuration-block::
@@ -224,7 +224,7 @@ Full Default Configuration
224224
/>
225225
</swiftmailer:config>
226226
227-
Using Multiple Mailers
227+
Using multiple Mailers
228228
----------------------
229229

230230
You can configure multiple mailers by grouping them under the ``mailers``

reference/configuration/twig.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. index::
2-
pair: Twig; Configuration reference
2+
pair: Twig; Configuration reference
33

44
TwigBundle Configuration ("twig")
55
=================================

reference/configuration/web_profiler.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.. index::
2-
single: Configuration reference; WebProfiler
2+
single: Configuration reference; WebProfiler
33

44
WebProfilerBundle Configuration ("web_profiler")
55
================================================
66

7-
Full Default Configuration
7+
Full default Configuration
88
--------------------------
99

1010
.. configuration-block::

reference/constraints/CardScheme.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ on an object that will contain a credit card number.
6161
6262
// src/Acme/SubscriptionBundle/Entity/Transaction.php
6363
namespace Acme\SubscriptionBundle\Entity\Transaction;
64-
64+
6565
use Symfony\Component\Validator\Constraints as Assert;
6666
6767
class Transaction
@@ -76,7 +76,7 @@ on an object that will contain a credit card number.
7676
7777
// src/Acme/SubscriptionBundle/Entity/Transaction.php
7878
namespace Acme\SubscriptionBundle\Entity\Transaction;
79-
79+
8080
use Symfony\Component\Validator\Mapping\ClassMetadata;
8181
use Symfony\Component\Validator\Constraints as Assert;
8282
@@ -99,7 +99,7 @@ Available Options
9999
-----------------
100100

101101
schemes
102-
-------
102+
~~~~~~~
103103

104104
**type**: ``mixed`` [:ref:`default option <validation-default-option>`]
105105

reference/constraints/Collection.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ the above example, the ``allowMissingFields`` option was set to true, meaning
169169
that if either of the ``personal_email`` or ``short_bio`` elements were missing
170170
from the ``$personalData`` property, no validation error would occur.
171171

172-
Required and Optional Field Constraints
172+
Required and optional Field Constraints
173173
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174174

175175
.. versionadded:: 2.3
@@ -187,7 +187,7 @@ field is optional but must be a valid email if supplied, you can do the followin
187187
.. configuration-block::
188188

189189
.. code-block:: yaml
190-
190+
191191
# src/Acme/BlogBundle/Resources/config/validation.yml
192192
Acme\BlogBundle\Entity\Author:
193193
properties:
@@ -223,9 +223,9 @@ field is optional but must be a valid email if supplied, you can do the followin
223223
'personal_email',
224224
);
225225
}
226-
226+
227227
.. code-block:: xml
228-
228+
229229
<!-- src/Acme/BlogBundle/Resources/config/validation.xml -->
230230
<?xml version="1.0" encoding="UTF-8" ?>
231231
<constraint-mapping xmlns="http://symfony.com/schema/dic/constraint-mapping"

reference/forms/types/birthday.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ years
5454
List of years available to the year field type. This option is only
5555
relevant when the ``widget`` option is set to ``choice``.
5656

57-
Inherited options
57+
Inherited Options
5858
-----------------
5959

6060
These options inherit from the :doc:`date </reference/forms/types/date>` type:
6161

6262
.. include:: /reference/forms/types/options/date_widget.rst.inc
63-
63+
6464
.. include:: /reference/forms/types/options/date_input.rst.inc
6565

6666
.. include:: /reference/forms/types/options/empty_value.rst.inc

reference/forms/types/button.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ A simple, non-responsive button.
2222
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\ButtonType` |
2323
+----------------------+----------------------------------------------------------------------+
2424

25-
Inherited options
25+
Inherited Options
2626
-----------------
2727

2828
The following options are defined in the

reference/forms/types/checkbox.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ Field Options
4646

4747
.. include:: /reference/forms/types/options/value.rst.inc
4848

49-
Overridden options
49+
Overridden Options
5050
------------------
5151

5252
.. include:: /reference/forms/types/options/checkbox_empty_data.rst.inc
5353

5454
.. include:: /reference/forms/types/options/checkbox_compound.rst.inc
5555

56-
Inherited options
56+
Inherited Options
5757
-----------------
5858

5959
These options inherit from the :doc:`form </reference/forms/types/form>` type:

reference/forms/types/choice.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ can be created to supply the choices.
111111

112112
.. include:: /reference/forms/types/options/empty_value.rst.inc
113113

114-
Overridden options
114+
Overridden Options
115115
------------------
116116

117117
.. include:: /reference/forms/types/options/empty_data.rst.inc
@@ -121,18 +121,18 @@ compound
121121

122122
**type**: ``boolean`` **default**: same value as ``expanded`` option
123123

124-
This option specifies if a form is compound. The value is by default
124+
This option specifies if a form is compound. The value is by default
125125
overridden by the value of the ``expanded`` option.
126126

127127
error_bubbling
128128
~~~~~~~~~~~~~~
129129

130130
**type**: ``boolean`` **default**: ``false``
131131

132-
Set that error on this field must be attached to the field instead of
132+
Set that error on this field must be attached to the field instead of
133133
the parent field (the form in most cases).
134134

135-
Inherited options
135+
Inherited Options
136136
-----------------
137137

138138
These options inherit from the :doc:`form </reference/forms/types/form>` type:

reference/forms/types/collection.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ existing addresses. Adding new addresses is possible by using the `allow_add`_
112112
option (and optionally the `prototype`_ option) (see example below). Removing
113113
emails from the ``emails`` array is possible with the `allow_delete`_ option.
114114

115-
Adding and Removing items
115+
Adding and Removing Items
116116
~~~~~~~~~~~~~~~~~~~~~~~~~
117117

118118
If `allow_add`_ is set to ``true``, then if any unrecognized items are submitted,
@@ -336,7 +336,7 @@ If you have several collections in your form, or worse, nested collections
336336
you may want to change the placeholder so that unrelated placeholders are not
337337
replaced with the same value.
338338

339-
Inherited options
339+
Inherited Options
340340
-----------------
341341

342342
These options inherit from the :doc:`form </reference/forms/types/form>` type.

reference/forms/types/country.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ choices
5656
The country type defaults the ``choices`` option to the whole list of countries.
5757
The locale is used to translate the countries names.
5858

59-
Inherited options
59+
Inherited Options
6060
-----------------
6161

6262
These options inherit from the :doc:`choice </reference/forms/types/choice>` type:

reference/forms/types/currency.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ choices
4848

4949
The choices option defaults to all currencies.
5050

51-
Inherited options
51+
Inherited Options
5252
-----------------
5353

5454
These options inherit from the :doc:`choice</reference/forms/types/choice>` type:

reference/forms/types/date.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ error_bubbling
134134

135135
**default**: ``false``
136136

137-
Inherited options
137+
Inherited Options
138138
-----------------
139139

140140
These options inherit from the :doc:`form </reference/forms/types/form>` type:

reference/forms/types/datetime.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ field to be rendered as an ``input`` field with ``type="datetime"``.
132132

133133
.. include:: /reference/forms/types/options/empty_value.rst.inc
134134

135-
Inherited options
135+
Inherited Options
136136
-----------------
137137

138138
These options inherit from the :doc:`form </reference/forms/types/form>` type:

reference/forms/types/entity.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ cast into a string and so must have a ``__toString()`` method.
120120

121121
.. note::
122122

123-
The ``property`` option is the property path used to display the option. So you
123+
The ``property`` option is the property path used to display the option. So you
124124
can use anything supported by the
125125
:doc:`PropertyAccessor component </components/property_access/introduction>`
126126

127-
For example, if the translations property is actually an associative array of
127+
For example, if the translations property is actually an associative array of
128128
objects, each with a name property, then you could do this::
129129

130130
$builder->add('gender', 'entity', array(
@@ -184,26 +184,26 @@ for you, by using all of the above options. If you need to override this
184184
option, you may just consider using the :doc:`/reference/forms/types/choice`
185185
directly.
186186

187-
Inherited options
187+
Inherited Options
188188
-----------------
189189

190190
These options inherit from the :doc:`choice </reference/forms/types/choice>` type:
191191

192192
.. include:: /reference/forms/types/options/multiple.rst.inc
193193

194194
.. note::
195-
195+
196196
If you are working with a collection of Doctrine entities, it will be helpful
197197
to read the documentation for the :doc:`/reference/forms/types/collection`
198198
as well. In addition, there is a complete example in the cookbook article
199199
:doc:`/cookbook/form/form_collections`.
200-
200+
201201
.. include:: /reference/forms/types/options/expanded.rst.inc
202202

203203
.. include:: /reference/forms/types/options/preferred_choices.rst.inc
204204

205205
.. note::
206-
206+
207207
This option expects an array of entity objects, unlike the ``choice`` field
208208
that requires an array of keys.
209209

reference/forms/types/file.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ before using it directly.
7878
Read the :doc:`cookbook </cookbook/doctrine/file_uploads>` for an example of
7979
how to manage a file upload associated with a Doctrine entity.
8080

81-
Inherited options
81+
Inherited Options
8282
-----------------
8383

8484
These options inherit from the :doc:`form </reference/forms/types/form>` type:
@@ -105,7 +105,7 @@ Form Variables
105105
--------------
106106

107107
======== ========== ===============================================================================
108-
Variable Type Usage
108+
Variable Type Usage
109109
======== ========== ===============================================================================
110110
type ``string`` The type variable is set to ``file``, in order to render as a file input field.
111111
======== ========== ===============================================================================

reference/forms/types/form.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ on all types for which ``form`` is the parent type.
4343
| Class | :class:`Symfony\\Component\\Form\\Extension\\Core\\Type\\FormType` |
4444
+-----------+--------------------------------------------------------------------+
4545

46-
Options
47-
-------
46+
Field Options
47+
-------------
4848

4949
.. include:: /reference/forms/types/options/data.rst.inc
5050

@@ -104,7 +104,7 @@ Options
104104

105105
.. include:: /reference/forms/types/options/method.rst.inc
106106

107-
Inherited options
107+
Inherited Options
108108
-----------------
109109

110110
The following options are defined in the

0 commit comments

Comments
 (0)