Skip to content

Commit b681e84

Browse files
committed
master -> main
1 parent 2206150 commit b681e84

File tree

15 files changed

+26
-27
lines changed

15 files changed

+26
-27
lines changed

.github/CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Guidelines for bug reports:
3535
reported.
3636

3737
2. **Check if the issue has been fixed** — try to reproduce it using the
38-
latest `master` or development branch in the repository.
38+
latest `main` or development branch in the repository.
3939

4040
3. **Isolate the problem** — ideally create a minimal working example that
4141
demonstrates the issue.
@@ -90,8 +90,8 @@ included in the project:
9090
2. If you cloned a while ago, get the latest changes from upstream:
9191

9292
```bash
93-
git checkout master
94-
git pull upstream master
93+
git checkout main
94+
git pull upstream main
9595
```
9696

9797
3. Create a new topic branch (off the main project development branch) to
@@ -110,7 +110,7 @@ included in the project:
110110
5. Locally merge (or rebase) the upstream development branch into your topic branch:
111111

112112
```bash
113-
git pull [--rebase] upstream master
113+
git pull [--rebase] upstream main
114114
```
115115

116116
6. Push your topic branch up to your fork:
@@ -120,7 +120,7 @@ included in the project:
120120
```
121121

122122
7. [Open a Pull Request](https://help.github.com/articles/about-pull-requests/)
123-
with a clear title and description against the `master` branch.
123+
with a clear title and description against the `main` branch.
124124

125125
**IMPORTANT**: By submitting a patch, you agree to allow the project owners to
126126
license your work under the terms of the [Apache 2.0 License](../LICENSE).

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ about: Tell us about a bug you may have identified in Dash Bootstrap Components
66
Before opening:
77

88
- [Search for duplicate or closed issues](https://github.com/facultyai/dash-bootstrap-components/issues?utf8=%E2%9C%93&q=is%3Aissue)
9-
- Read the [contributing guidelines](https://github.com/facultyai/dash-bootstrap-components/blob/master/.github/CONTRIBUTING.md)
9+
- Read the [contributing guidelines](https://github.com/facultyai/dash-bootstrap-components/blob/main/.github/CONTRIBUTING.md)
1010

1111
Please fill out the below information as much as possible.
1212

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Before opening:
22

33
- [Search for duplicate or closed issues](https://github.com/facultyai/dash-bootstrap-components/issues?utf8=%E2%9C%93&q=is%3Aissue)
4-
- Read the [contributing guidelines](https://github.com/facultyai/dash-bootstrap-components/blob/master/.github/CONTRIBUTING.md)
4+
- Read the [contributing guidelines](https://github.com/facultyai/dash-bootstrap-components/blob/main/.github/CONTRIBUTING.md)
55

66
Please fill out the below information as much as possible.
77

.github/ISSUE_TEMPLATE/feature-request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ about: Tell us about a feature you would like to see in Dash Bootstrap Component
66
Before opening:
77

88
- [Search for duplicate or closed issues](https://github.com/facultyai/dash-bootstrap-components/issues?utf8=%E2%9C%93&q=is%3Aissue)
9-
- Read the [contributing guidelines](https://github.com/facultyai/dash-bootstrap-components/blob/master/.github/CONTRIBUTING.md)
9+
- Read the [contributing guidelines](https://github.com/facultyai/dash-bootstrap-components/blob/main/.github/CONTRIBUTING.md)
1010

1111
Feature requests must include:
1212

.github/ISSUE_TEMPLATE/feature.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Before opening:
22

33
- [Search for duplicate or closed issues](https://github.com/facultyai/dash-bootstrap-components/issues?utf8=%E2%9C%93&q=is%3Aissue)
4-
- Read the [contributing guidelines](https://github.com/facultyai/dash-bootstrap-components/blob/master/.github/CONTRIBUTING.md)
4+
- Read the [contributing guidelines](https://github.com/facultyai/dash-bootstrap-components/blob/main/.github/CONTRIBUTING.md)
55

66
Feature requests must include:
77

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: stefanzweifel/git-auto-commit-action@v4
4343
with:
4444
commit_message: Release ${{ steps.get-version.outputs.version }}
45-
branch: master
45+
branch: main
4646
push_options: --force
4747
file_pattern: package-lock.json docs/requirements.txt
4848
- name: Create GitHub release
@@ -60,7 +60,7 @@ jobs:
6060
- uses: stefanzweifel/git-auto-commit-action@v4
6161
with:
6262
commit_message: Back to dev
63-
branch: master
63+
branch: main
6464
push_options: --force
6565
file_pattern: package.json tests/test_version.py dash_bootstrap_components/__init__.py
6666

@@ -98,7 +98,7 @@ jobs:
9898
uses: stefanzweifel/git-auto-commit-action@v4
9999
with:
100100
commit_message: Release ${{ steps.get-version.outputs.version }}
101-
branch: master
101+
branch: main
102102
push_options: --force
103103
file_pattern: package-lock.json
104104
- name: Create GitHub prerelease
@@ -116,6 +116,6 @@ jobs:
116116
- uses: stefanzweifel/git-auto-commit-action@v4
117117
with:
118118
commit_message: Back to dev
119-
branch: master
119+
branch: main
120120
push_options: --force
121121
file_pattern: package.json tests/test_version.py dash_bootstrap_components/__init__.py

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<a href="https://github.com/facultyai/dash-bootstrap-components/issues/new?template=feature.md">Request a feature</a>
1717
<br>
1818
<br>
19-
<img alt="GitHub Actions" src="https://github.com/facultyai/dash-bootstrap-components/workflows/Tests/badge.svg?branch=master">
19+
<img alt="GitHub Actions" src="https://github.com/facultyai/dash-bootstrap-components/workflows/Tests/badge.svg?branch=main">
2020
<img alt="GitHub" src="https://img.shields.io/github/license/facultyai/dash-bootstrap-components">
2121
<img alt="PyPI" src="https://img.shields.io/pypi/v/dash-bootstrap-components">
2222
<img alt="Conda (channel only)" src="https://img.shields.io/conda/vn/conda-forge/dash-bootstrap-components">
@@ -163,4 +163,4 @@ Code and documentation is copyright [Faculty Science Ltd.][faculty]
163163
[faculty]: https://faculty.ai
164164
[bug-report]: https://github.com/facultyai/dash-bootstrap-components/issues/new?template=bug.md
165165
[feature-request]: https://github.com/facultyai/dash-bootstrap-components/issues/new?template=feature.md
166-
[contribution-guide]: https://github.com/facultyai/dash-bootstrap-components/blob/master/.github/CONTRIBUTING.md
166+
[contribution-guide]: https://github.com/facultyai/dash-bootstrap-components/blob/main/.github/CONTRIBUTING.md

docs/components_page/components/navbar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The `NavbarSimple` will collapse on smaller screens, and add a toggle for reveal
1717

1818
If you want to have more control over the layout of your navbar you can use the `Navbar` component. This gives you full control over the children, but you will have to write your own callbacks to achieve things like the toggle behaviour on small screens. We recommend using a `Nav` component to wrap the navigation items, check the [docs here](/l/components/nav).
1919

20-
Here is an example of a custom navbar, see the `examples/` folder in the [GitHub repo](https://github.com/facultyai/dash-bootstrap-components/blob/master/examples/advanced-component-usage/Navbars.py) for more.
20+
Here is an example of a custom navbar, see the `examples/` folder in the [GitHub repo](https://github.com/facultyai/dash-bootstrap-components/blob/main/examples/advanced-component-usage/Navbars.py) for more.
2121

2222
{{example:components/navbar/navbar.py:navbar}}
2323

docs/components_page/metadata.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def _load_metadata():
1717

1818
def _get_metadata(metadata_path):
1919
# Copied from Dash source:
20-
# https://github.com/plotly/dash/blob/master/dash/development/component_loader.py#L8
20+
# https://github.com/plotly/dash/blob/02a157a4e78c9faa1705e8a44544d72aaa6c7018/dash/development/component_loader.py#L14-L21
2121
with open(metadata_path) as data_file:
2222
json_string = data_file.read()
2323
data = json.JSONDecoder(

docs/examples/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
GITHUB_EXAMPLES = (
2121
"https://github.com/"
22-
"facultyai/dash-bootstrap-components/blob/master/examples/"
22+
"facultyai/dash-bootstrap-components/blob/main/examples/"
2323
)
2424

2525
INDEX_STRING_TEMPLATE = """{% extends "example.html" %}

0 commit comments

Comments
 (0)