From 7d36eaa4099c8d4b8937b79e03eb7cd42e26535d Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sat, 3 Apr 2021 09:55:20 +0800 Subject: [PATCH] Adjust links in generated files to point to 'main' branch --- src/mako/api/lib/lib.mako | 2 +- src/mako/lib/util.mako | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mako/api/lib/lib.mako b/src/mako/api/lib/lib.mako index 6f5f318df5..078728d0da 100644 --- a/src/mako/api/lib/lib.mako +++ b/src/mako/api/lib/lib.mako @@ -323,7 +323,7 @@ The **${util.library_name()}** library was generated by ${put_and(copyright.auth under the *${copyright.license_abbrev}* license. You can read the full text at the repository's [license file][repo-license]. -[repo-license]: ${cargo.repo_base_url + 'blob/master/LICENSE.md'} +[repo-license]: ${cargo.repo_base_url + 'blob/main/LICENSE.md'} diff --git a/src/mako/lib/util.mako b/src/mako/lib/util.mako index e8e2d57d2b..c34fb8cfe4 100644 --- a/src/mako/lib/util.mako +++ b/src/mako/lib/util.mako @@ -16,7 +16,7 @@ ${v[1:]}\ <%def name="github_source_root_url()" buffered="True">\ -${cargo.repo_base_url}/tree/master/${directories.output}/${util.target_directory_name(name, version, make.target_suffix)}\ +${cargo.repo_base_url}/tree/main/${directories.output}/${util.target_directory_name(name, version, make.target_suffix)}\ <%def name="library_name()" buffered="True">\