Skip to content

Commit 36ef43b

Browse files
committed
MNT: Replace master with main
1 parent b544901 commit 36ef43b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sphinx_astropy/conf/v1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def check_sphinx_version(expected_version):
6969
# The encoding of source files.
7070
#source_encoding = 'utf-8-sig'
7171

72-
# The master toctree document.
73-
master_doc = 'index'
72+
# The main toctree document.
73+
main_doc = 'index'
7474

7575
# The reST default role (used for this markup: `text`) to use for all
7676
# documents. Set to the "smart" one.

sphinx_astropy/ext/edit_on_github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* ``edit_on_github_branch``
1717
The name of the branch to edit. If this is a released version,
1818
this should be a git tag referring to that version. For a
19-
dev version, it often makes sense for it to be "master". It
19+
dev version, it often makes sense for it to be "main". It
2020
may also be a git hash.
2121
2222
* ``edit_on_github_source_root``
@@ -149,7 +149,7 @@ def html_page_context(app, pagename, templatename, context, doctree):
149149
def setup(app):
150150

151151
app.add_config_value('edit_on_github_project', 'REQUIRED', True)
152-
app.add_config_value('edit_on_github_branch', 'master', True)
152+
app.add_config_value('edit_on_github_branch', 'main', True)
153153
app.add_config_value('edit_on_github_source_root', 'lib', True)
154154
app.add_config_value('edit_on_github_doc_root', 'doc', True)
155155
app.add_config_value('edit_on_github_docstring_message',

0 commit comments

Comments
 (0)