Skip to content

Commit 8bd94a0

Browse files
Felix CremerlazarusA
andauthored
Switch master to main in CI and docs (#557)
* Switch master to main in CI and docs --------- Co-authored-by: Lazaro Alonso <[email protected]>
1 parent f812632 commit 8bd94a0

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
pull_request:
44
push:
55
branches:
6-
- master
6+
- main
77
tags:
88
- '*'
99
jobs:

.github/workflows/Documenter.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
name: Documenter
44

55
on:
6-
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
7-
# using the `master` branch as the default branch.
6+
# Runs on pushes targeting the `main` branch. Change this to `main` if you're
7+
# using the `main` branch as the default branch.
88
push:
99
branches:
10-
- master
10+
- main
1111
tags: ['*']
1212
pull_request:
1313

.github/workflows/IntegrationTest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: IntegrationTest
22
on:
33
push:
4-
branches: [master]
4+
branches: [main]
55
tags: [v*]
66
pull_request:
77

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
1212
[docs-stable-url]: https://JuliaDataCubes.github.io/YAXArrays.jl/stable/
1313

14-
[codecov-img]: https://codecov.io/gh/JuliaDataCubes/YAXArrays.jl/branch/master/graph/badge.svg
14+
[codecov-img]: https://codecov.io/gh/JuliaDataCubes/YAXArrays.jl/branch/main/graph/badge.svg
1515
[codecov-url]: https://codecov.io/gh/JuliaDataCubes/YAXArrays.jl
1616

1717
[ci-img]: https://github.com/JuliaDataCubes/YAXArrays.jl/workflows/CI/badge.svg

docs/make.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ makedocs(; sitename="YAXArrays.jl",
88
checkdocs=:all,
99
format=DocumenterVitepress.MarkdownVitepress(
1010
repo = "github.com/JuliaDataCubes/YAXArrays.jl", # this must be the full URL!
11-
devbranch = "master",
11+
devbranch = "main",
1212
devurl = "dev";
1313
),
1414
draft=false,
@@ -21,6 +21,6 @@ DocumenterVitepress.deploydocs(;
2121
repo="github.com/JuliaDataCubes/YAXArrays.jl.git", # this must be the full URL!
2222
target=joinpath(@__DIR__, "build"),
2323
branch = "gh-pages",
24-
devbranch="master",
24+
devbranch="main",
2525
push_preview = true
2626
)

docs/src/.vitepress/config.mts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ const navTemp = {
4242
{
4343
text: 'ESDL studies',
4444
items: [
45-
{ text: 'ESDL study 1', link: 'https://github.com/JuliaDataCubes/YAXArrays.jl/blob/master/docs/src/tutorials/esdl/examples_from_esdl_study_1.jl' },
46-
{ text: 'ESDL study 2', link: 'https://github.com/JuliaDataCubes/YAXArrays.jl/blob/master/docs/src/tutorials/esdl/examples_from_esdl_study_2.jl' },
47-
{ text: 'ESDL study 3', link: 'https://github.com/JuliaDataCubes/YAXArrays.jl/blob/master/docs/src/tutorials/esdl/examples_from_esdl_study_3.jl' },
48-
{ text: 'ESDL study 4', link: 'https://github.com/JuliaDataCubes/YAXArrays.jl/blob/master/docs/src/tutorials/esdl/examples_from_esdl_study_4.jl' },
45+
{ text: 'ESDL study 1', link: 'https://github.com/JuliaDataCubes/YAXArrays.jl/blob/main/docs/src/tutorials/esdl/examples_from_esdl_study_1.jl' },
46+
{ text: 'ESDL study 2', link: 'https://github.com/JuliaDataCubes/YAXArrays.jl/blob/main/docs/src/tutorials/esdl/examples_from_esdl_study_2.jl' },
47+
{ text: 'ESDL study 3', link: 'https://github.com/JuliaDataCubes/YAXArrays.jl/blob/main/docs/src/tutorials/esdl/examples_from_esdl_study_3.jl' },
48+
{ text: 'ESDL study 4', link: 'https://github.com/JuliaDataCubes/YAXArrays.jl/blob/main/docs/src/tutorials/esdl/examples_from_esdl_study_4.jl' },
4949
]
5050
},
5151
{ text: 'Other Tutorials', link: '/tutorials/other_tutorials' },
@@ -177,7 +177,7 @@ export default defineConfig({
177177
},
178178
],
179179
editLink: {
180-
pattern: 'https://github.com/JuliaDataCubes/YAXArrays.jl/edit/master/docs/src/:path'
180+
pattern: 'https://github.com/JuliaDataCubes/YAXArrays.jl/edit/main/docs/src/:path'
181181
},
182182
socialLinks: [
183183
// { icon: 'github', link: 'https://github.com/JuliaDataCubes/YAXArrays.jl' }

docs/src/development/contribute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ Pull requests and bug reports are always welcome at the [YAXArrays.jl GitHub rep
44

55
## Contribute to Documentation
66

7-
Contributing with examples can be done by first creating a new file example [here](https://github.com/JuliaDataCubes/YAXArrays.jl/tree/master/docs/examples/UserGuide)
7+
Contributing with examples can be done by first creating a new file example [here](https://github.com/JuliaDataCubes/YAXArrays.jl/tree/main/docs/examples/UserGuide)
88

99
::: info new file
1010
- `your_new_file.md` at `docs/src/UserGuide/`
1111

1212

1313
:::
1414

15-
Once this is done you need to add a new entry [here](https://github.com/JuliaDataCubes/YAXArrays.jl/blob/master/docs/src/.vitepress/config.mts) at the appropriate level.
15+
Once this is done you need to add a new entry [here](https://github.com/JuliaDataCubes/YAXArrays.jl/blob/main/docs/src/.vitepress/config.mts) at the appropriate level.
1616

1717
::: info add entry to docs
1818

docs/src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pkg> add YAXArrays
5454
If you want to use the latest unreleased version, you can run the following command:
5555

5656
```julia
57-
pkg> add YAXArrays#master
57+
pkg> add YAXArrays#main
5858
```
5959

6060
## Want interoperability?

0 commit comments

Comments
 (0)