Adjust links in generated files to point to 'main' branch

This commit is contained in:
Sebastian Thiel
2021-04-03 09:55:20 +08:00
parent ba79f8117f
commit 7d36eaa409
2 changed files with 2 additions and 2 deletions

View File

@@ -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'}
</%def>

View File

@@ -16,7 +16,7 @@ ${v[1:]}\
</%def>
<%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>
<%def name="library_name()" buffered="True">\