Skip to content

Commit ea81d03

Browse files
authored
Merge pull request #38 from pllim/replace-with-main
MNT: Replace master with main
2 parents b544901 + c64d536 commit ea81d03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)