Skip to content

Commit 267a1da

Browse files
committed
fix branch version used to base pull requests on
1 parent efd7395 commit 267a1da

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

contributing/documentation/overview.rst

+18-18
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@ then clone your fork:
2626
$ git clone git://github.com/YOURUSERNAME/symfony-docs.git
2727
2828
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.
3232

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:
3636

3737
.. code-block:: bash
3838
39-
$ git checkout 2.1
39+
$ git checkout 2.2
4040
4141
.. tip::
4242

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`
4444
that you'll use later.
4545

4646
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
6161
.. image:: /images/docs-pull-request.png
6262
:align: center
6363

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:
6666

6767
.. image:: /images/docs-pull-request-change-base.png
6868
:align: center
6969

7070
.. note::
7171

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.
7474

7575
GitHub covers the topic of `pull requests`_ in detail.
7676

@@ -117,7 +117,7 @@ An example submission could now look as follows:
117117
| ------------- | ---
118118
| Doc fix? | yes
119119
| New docs? | yes (symfony/symfony#2500)
120-
| Applies to | all (or 2.1+)
120+
| Applies to | all (or 2.3+)
121121
| Fixed tickets | #1075
122122
123123
.. tip::
@@ -137,8 +137,8 @@ tag and a short description:
137137

138138
.. code-block:: text
139139
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.
142142
143143
You can also ask a question and hide the response. This is particularly...
144144
@@ -147,11 +147,11 @@ how the behavior has changed.
147147

148148
.. code-block:: text
149149
150-
.. versionadded:: 2.2
150+
.. versionadded:: 2.3
151151
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.
153153
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),
155155
a new branch of the documentation is created from the ``master`` branch.
156156
At this point, all the ``versionadded`` tags for Symfony2 versions that have
157157
reached end-of-life will be removed. For example, if Symfony 2.5 were released

0 commit comments

Comments
 (0)