Fixed links to sdk docs

release/v1.15
Thomas Boerger 2016-11-07 15:58:58 +01:00
parent e378648c79
commit 77f9c7e571
No known key found for this signature in database
GPG Key ID: 5A388F55283960B6
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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 {