rename default branch in files
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by David Lord · committed by David Lord · parent 6fb1101 · Browse files · 5 files·+9 added−9 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
5 files+9 added−9 removed
- other:+9 added−9 removed
Provenance
- Commit
52adf2e- Tree
876a466- Author
David Lord <davidism@gmail.com>- Committer
David Lord <davidism@gmail.com>- Parent
6fb1101
5 files changed+9 added−9 removed
modified:.github/workflows/tests.yaml+2 added-2 removed
123455678910111213131415161737 unmodified linesname: Testson: push: branches: - master - main - '*.x' paths-ignore: - 'docs/**' - '*.md' - '*.rst' pull_request: branches: - master - main - '*.x' paths-ignore: - 'docs/**' - '*.md'37 unmodified linesmodified:docs/conf.py+1 added-1 removed
76 unmodified lines77 else:78 words = None79 80 if packaging.version.parse(release).is_devrelease:81- url = f"{base_url}master/{text}"81+ url = f"{base_url}main/{text}"82 else:83 url = f"{base_url}{release}/{text}"84 85 if words is None:13 unmodified linesmodified:examples/tutorial/README.rst+2 added-2 removed
9 unmodified lines10 -------11 12 **Be sure to use the same version of the code as the version of the docs13 you're reading.** You probably want the latest tagged version, but the14-default Git version is the master branch. ::14+default Git version is the main branch. ::15 16 # clone the repository17 $ git clone https://github.com/pallets/flask18 $ cd flask15 unmodified lines34 Install Flaskr::35 36 $ pip install -e .37 38-Or if you are using the master branch, install Flask from source before38+Or if you are using the main branch, install Flask from source before39 installing Flaskr::40 41 $ pip install -e ../..42 $ pip install -e .35 unmodified linesmodified:CONTRIBUTING.rst+3 added-3 removed
141 unmodified lines142 143 .. code-block:: text144 145 $ git fetch origin146- $ git checkout -b your-branch-name origin/1.1.x146+ $ git checkout -b your-branch-name origin/2.0.x147 148 If you're submitting a feature addition or change, branch off of the149- "master" branch.149+ "main" branch.150 151 .. code-block:: text152 153 $ git fetch origin154- $ git checkout -b your-branch-name origin/master154+ $ git checkout -b your-branch-name origin/main155 156 - Using your favorite editor, make your changes,157 `committing as you go`_.158 - Include tests that cover any code changes you make. Make sure the63 unmodified linesmodified:README.rst+1 added-1 removed
53 unmodified lines54 55 For guidance on setting up a development environment and how to make a56 contribution to Flask, see the `contributing guidelines`_.57 58-.. _contributing guidelines: https://github.com/pallets/flask/blob/master/CONTRIBUTING.rst58+.. _contributing guidelines: https://github.com/pallets/flask/blob/main/CONTRIBUTING.rst59 60 61 Donate62 ------20 unmodified lines