summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Boerger <tboerger@suse.de>2016-11-07 15:58:58 +0100
committerThomas Boerger <tboerger@suse.de>2016-11-07 16:10:32 +0100
commit77f9c7e5715024aaf839bfd029eb951fad2e97d5 (patch)
tree7ac20aabf6b13239188d459d0d2d34b9e17ecdc5
parente378648c79489e0e65e0a4e1a1b3e0b1ad1f554f (diff)
downloadgitea-77f9c7e5715024aaf839bfd029eb951fad2e97d5.tar.gz
gitea-77f9c7e5715024aaf839bfd029eb951fad2e97d5.zip
Fixed links to sdk docs
-rw-r--r--modules/base/base.go2
-rw-r--r--routers/repo/webhook.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/base/base.go b/modules/base/base.go
index 28e3c274d0..5c5632dee8 100644
--- a/modules/base/base.go
+++ b/modules/base/base.go
@@ -4,7 +4,7 @@
package base
-const DocURL = "https://godoc.org/github.com/go-gitea/go-sdk"
+const DocURL = "https://godoc.org/github.com/go-gitea/go-sdk/gitea"
type (
TplName string
diff --git a/routers/repo/webhook.go b/routers/repo/webhook.go
index 77da3ea480..aae3231b36 100644
--- a/routers/repo/webhook.go
+++ b/routers/repo/webhook.go
@@ -32,7 +32,7 @@ func Webhooks(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings.hooks")
ctx.Data["PageIsSettingsHooks"] = true
ctx.Data["BaseLink"] = ctx.Repo.RepoLink
- ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://github.com/gogits/go-gogs-client/wiki/Repositories-Webhooks")
+ ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://godoc.org/github.com/go-gitea/go-sdk/gitea")
ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID)
if err != nil {