diff options
author | Thomas Boerger <tboerger@suse.de> | 2016-11-07 15:58:58 +0100 |
---|---|---|
committer | Thomas Boerger <tboerger@suse.de> | 2016-11-07 16:10:32 +0100 |
commit | 77f9c7e5715024aaf839bfd029eb951fad2e97d5 (patch) | |
tree | 7ac20aabf6b13239188d459d0d2d34b9e17ecdc5 | |
parent | e378648c79489e0e65e0a4e1a1b3e0b1ad1f554f (diff) | |
download | gitea-77f9c7e5715024aaf839bfd029eb951fad2e97d5.tar.gz gitea-77f9c7e5715024aaf839bfd029eb951fad2e97d5.zip |
Fixed links to sdk docs
-rw-r--r-- | modules/base/base.go | 2 | ||||
-rw-r--r-- | routers/repo/webhook.go | 2 |
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 { |