]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Improve the contributing guide 1451/head
authorGrey Li <withlihui@gmail.com>
Mon, 24 May 2021 08:59:22 +0000 (16:59 +0800)
committerGrey Li <withlihui@gmail.com>
Tue, 25 May 2021 00:51:55 +0000 (08:51 +0800)
CONTRIBUTING.rst

index 553e6a380a655a92633f72f4bf02d2e1b9055599..5f835032f9f2e4b6d569e13bf9c184b25e52b3d4 100644 (file)
@@ -92,7 +92,7 @@ First time setup
 
     .. code-block:: text
 
-        git remote add fork https://github.com/{username}/jinja
+        git remote add fork https://github.com/{username}/jinja
 
 -   Create a virtualenv.
 
@@ -107,6 +107,12 @@ First time setup
 
         > env\Scripts\activate
 
+-   Upgrade pip and setuptools.
+
+    .. code-block:: text
+
+        $ python -m pip install --upgrade pip setuptools
+
 -   Install the development dependencies, then install Jinja in editable
     mode.
 
@@ -138,7 +144,7 @@ Start coding
     .. code-block:: text
 
         $ git fetch origin
-        $ git checkout -b your-branch-name origin/1.1.x
+        $ git checkout -b your-branch-name origin/3.0.x
 
     If you're submitting a feature addition or change, branch off of the
     "main" branch.