File tree Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
Filter options
contributing/documentation Expand file tree Collapse file tree 1 file changed +13
-6
lines changed
Original file line number Diff line number Diff line change @@ -26,18 +26,23 @@ 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
- three branches: ``2.0 `` for the current Symfony 2.0.x release , ``2.1 `` for the
30
- current Symfony 2.1.x release and ``master `` as the development branch for
31
- upcoming releases .
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 .
32
32
33
- Unless you're documenting a feature that's new to Symfony 2.1, your changes
34
- should always be based on the 2.0 branch instead of the master branch. To do
35
- this checkout the 2.0 branch before the next step:
33
+ Unless you're documenting a feature that was introduced * after * Symfony 2.0
34
+ (e.g. in Symfony 2.1), your changes should always be based on the 2.0 branch.
35
+ To do this checkout the 2.0 branch before the next step:
36
36
37
37
.. code-block :: bash
38
38
39
39
$ git checkout 2.0
40
40
41
+ .. tip ::
42
+
43
+ Your base branch (e.g. 2.0) will become the "Applies to" in the :ref: `doc-contributing-pr-format `
44
+ that you'll use later.
45
+
41
46
Next, create a dedicated branch for your changes (for organization):
42
47
43
48
.. code-block :: bash
@@ -74,6 +79,8 @@ GitHub covers the topic of `pull requests`_ in detail.
74
79
The Symfony2 documentation is licensed under a Creative Commons
75
80
Attribution-Share Alike 3.0 Unported :doc: `License <license >`.
76
81
82
+ .. _doc-contributing-pr-format :
83
+
77
84
Pull Request Format
78
85
~~~~~~~~~~~~~~~~~~~
79
86
You can’t perform that action at this time.
0 commit comments