From fb467c7e742f61bf3774f9e69445add1ab3a73e0 Mon Sep 17 00:00:00 2001 From: Bagas Sanjaya Date: Sun, 27 Sep 2020 09:10:41 +0700 Subject: [PATCH] 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 Co-authored-by: techknowlogick --- templates/user/settings/keys_gpg.tmpl | 2 +- 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 332f864dc..5cde1d214 100644 --- a/templates/user/settings/keys_gpg.tmpl +++ b/templates/user/settings/keys_gpg.tmpl @@ -36,7 +36,7 @@
-

{{.i18n.Tr "settings.gpg_helper" "https://help.github.com/articles/about-gpg/" | Str2html}}

+

{{.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}}

{{.i18n.Tr "settings.add_new_gpg_key"}} diff --git a/templates/user/settings/keys_ssh.tmpl b/templates/user/settings/keys_ssh.tmpl index e5b42f417..3d41f3359 100644 --- a/templates/user/settings/keys_ssh.tmpl +++ b/templates/user/settings/keys_ssh.tmpl @@ -37,7 +37,7 @@


-

{{.i18n.Tr "settings.ssh_helper" "https://help.github.com/articles/generating-ssh-keys" "https://help.github.com/ssh-issues/" | Str2html}}

+

{{.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}}

{{.i18n.Tr "settings.add_new_key"}}