Skip to content

Commit 29902d7

Browse files
authored
MAINT: changes related to default branch renaming (#64)
* Update master->main for CI configuration. * Update binder and sphinx theme. * Update doc references to master.
1 parent 5940d38 commit 29902d7

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ workflows:
7676
- build-docs
7777
filters:
7878
branches:
79-
only: master
79+
only: main

content/tutorial-style-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Avoid abstraction. "About" is a tipoff: Rather than writing "You'll learn about
8585

8686
## Avoid asides
8787

88-
As explained by master documentation writer [Daniele Procida](https://documentation.divio.com/tutorials):
88+
As explained by expert documentation writer [Daniele Procida](https://documentation.divio.com/tutorials):
8989

9090
> Don’t explain anything the learner doesn’t need to know in order to complete the tutorial.
9191

site/conf.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Configuration file for the Sphinx documentation builder.
22
#
3-
# This file only contains a selection of the most common options. For a full
4-
# list see the documentation:
5-
# https://www.sphinx-doc.org/en/master/usage/configuration.html
6-
73
# -- Path setup --------------------------------------------------------------
84

95
# If extensions (or modules to document with autodoc) are in another directory,
@@ -56,7 +52,7 @@
5652
html_theme_options = {
5753
"github_url": "https://github.com/numpy/numpy-tutorials/",
5854
"repository_url": "https://github.com/numpy/numpy-tutorials/",
59-
"repository_branch": "master",
55+
"repository_branch": "main",
6056
"use_repository_button": True,
6157
"use_issues_button": True,
6258
"use_edit_page_button": True,

site/index.md

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

33
[![Binder](https://mybinder.org/badge_logo.svg)][launch_binder]
44

5-
[launch_binder]: https://mybinder.org/v2/gh/numpy/numpy-tutorials/master?urlpath=lab/tree/content
5+
[launch_binder]: https://mybinder.org/v2/gh/numpy/numpy-tutorials/main?urlpath=lab/tree/content
66

77
This set of tutorials and educational materials is being developed,
88
IT IS NOT INTEGRATED IN THE HTML DOCS AT <https://www.numpy.org/devdocs/>

0 commit comments

Comments
 (0)