Skip to content

Commit 2f1a747

Browse files
authored
rename master -> main, hopefully got all references (#326)
1 parent 25385be commit 2f1a747

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88
branches:
9-
- master
9+
- main
1010
types:
1111
- opened
1212
- reopened

.github/workflows/screenshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Screenshots
33
on:
44
pull_request:
55
branches:
6-
- master
6+
- main
77
types:
88
- opened
99
- reopened

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contribution guide
22

3-
Contributions are welcome!
3+
Contributions are welcome! :smile:
44

55
## Instructions
66

@@ -18,18 +18,18 @@ cd fastplotlib
1818
pip install -e ".[notebook,docs,tests]
1919
```
2020
21-
3. Checkout the `master` branch, and then checkout your feature or bug fix branch, and run tests:
21+
3. Checkout the `main` branch, and then checkout your feature or bug fix branch, and run tests:
2222
2323
> **Warning**
2424
> Do not commit or add any changes from `examples/screenshots` or `examples/diffs`.
25-
> If you are creating new test examples that generate or change screenshots please post an issue on the repo and we will help you.
25+
> If you are creating new test examples that generate or change screenshots please post an issue on the repo and we will help you. The screenshots will be generated on github actions servers, which you can then copy into the screenshots dir. :)
2626
2727
```bash
2828
cd fastplotlib
2929
30-
git checkout master
30+
git checkout main
3131
32-
# checkout your new branch from master
32+
# checkout your new branch from main
3333
git checkout -b my-new-feature-branch
3434
3535
# make your changes
@@ -49,4 +49,4 @@ git commit -m "my new feature"
4949
git push origin my-new-feature-branch
5050
```
5151
52-
4. Finally make a **draft** PR against the `master` branch. When you think the PR is ready, mark it for review to trigger tests using our CI pipeline. If you need to make changes, please set the PR to a draft when pushing further commits until it's ready for review scion. We will get back to your with any further suggestions!
52+
4. Finally make a **draft** PR against the `main` branch. When you think the PR is ready, mark it for review to trigger tests using our CI pipeline. If you need to make changes, please set the PR to a draft when pushing further commits until it's ready for review scion. We will get back to your with any further suggestions!

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ A fast plotting library built using the [`pygfx`](https://github.com/pygfx/pygfx
4040

4141
http://fastplotlib.readthedocs.io/
4242

43-
The Quickstart guide is not interactive. We recommend cloning/downloading the repo and trying out the `desktop` or `notebook` examples: https://github.com/kushalkolar/fastplotlib/tree/master/examples
43+
The Quickstart guide is not interactive. We recommend cloning/downloading the repo and trying out the `desktop` or `notebook` examples: https://github.com/kushalkolar/fastplotlib/tree/main/examples
4444

4545
If someone wants to integrate `pyodide` with `pygfx` we would be able to have live interactive examples! :smiley:
4646

@@ -83,7 +83,7 @@ pip install -e ".[notebook,docs,tests]"
8383

8484
> **Note**
8585
>
86-
> `fastplotlib` and `pygfx` are fast evolving, you may require the latest `pygfx` and `fastplotlib` from github to use the examples in the master branch.
86+
> `fastplotlib` and `pygfx` are fast evolving, you may require the latest `pygfx` and `fastplotlib` from github to use the examples in the main branch.
8787
8888
Note that `fastplotlib` code is basically identical between desktop and notebook usage. The differences are:
8989
- Running in `Qt` or `glfw` require a `fastplotlib.run()` call (which is really just a `wgpu` `run()` call)
@@ -93,7 +93,7 @@ Note that `fastplotlib` code is basically identical between desktop and notebook
9393

9494
Desktop examples are here:
9595

96-
https://github.com/fastplotlib/fastplotlib/tree/master/examples/desktop
96+
https://github.com/fastplotlib/fastplotlib/tree/main/examples/desktop
9797

9898
Some of the examples require imageio:
9999
```
@@ -104,7 +104,7 @@ pip install imageio
104104

105105
Notebook examples are here:
106106

107-
https://github.com/fastplotlib/fastplotlib/tree/master/examples/notebooks
107+
https://github.com/fastplotlib/fastplotlib/tree/main/examples/notebooks
108108

109109
**Start with `simple.ipynb`.**
110110

@@ -152,6 +152,6 @@ As far as I know, WGPU uses Metal instead of Vulkan on Mac. You will need at lea
152152

153153
# :heart: Contributing
154154

155-
We welcome contributions! See the contributing guide: https://github.com/kushalkolar/fastplotlib/blob/master/CONTRIBUTING.md
155+
We welcome contributions! See the contributing guide: https://github.com/kushalkolar/fastplotlib/blob/main/CONTRIBUTING.md
156156

157157
You can also take a look at our [**Roadmap for 2023**](https://github.com/kushalkolar/fastplotlib/issues/55) and [**Issues**](https://github.com/kushalkolar/fastplotlib/issues) for ideas on how to contribute!

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@
5757

5858
html_theme_options = {
5959
"source_repository": "https://github.com/kushalkolar/fastplotlib",
60-
"source_branch": "master",
60+
"source_branch": "main",
6161
"source_directory": "docs/",
6262
}

0 commit comments

Comments
 (0)