@@ -3,10 +3,10 @@ Contributing to the Documentation
33
44One of the essential principles of the Symfony project is that **documentation is
55as important as code **. That's why a great amount of resources are dedicated to
6- documenting new features and to keeping the rest of the documentation up to date.
6+ documenting new features and to keeping the rest of the documentation up-to- date.
77
8- More than 800 developers all around the world have contributed to Symfony's
9- documentation, and we are glad that you are considering joining this big family.
8+ More than 700 developers all around the world have contributed to Symfony's
9+ documentation and we are glad that you are considering joining this big family.
1010This guide will explain everything you need to contribute to the Symfony
1111documentation.
1212
@@ -27,9 +27,9 @@ Before Your First Contribution
2727Your First Documentation Contribution
2828-------------------------------------
2929
30- In this section you'll learn how to contribute to the Symfony documentation for
30+ In this section, you'll learn how to contribute to the Symfony documentation for
3131the first time. The next section will explain the shorter process you'll follow
32- in the future for every contribution after your first.
32+ in the future for every contribution after your first one .
3333
3434Let's imagine that you want to improve the installation chapter of the Symfony
3535book. In order to make your changes, follow these steps:
@@ -164,8 +164,12 @@ Now you can **sync your fork** by executing the following command:
164164
165165 $ cd projects/symfony-docs/
166166 $ git fetch upstream
167- $ git checkout master
168- $ git merge upstream/master
167+ $ git checkout 2.3
168+ $ git merge upstream/2.3
169+
170+ This command will update the ``2.3 `` branch, which is the one you used to
171+ create the new branch for your changes. If have used another base branch,
172+ e.g. ``master ``, replace the ``2.3 `` with the appropriate branch name.
169173
170174Great! Now you can proceed by following the same steps explained in the previous
171175section:
@@ -212,8 +216,8 @@ steps to contribute to the Symfony documentation, which you can use as a
212216 # sync your fork with the official Symfony repository
213217 $ cd projects/symfony-docs/
214218 $ git fetch upstream
215- $ git checkout master
216- $ git merge upstream/master
219+ $ git checkout 2.3
220+ $ git merge upstream/2.3
217221
218222 # create a new branch from the oldest maintained version
219223 $ git checkout 2.3
@@ -262,10 +266,11 @@ Why Should I Use the Oldest Maintained Branch Instead of the Master Branch?
262266
263267Consistent with Symfony's source code, the documentation repository is split
264268into multiple branches, corresponding to the different versions of Symfony itself.
265- The master branch holds the documentation for the development branch of the code.
269+ The ``master `` branch holds the documentation for the development branch of
270+ the code.
266271
267272Unless you're documenting a feature that was introduced after Symfony 2.3,
268- your changes should always be based on the 2.3 branch. Documentation managers
273+ your changes should always be based on the `` 2.3 `` branch. Documentation managers
269274will use the necessary Git-magic to also apply your changes to all the active
270275branches of the documentation.
271276
0 commit comments