diff options
author | Bagas Sanjaya <bagasdotme@gmail.com> | 2020-09-27 09:10:41 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-26 22:10:41 -0400 |
commit | fb467c7e742f61bf3774f9e69445add1ab3a73e0 (patch) | |
tree | b9450041da1890e12cc616184353daa02081a310 /templates/user | |
parent | b49ebc2ba805909d024f3cb96fa52251ad838ce9 (diff) | |
download | gitea-fb467c7e742f61bf3774f9e69445add1ab3a73e0.tar.gz gitea-fb467c7e742f61bf3774f9e69445add1ab3a73e0.zip |
Update GitHub docs links for SSH & GPG (#12947)
The links now redirected to docs.github.com. `common SSH problems` link
is misredirected to `Authenticating to GitHub` page, so it has been
corrected to the proper `troubleshooting SSH` page.
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/settings/keys_gpg.tmpl | 2 | ||||
-rw-r--r-- | templates/user/settings/keys_ssh.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/user/settings/keys_gpg.tmpl b/templates/user/settings/keys_gpg.tmpl index 332f864dcf..5cde1d214d 100644 --- a/templates/user/settings/keys_gpg.tmpl +++ b/templates/user/settings/keys_gpg.tmpl @@ -36,7 +36,7 @@ </div> </div> <br> -<p>{{.i18n.Tr "settings.gpg_helper" "https://help.github.com/articles/about-gpg/" | Str2html}}</p> +<p>{{.i18n.Tr "settings.gpg_helper" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/about-commit-signature-verification#gpg-commit-signature-verification" | Str2html}}</p> <div {{if not .HasGPGError}}class="hide"{{end}} id="add-gpg-key-panel"> <h4 class="ui top attached header"> {{.i18n.Tr "settings.add_new_gpg_key"}} diff --git a/templates/user/settings/keys_ssh.tmpl b/templates/user/settings/keys_ssh.tmpl index e5b42f4174..3d41f33595 100644 --- a/templates/user/settings/keys_ssh.tmpl +++ b/templates/user/settings/keys_ssh.tmpl @@ -37,7 +37,7 @@ </div> </div> <br> -<p>{{.i18n.Tr "settings.ssh_helper" "https://help.github.com/articles/generating-ssh-keys" "https://help.github.com/ssh-issues/" | Str2html}}</p> +<p>{{.i18n.Tr "settings.ssh_helper" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/connecting-to-github-with-ssh" "https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/troubleshooting-ssh" | Str2html}}</p> <div {{if not .HasSSHError}}class="hide"{{end}} id="add-ssh-key-panel"> <h4 class="ui top attached header"> {{.i18n.Tr "settings.add_new_key"}} |