doc: link-roles: fix :zephyr_file: default revision
This needs to use 'main' for its default now. Without this patch, GitHub redirects to main, but displays a banner that says 'Branch not found, redirected to default branch' at the top. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
5a9e9e8fd1
commit
095c9a3e92
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def get_github_rev():
|
|||
if tag:
|
||||
return tag.decode("utf-8")
|
||||
else:
|
||||
return 'master'
|
||||
return 'main'
|
||||
|
||||
|
||||
def setup(app):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue