aboutsummaryrefslogtreecommitdiffstats
path: root/templates/package/shared
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-08-27 19:59:12 +0800
committerGitHub <noreply@github.com>2023-08-27 11:59:12 +0000
commit476b9d1589248b7bca6fb0f01825bd6955318cb3 (patch)
tree55edc01e26397829c48e734c3af993d98439e729 /templates/package/shared
parente0a796a6410f7a540e2bc16ac5e386305c9321d1 (diff)
downloadgitea-476b9d1589248b7bca6fb0f01825bd6955318cb3.tar.gz
gitea-476b9d1589248b7bca6fb0f01825bd6955318cb3.zip
Use docs.gitea.com instead of docs.gitea.io (#26739)
Diffstat (limited to 'templates/package/shared')
-rw-r--r--templates/package/shared/cargo.tmpl2
-rw-r--r--templates/package/shared/list.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/package/shared/cargo.tmpl b/templates/package/shared/cargo.tmpl
index 4e26df2909..8831cd8988 100644
--- a/templates/package/shared/cargo.tmpl
+++ b/templates/package/shared/cargo.tmpl
@@ -18,7 +18,7 @@
<button class="ui green button">{{$.locale.Tr "packages.owner.settings.cargo.rebuild"}}</button>
</form>
<div class="field">
- <label>{{.locale.Tr "packages.registry.documentation" "Cargo" "https://docs.gitea.io/en-us/usage/packages/cargo/" | Safe}}</label>
+ <label>{{.locale.Tr "packages.registry.documentation" "Cargo" "https://docs.gitea.com/usage/packages/cargo/" | Safe}}</label>
</div>
</div>
</div>
diff --git a/templates/package/shared/list.tmpl b/templates/package/shared/list.tmpl
index d2370b1208..7cc11b073e 100644
--- a/templates/package/shared/list.tmpl
+++ b/templates/package/shared/list.tmpl
@@ -43,7 +43,7 @@
{{$packagesUrl := URLJoin .Owner.HomeLink "-" "packages"}}
<p>{{.locale.Tr "packages.empty.repo" $packagesUrl | Safe}}</p>
{{end}}
- <p>{{.locale.Tr "packages.empty.documentation" "https://docs.gitea.io/en-us/usage/packages/overview/" | Safe}}</p>
+ <p>{{.locale.Tr "packages.empty.documentation" "https://docs.gitea.com/usage/packages/overview/" | Safe}}</p>
</div>
{{else}}
<p>{{.locale.Tr "packages.filter.no_result"}}</p>