@@ -26,21 +26,21 @@ then clone your fork:
26
26
$ git clone git://github.com/YOURUSERNAME/symfony-docs.git
27
27
28
28
Consistent with Symfony's source code, the documentation repository is split into
29
- multiple branches: ``2.0 ``, `` 2.1 ``, ``2.2 `` corresponding to the different
30
- versions of Symfony itself. The ``master `` branch holds the documentation
31
- for the development branch of the code.
29
+ multiple branches: ``2.2 ``, ``2.3 `` corresponding to the different versions of
30
+ Symfony itself. The ``master `` branch holds the documentation for the development
31
+ branch of the code.
32
32
33
- Unless you're documenting a feature that was introduced *after * Symfony 2.1
34
- (e.g. in Symfony 2.2 ), your changes should always be based on the 2.1 branch.
35
- To do this checkout the 2.1 branch before the next step:
33
+ Unless you're documenting a feature that was introduced *after * Symfony 2.2
34
+ (e.g. in Symfony 2.3 ), your changes should always be based on the 2.2 branch.
35
+ To do this checkout the 2.2 branch before the next step:
36
36
37
37
.. code-block :: bash
38
38
39
- $ git checkout 2.1
39
+ $ git checkout 2.2
40
40
41
41
.. tip ::
42
42
43
- Your base branch (e.g. 2.1 ) will become the "Applies to" in the :ref: `doc-contributing-pr-format `
43
+ Your base branch (e.g. 2.2 ) will become the "Applies to" in the :ref: `doc-contributing-pr-format `
44
44
that you'll use later.
45
45
46
46
Next, create a dedicated branch for your changes (for organization):
@@ -61,16 +61,16 @@ Following the example, the pull request will default to be between your
61
61
.. image :: /images/docs-pull-request.png
62
62
:align: center
63
63
64
- If you have made your changes based on the 2.1 branch then you need to change
65
- the base branch to be 2.1 on the preview page:
64
+ If you have made your changes based on the 2.2 branch then you need to change
65
+ the base branch to be 2.2 on the preview page:
66
66
67
67
.. image :: /images/docs-pull-request-change-base.png
68
68
:align: center
69
69
70
70
.. note ::
71
71
72
- All changes made to a branch (e.g. 2.1 ) will be merged up to each "newer"
73
- branch (e.g. 2.2 , master, etc) for the next release on a weekly basis.
72
+ All changes made to a branch (e.g. 2.2 ) will be merged up to each "newer"
73
+ branch (e.g. 2.3 , master, etc) for the next release on a weekly basis.
74
74
75
75
GitHub covers the topic of `pull requests `_ in detail.
76
76
@@ -117,7 +117,7 @@ An example submission could now look as follows:
117
117
| ------------- | ---
118
118
| Doc fix? | yes
119
119
| New docs? | yes (symfony/symfony#2500)
120
- | Applies to | all (or 2.1 +)
120
+ | Applies to | all (or 2.3 +)
121
121
| Fixed tickets | #1075
122
122
123
123
.. tip ::
@@ -137,8 +137,8 @@ tag and a short description:
137
137
138
138
.. code-block :: text
139
139
140
- .. versionadded:: 2.2
141
- The ``askHiddenResponse`` method was added in Symfony 2.2 .
140
+ .. versionadded:: 2.3
141
+ The ``askHiddenResponse`` method was added in Symfony 2.3 .
142
142
143
143
You can also ask a question and hide the response. This is particularly...
144
144
@@ -147,11 +147,11 @@ how the behavior has changed.
147
147
148
148
.. code-block :: text
149
149
150
- .. versionadded:: 2.2
150
+ .. versionadded:: 2.3
151
151
The ``include()`` function is a new Twig feature that's available in
152
- Symfony 2.2 . Prior, the ``{% include %}`` tag was used.
152
+ Symfony 2.3 . Prior, the ``{% include %}`` tag was used.
153
153
154
- Whenever a new minor version of Symfony2 is released (e.g. 2.3 , 2.4 , etc),
154
+ Whenever a new minor version of Symfony2 is released (e.g. 2.4 , 2.5 , etc),
155
155
a new branch of the documentation is created from the ``master `` branch.
156
156
At this point, all the ``versionadded `` tags for Symfony2 versions that have
157
157
reached end-of-life will be removed. For example, if Symfony 2.5 were released
0 commit comments