summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrey Li <withlihui@gmail.com>2021-05-24 16:59:22 +0800
committerGrey Li <withlihui@gmail.com>2021-05-25 08:51:55 +0800
commit1d3d466c63add52076e58cefec911168dc2a68e0 (patch)
tree7f1c230b733408f854e686ac144039fa710bcf06
parent1037184acd368f2d99241a8677a80854e19d2e1b (diff)
downloadjinja2-1d3d466c63add52076e58cefec911168dc2a68e0.tar.gz
Improve the contributing guide
-rw-r--r--CONTRIBUTING.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
index 553e6a3..5f83503 100644
--- a/CONTRIBUTING.rst
+++ b/CONTRIBUTING.rst
@@ -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.