From 77f9c7e5715024aaf839bfd029eb951fad2e97d5 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Mon, 7 Nov 2016 15:58:58 +0100 Subject: [PATCH] Fixed links to sdk docs --- modules/base/base.go | 2 +- 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 {