@@ -113,16 +113,16 @@ memorable name for the new branch (if you are fixing a reported issue, use
113
113
114
114
.. code-block :: terminal
115
115
116
- $ git checkout -b improve_install_article upstream/5 .4
116
+ $ git checkout -b improve_install_article upstream/6 .4
117
117
118
118
In this example, the name of the branch is ``improve_install_article `` and the
119
- ``upstream/5 .4 `` value tells Git to create this branch based on the ``5 .4 ``
119
+ ``upstream/6 .4 `` value tells Git to create this branch based on the ``6 .4 ``
120
120
branch of the ``upstream `` remote, which is the original Symfony Docs repository.
121
121
122
122
Fixes should always be based on the **oldest maintained branch ** which contains
123
- the error. Nowadays this is the ``5 .4 `` branch. If you are instead documenting a
123
+ the error. Nowadays this is the ``6 .4 `` branch. If you are instead documenting a
124
124
new feature, switch to the first Symfony version that included it, e.g.
125
- ``upstream/6 .2 ``.
125
+ ``upstream/7 .2 ``.
126
126
127
127
**Step 5. ** Now make your changes in the documentation. Add, tweak, reword and
128
128
even remove any content and do your best to comply with the
@@ -156,7 +156,7 @@ changes should be applied:
156
156
:alt: The base branch select option on the GitHub page.
157
157
158
158
In this example, the **base fork ** should be ``symfony/symfony-docs `` and
159
- the **base ** branch should be the ``5 .4 ``, which is the branch that you selected
159
+ the **base ** branch should be the ``4 .4 ``, which is the branch that you selected
160
160
to base your changes on. The **head fork ** should be your forked copy
161
161
of ``symfony-docs `` and the **compare ** branch should be ``improve_install_article ``,
162
162
which is the name of the branch you created and where you made your changes.
@@ -209,7 +209,7 @@ contribution to the Symfony docs:
209
209
# create a new branch based on the oldest maintained version
210
210
$ cd projects/symfony-docs/
211
211
$ git fetch upstream
212
- $ git checkout -b my_changes upstream/5 .4
212
+ $ git checkout -b my_changes upstream/6 .4
213
213
214
214
# ... do your changes
215
215
@@ -258,8 +258,8 @@ into multiple branches, corresponding to the different versions of Symfony itsel
258
258
The latest (e.g. ``5.x ``) branch holds the documentation for the development branch of
259
259
the code.
260
260
261
- Unless you're documenting a feature that was introduced after Symfony 5 .4,
262
- your changes should always be based on the ``5 .4 `` branch. Documentation managers
261
+ Unless you're documenting a feature that was introduced after Symfony 6 .4,
262
+ your changes should always be based on the ``6 .4 `` branch. Documentation managers
263
263
will use the necessary Git-magic to also apply your changes to all the active
264
264
branches of the documentation.
265
265
0 commit comments