Skip to content

Commit 7badd90

Browse files
committed
Fix edit this page on GitHub link
Change master to main.
1 parent abf4454 commit 7badd90

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
""".format(release_date)
3333

3434
edit_on_github_project = 'nginx/unit-docs'
35-
edit_on_github_branch = 'master'
35+
edit_on_github_branch = 'main'
3636

3737
exclude_patterns = ['include']
3838
suppress_warnings = ['misc.highlighting_failure']

source/exts/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ def setup(app):
4444
"""Connects the extension to the app."""
4545

4646
app.add_config_value("edit_on_github_project", "", True)
47-
app.add_config_value("edit_on_github_branch", "master", True)
47+
app.add_config_value("edit_on_github_branch", "main", True)
4848

4949
app.connect("html-page-context", html_page_context)

0 commit comments

Comments
 (0)