aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2023-04-27 22:33:41 -0500
committerGitHub <noreply@github.com>2023-04-28 11:33:41 +0800
commitbb25f85ce8f559fa3e9f462ad1027b5b5a8e2da3 (patch)
tree3447bb1fc8d376cd401b2491be7d4d2aed314913 /docs/content
parent83022013c83feb5488952baea3ef0be818dfce21 (diff)
downloadgitea-bb25f85ce8f559fa3e9f462ad1027b5b5a8e2da3.tar.gz
gitea-bb25f85ce8f559fa3e9f462ad1027b5b5a8e2da3.zip
Refactor docs (#23752)
This was intended to be a small followup for https://github.com/go-gitea/gitea/pull/23712, but...here we are. 1. Our docs currently use `slug` as the entire URL, which makes refactoring tricky (see https://github.com/go-gitea/gitea/pull/23712). Instead, this PR attempts to make future refactoring easier by using slugs as an extension of the section. (Hugo terminology) - What the above boils down to is this PR attempts to use directory organization as URL management. e.g. `usage/comparison.en-us.md` -> `en-us/usage/comparison/`, `usage/packages/overview.en-us.md` -> `en-us/usage/packages/overview/` - Technically we could even remove `slug`, as Hugo defaults to using filename, however at least with this PR it means `slug` only needs to be the name for the **current file** rather than an entire URL 2. This PR adds appropriate aliases (redirects) for pages, so anything on the internet that links to our docs should hopefully not break. 3. A minor nit I've had for a while, renaming `seek-help` to `support`. It's a minor thing, but `seek-help` has a strange connotation to it. 4. The commits are split such that you can review the first which is the "actual" change, and the second is added redirects so that the first doesn't break links elsewhere. --------- Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/doc/administration/_index.en-us.md0
-rw-r--r--docs/content/doc/administration/_index.zh-cn.md0
-rw-r--r--docs/content/doc/administration/_index.zh-tw.md0
-rw-r--r--docs/content/doc/administration/adding-legal-pages.en-us.md2
-rw-r--r--docs/content/doc/administration/backup-and-restore.en-us.md2
-rw-r--r--docs/content/doc/administration/backup-and-restore.zh-cn.md2
-rw-r--r--docs/content/doc/administration/backup-and-restore.zh-tw.md2
-rw-r--r--docs/content/doc/administration/cmd-embedded.en-us.md2
-rw-r--r--docs/content/doc/administration/command-line.en-us.md2
-rw-r--r--docs/content/doc/administration/config-cheat-sheet.en-us.md2
-rw-r--r--docs/content/doc/administration/config-cheat-sheet.zh-cn.md2
-rw-r--r--docs/content/doc/administration/customizing-gitea.en-us.md2
-rw-r--r--docs/content/doc/administration/customizing-gitea.zh-cn.md2
-rw-r--r--docs/content/doc/administration/email-setup.en-us.md2
-rw-r--r--docs/content/doc/administration/environment-variables.en-us.md2
-rw-r--r--docs/content/doc/administration/environment-variables.zh-cn.md2
-rw-r--r--docs/content/doc/administration/external-renderers.en-us.md2
-rw-r--r--docs/content/doc/administration/fail2ban-setup.en-us.md2
-rw-r--r--docs/content/doc/administration/fail2ban-setup.zh-cn.md2
-rw-r--r--docs/content/doc/administration/git-lfs-support.en-us.md2
-rw-r--r--docs/content/doc/administration/https-support.en-us.md2
-rw-r--r--docs/content/doc/administration/logging-documentation.en-us.md4
-rw-r--r--docs/content/doc/administration/mail-templates.en-us.md2
-rw-r--r--docs/content/doc/administration/repo-indexer.en-us.md2
-rw-r--r--docs/content/doc/administration/reverse-proxies.en-us.md2
-rw-r--r--docs/content/doc/administration/reverse-proxies.zh-cn.md2
-rw-r--r--docs/content/doc/administration/search-engines-indexation.en-us.md2
-rw-r--r--docs/content/doc/administration/signing.en-us.md2
-rw-r--r--docs/content/doc/contributing/_index.de-de.md0
-rw-r--r--docs/content/doc/contributing/_index.en-us.md0
-rw-r--r--docs/content/doc/contributing/_index.zh-cn.md0
-rw-r--r--docs/content/doc/contributing/_index.zh-tw.md0
-rw-r--r--docs/content/doc/contributing/guidelines-backend.en-us.md2
-rw-r--r--docs/content/doc/contributing/guidelines-frontend.en-us.md2
-rw-r--r--docs/content/doc/contributing/guidelines-refactoring.en-us.md2
-rw-r--r--docs/content/doc/contributing/localization.en-us.md2
-rw-r--r--docs/content/doc/contributing/localization.zh-cn.md2
-rw-r--r--docs/content/doc/contributing/localization.zh-tw.md2
-rw-r--r--docs/content/doc/development/_index.en-us.md0
-rw-r--r--docs/content/doc/development/_index.zh-cn.md0
-rw-r--r--docs/content/doc/development/_index.zh-tw.md0
-rw-r--r--docs/content/doc/development/api-usage.en-us.md2
-rw-r--r--docs/content/doc/development/api-usage.zh-cn.md2
-rw-r--r--docs/content/doc/development/hacking-on-gitea.en-us.md2
-rw-r--r--docs/content/doc/development/hacking-on-gitea.zh-cn.md2
-rw-r--r--docs/content/doc/development/integrations.en-us.md2
-rw-r--r--docs/content/doc/development/integrations.zh-tw.md2
-rw-r--r--docs/content/doc/development/migrations.en-us.md2
-rw-r--r--docs/content/doc/development/migrations.zh-tw.md2
-rw-r--r--docs/content/doc/development/oauth2-provider.en-us.md2
-rw-r--r--docs/content/doc/development/oauth2-provider.zh-cn.md2
-rw-r--r--docs/content/doc/development/oauth2-provider.zh-tw.md2
-rw-r--r--docs/content/doc/help/_index.en-us.md0
-rw-r--r--docs/content/doc/help/_index.zh-cn.md0
-rw-r--r--docs/content/doc/help/_index.zh-tw.md0
-rw-r--r--docs/content/doc/help/faq.en-us.md6
-rw-r--r--docs/content/doc/help/support.en-us.md (renamed from docs/content/doc/help/seek-help.en-us.md)6
-rw-r--r--docs/content/doc/help/support.zh-cn.md (renamed from docs/content/doc/help/seek-help.zh-cn.md)6
-rw-r--r--docs/content/doc/help/support.zh-tw.md (renamed from docs/content/doc/help/seek-help.zh-tw.md)6
-rw-r--r--docs/content/doc/installation/_index.en-us.md0
-rw-r--r--docs/content/doc/installation/_index.fr-fr.md0
-rw-r--r--docs/content/doc/installation/_index.zh-cn.md0
-rw-r--r--docs/content/doc/installation/_index.zh-tw.md0
-rw-r--r--docs/content/doc/installation/comparison.en-us.md2
-rw-r--r--docs/content/doc/installation/comparison.zh-cn.md2
-rw-r--r--docs/content/doc/installation/comparison.zh-tw.md2
-rw-r--r--docs/content/doc/installation/database-preparation.en-us.md2
-rw-r--r--docs/content/doc/installation/from-binary.en-us.md2
-rw-r--r--docs/content/doc/installation/from-binary.fr-fr.md2
-rw-r--r--docs/content/doc/installation/from-binary.zh-cn.md4
-rw-r--r--docs/content/doc/installation/from-binary.zh-tw.md2
-rw-r--r--docs/content/doc/installation/from-package.en-us.md2
-rw-r--r--docs/content/doc/installation/from-package.fr-fr.md2
-rw-r--r--docs/content/doc/installation/from-package.zh-cn.md4
-rw-r--r--docs/content/doc/installation/from-package.zh-tw.md2
-rw-r--r--docs/content/doc/installation/from-source.en-us.md2
-rw-r--r--docs/content/doc/installation/from-source.fr-fr.md2
-rw-r--r--docs/content/doc/installation/from-source.zh-cn.md4
-rw-r--r--docs/content/doc/installation/from-source.zh-tw.md2
-rw-r--r--docs/content/doc/installation/on-cloud-provider.en-us.md2
-rw-r--r--docs/content/doc/installation/on-kubernetes.en-us.md2
-rw-r--r--docs/content/doc/installation/on-kubernetes.zh-cn.md2
-rw-r--r--docs/content/doc/installation/on-kubernetes.zh-tw.md2
-rw-r--r--docs/content/doc/installation/run-as-service-in-ubuntu.en-us.md2
-rw-r--r--docs/content/doc/installation/run-as-service-in-ubuntu.zh-cn.md2
-rw-r--r--docs/content/doc/installation/run-as-service-in-ubuntu.zh-tw.md2
-rw-r--r--docs/content/doc/installation/upgrade-from-gitea.en-us.md2
-rw-r--r--docs/content/doc/installation/upgrade-from-gogs.en-us.md2
-rw-r--r--docs/content/doc/installation/upgrade-from-gogs.fr-fr.md2
-rw-r--r--docs/content/doc/installation/upgrade-from-gogs.zh-cn.md2
-rw-r--r--docs/content/doc/installation/upgrade-from-gogs.zh-tw.md2
-rw-r--r--docs/content/doc/installation/windows-service.en-us.md2
-rw-r--r--docs/content/doc/installation/windows-service.fr-fr.md2
-rw-r--r--docs/content/doc/installation/windows-service.zh-cn.md2
-rw-r--r--docs/content/doc/installation/windows-service.zh-tw.md2
-rw-r--r--docs/content/doc/installation/with-docker-rootless.en-us.md2
-rw-r--r--docs/content/doc/installation/with-docker.en-us.md2
-rw-r--r--docs/content/doc/installation/with-docker.fr-fr.md2
-rw-r--r--docs/content/doc/installation/with-docker.zh-cn.md2
-rw-r--r--docs/content/doc/installation/with-docker.zh-tw.md2
-rw-r--r--docs/content/doc/search.de-de.md (renamed from docs/content/doc/help/search.de-de.md)2
-rw-r--r--docs/content/doc/search.en-us.md (renamed from docs/content/doc/help/search.en-us.md)2
-rw-r--r--docs/content/doc/search.fr-fr.md (renamed from docs/content/doc/help/search.fr-fr.md)2
-rw-r--r--docs/content/doc/search.nl-nl.md (renamed from docs/content/doc/help/search.nl-nl.md)2
-rw-r--r--docs/content/doc/search.pt-br.md (renamed from docs/content/doc/help/search.pt-br.md)2
-rw-r--r--docs/content/doc/search.zh-cn.md (renamed from docs/content/doc/help/search.zh-cn.md)2
-rw-r--r--docs/content/doc/search.zh-tw.md (renamed from docs/content/doc/help/search.zh-tw.md)2
-rw-r--r--docs/content/doc/usage/_index.en-us.md0
-rw-r--r--docs/content/doc/usage/_index.zh-cn.md0
-rw-r--r--docs/content/doc/usage/_index.zh-tw.md0
-rw-r--r--docs/content/doc/usage/agit-support.en-us.md2
-rw-r--r--docs/content/doc/usage/authentication.en-us.md2
-rw-r--r--docs/content/doc/usage/authentication.zh-cn.md2
-rw-r--r--docs/content/doc/usage/authentication.zh-tw.md2
-rw-r--r--docs/content/doc/usage/clone-filter.en-us.md2
-rw-r--r--docs/content/doc/usage/incoming-email.en-us.md2
-rw-r--r--docs/content/doc/usage/issue-pull-request-templates.en-us.md2
-rw-r--r--docs/content/doc/usage/issue-pull-request-templates.zh-cn.md2
-rw-r--r--docs/content/doc/usage/labels.en-us.md2
-rw-r--r--docs/content/doc/usage/linked-references.en-us.md2
-rw-r--r--docs/content/doc/usage/merge-message-templates.en-us.md2
-rw-r--r--docs/content/doc/usage/packages/_index.en-us.md0
-rw-r--r--docs/content/doc/usage/packages/cargo.en-us.md (renamed from docs/content/doc/packages/cargo.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/chef.en-us.md (renamed from docs/content/doc/packages/chef.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/composer.en-us.md (renamed from docs/content/doc/packages/composer.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/conan.en-us.md (renamed from docs/content/doc/packages/conan.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/conda.en-us.md (renamed from docs/content/doc/packages/conda.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/container.en-us.md (renamed from docs/content/doc/packages/container.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/generic.en-us.md (renamed from docs/content/doc/packages/generic.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/helm.en-us.md (renamed from docs/content/doc/packages/helm.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/maven.en-us.md (renamed from docs/content/doc/packages/maven.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/npm.en-us.md (renamed from docs/content/doc/packages/npm.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/nuget.en-us.md (renamed from docs/content/doc/packages/nuget.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/overview.en-us.md (renamed from docs/content/doc/packages/overview.en-us.md)34
-rw-r--r--docs/content/doc/usage/packages/pub.en-us.md (renamed from docs/content/doc/packages/pub.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/pypi.en-us.md (renamed from docs/content/doc/packages/pypi.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/rubygems.en-us.md (renamed from docs/content/doc/packages/rubygems.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/storage.en-us.md (renamed from docs/content/doc/packages/storage.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/swift.en-us.md (renamed from docs/content/doc/packages/swift.en-us.md)2
-rw-r--r--docs/content/doc/usage/packages/vagrant.en-us.md (renamed from docs/content/doc/packages/vagrant.en-us.md)2
-rw-r--r--docs/content/doc/usage/permissions.en-us.md2
-rw-r--r--docs/content/doc/usage/protected-tags.en-us.md2
-rw-r--r--docs/content/doc/usage/pull-request.en-us.md2
-rw-r--r--docs/content/doc/usage/pull-request.zh-cn.md2
-rw-r--r--docs/content/doc/usage/pull-request.zh-tw.md2
-rw-r--r--docs/content/doc/usage/push.en-us.md3
-rw-r--r--docs/content/doc/usage/push.zh-tw.md2
-rw-r--r--docs/content/doc/usage/repo-mirror.en-us.md2
-rw-r--r--docs/content/doc/usage/secrets.en-us.md4
-rw-r--r--docs/content/doc/usage/template-repositories.en-us.md2
-rw-r--r--docs/content/doc/usage/webhooks.en-us.md2
-rw-r--r--docs/content/doc/usage/webhooks.zh-cn.md2
-rw-r--r--docs/content/doc/usage/webhooks.zh-tw.md2
-rw-r--r--docs/content/page/index.zh-cn.md2
154 files changed, 277 insertions, 48 deletions
diff --git a/docs/content/doc/administration/_index.en-us.md b/docs/content/doc/administration/_index.en-us.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/administration/_index.en-us.md
diff --git a/docs/content/doc/administration/_index.zh-cn.md b/docs/content/doc/administration/_index.zh-cn.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/administration/_index.zh-cn.md
diff --git a/docs/content/doc/administration/_index.zh-tw.md b/docs/content/doc/administration/_index.zh-tw.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/administration/_index.zh-tw.md
diff --git a/docs/content/doc/administration/adding-legal-pages.en-us.md b/docs/content/doc/administration/adding-legal-pages.en-us.md
index 48aa21154c..6de145ce09 100644
--- a/docs/content/doc/administration/adding-legal-pages.en-us.md
+++ b/docs/content/doc/administration/adding-legal-pages.en-us.md
@@ -5,6 +5,8 @@ slug: adding-legal-pages
weight: 110
toc: false
draft: false
+aliases:
+ - /en-us/adding-legal-pages
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/backup-and-restore.en-us.md b/docs/content/doc/administration/backup-and-restore.en-us.md
index b1e5a6aee0..7dee038b57 100644
--- a/docs/content/doc/administration/backup-and-restore.en-us.md
+++ b/docs/content/doc/administration/backup-and-restore.en-us.md
@@ -5,6 +5,8 @@ slug: "backup-and-restore"
weight: 11
toc: false
draft: false
+aliases:
+ - /en-us/backup-and-restore
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/backup-and-restore.zh-cn.md b/docs/content/doc/administration/backup-and-restore.zh-cn.md
index 602657f419..1a8f620a8d 100644
--- a/docs/content/doc/administration/backup-and-restore.zh-cn.md
+++ b/docs/content/doc/administration/backup-and-restore.zh-cn.md
@@ -5,6 +5,8 @@ slug: "backup-and-restore"
weight: 11
toc: false
draft: false
+aliases:
+ - /zh-cn/backup-and-restore
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/backup-and-restore.zh-tw.md b/docs/content/doc/administration/backup-and-restore.zh-tw.md
index cab95217a3..07b9b0726b 100644
--- a/docs/content/doc/administration/backup-and-restore.zh-tw.md
+++ b/docs/content/doc/administration/backup-and-restore.zh-tw.md
@@ -5,6 +5,8 @@ slug: "backup-and-restore"
weight: 11
toc: false
draft: false
+aliases:
+ - /zh-tw/backup-and-restore
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/cmd-embedded.en-us.md b/docs/content/doc/administration/cmd-embedded.en-us.md
index 229a1c01d6..e418138ed7 100644
--- a/docs/content/doc/administration/cmd-embedded.en-us.md
+++ b/docs/content/doc/administration/cmd-embedded.en-us.md
@@ -5,6 +5,8 @@ slug: "cmd-embedded"
weight: 20
toc: false
draft: false
+aliases:
+ - /en-us/cmd-embedded
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/command-line.en-us.md b/docs/content/doc/administration/command-line.en-us.md
index 4d01d6e640..bf4578afec 100644
--- a/docs/content/doc/administration/command-line.en-us.md
+++ b/docs/content/doc/administration/command-line.en-us.md
@@ -5,6 +5,8 @@ slug: "command-line"
weight: 1
toc: false
draft: false
+aliases:
+ - /en-us/command-line
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/config-cheat-sheet.en-us.md b/docs/content/doc/administration/config-cheat-sheet.en-us.md
index be97edadb5..03cd93f91e 100644
--- a/docs/content/doc/administration/config-cheat-sheet.en-us.md
+++ b/docs/content/doc/administration/config-cheat-sheet.en-us.md
@@ -5,6 +5,8 @@ slug: "config-cheat-sheet"
weight: 30
toc: false
draft: false
+aliases:
+ - /en-us/config-cheat-sheet
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/config-cheat-sheet.zh-cn.md b/docs/content/doc/administration/config-cheat-sheet.zh-cn.md
index 485d106234..eb015908bb 100644
--- a/docs/content/doc/administration/config-cheat-sheet.zh-cn.md
+++ b/docs/content/doc/administration/config-cheat-sheet.zh-cn.md
@@ -5,6 +5,8 @@ slug: "config-cheat-sheet"
weight: 30
toc: false
draft: false
+aliases:
+ - /zh-cn/config-cheat-sheet
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/customizing-gitea.en-us.md b/docs/content/doc/administration/customizing-gitea.en-us.md
index db31dc949b..54ce2a715f 100644
--- a/docs/content/doc/administration/customizing-gitea.en-us.md
+++ b/docs/content/doc/administration/customizing-gitea.en-us.md
@@ -5,6 +5,8 @@ slug: "customizing-gitea"
weight: 100
toc: false
draft: false
+aliases:
+ - /en-us/customizing-gitea
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/customizing-gitea.zh-cn.md b/docs/content/doc/administration/customizing-gitea.zh-cn.md
index 38729153f5..47230ddeb2 100644
--- a/docs/content/doc/administration/customizing-gitea.zh-cn.md
+++ b/docs/content/doc/administration/customizing-gitea.zh-cn.md
@@ -5,6 +5,8 @@ slug: "customizing-gitea"
weight: 100
toc: false
draft: false
+aliases:
+ - /zh-cn/customizing-gitea
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/email-setup.en-us.md b/docs/content/doc/administration/email-setup.en-us.md
index b8a3324f16..92ec95cce4 100644
--- a/docs/content/doc/administration/email-setup.en-us.md
+++ b/docs/content/doc/administration/email-setup.en-us.md
@@ -5,6 +5,8 @@ slug: "email-setup"
weight: 12
toc: false
draft: false
+aliases:
+ - /en-us/email-setup
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/environment-variables.en-us.md b/docs/content/doc/administration/environment-variables.en-us.md
index 83ff6f359a..92dbeb80c6 100644
--- a/docs/content/doc/administration/environment-variables.en-us.md
+++ b/docs/content/doc/administration/environment-variables.en-us.md
@@ -5,6 +5,8 @@ slug: "environment-variables"
weight: 10
toc: false
draft: false
+aliases:
+ - /en-us/environment-variables
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/environment-variables.zh-cn.md b/docs/content/doc/administration/environment-variables.zh-cn.md
index e148838581..cbc9787c35 100644
--- a/docs/content/doc/administration/environment-variables.zh-cn.md
+++ b/docs/content/doc/administration/environment-variables.zh-cn.md
@@ -5,6 +5,8 @@ slug: "environment-variables"
weight: 10
toc: false
draft: false
+aliases:
+ - /zh-cn/environment-variables
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/external-renderers.en-us.md b/docs/content/doc/administration/external-renderers.en-us.md
index a62c20e326..5e64bb847f 100644
--- a/docs/content/doc/administration/external-renderers.en-us.md
+++ b/docs/content/doc/administration/external-renderers.en-us.md
@@ -5,6 +5,8 @@ slug: "external-renderers"
weight: 60
toc: false
draft: false
+aliases:
+ - /en-us/external-renderers
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/fail2ban-setup.en-us.md b/docs/content/doc/administration/fail2ban-setup.en-us.md
index 420c6ae549..1638e0dd1f 100644
--- a/docs/content/doc/administration/fail2ban-setup.en-us.md
+++ b/docs/content/doc/administration/fail2ban-setup.en-us.md
@@ -5,6 +5,8 @@ slug: "fail2ban-setup"
weight: 16
toc: false
draft: false
+aliases:
+ - /en-us/fail2ban-setup
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/fail2ban-setup.zh-cn.md b/docs/content/doc/administration/fail2ban-setup.zh-cn.md
index 920d3f4af2..f4f3cff4ca 100644
--- a/docs/content/doc/administration/fail2ban-setup.zh-cn.md
+++ b/docs/content/doc/administration/fail2ban-setup.zh-cn.md
@@ -5,6 +5,8 @@ slug: "fail2ban-setup"
weight: 16
toc: false
draft: false
+aliases:
+ - /zh-cn/fail2ban-setup
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/git-lfs-support.en-us.md b/docs/content/doc/administration/git-lfs-support.en-us.md
index 95f4b95887..884b19896a 100644
--- a/docs/content/doc/administration/git-lfs-support.en-us.md
+++ b/docs/content/doc/administration/git-lfs-support.en-us.md
@@ -5,6 +5,8 @@ slug: "git-lfs-setup"
weight: 12
toc: false
draft: false
+aliases:
+ - /en-us/git-lfs-setup
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/https-support.en-us.md b/docs/content/doc/administration/https-support.en-us.md
index f5cd286823..d59ae2e8ee 100644
--- a/docs/content/doc/administration/https-support.en-us.md
+++ b/docs/content/doc/administration/https-support.en-us.md
@@ -5,6 +5,8 @@ slug: "https-setup"
weight: 12
toc: false
draft: false
+aliases:
+ - /en-us/https-setup
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/logging-documentation.en-us.md b/docs/content/doc/administration/logging-documentation.en-us.md
index 029eb5de09..3b2bf80769 100644
--- a/docs/content/doc/administration/logging-documentation.en-us.md
+++ b/docs/content/doc/administration/logging-documentation.en-us.md
@@ -5,6 +5,8 @@ slug: "logging-configuration"
weight: 40
toc: false
draft: false
+aliases:
+ - /en-us/logging-configuration
menu:
sidebar:
parent: "administration"
@@ -29,7 +31,7 @@ As mentioned below, there is a fully functional log output by default, so it is
## Collecting Logs for Help
-To collect logs for help and issue report, see [Support Options]({{< relref "doc/help/seek-help.en-us.md" >}}).
+To collect logs for help and issue report, see [Support Options]({{< relref "doc/help/support.en-us.md" >}}).
## The `[log]` section
diff --git a/docs/content/doc/administration/mail-templates.en-us.md b/docs/content/doc/administration/mail-templates.en-us.md
index bc4b2ead30..0740ccaa5f 100644
--- a/docs/content/doc/administration/mail-templates.en-us.md
+++ b/docs/content/doc/administration/mail-templates.en-us.md
@@ -5,6 +5,8 @@ slug: "mail-templates"
weight: 45
toc: false
draft: false
+aliases:
+ - /en-us/mail-templates
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/repo-indexer.en-us.md b/docs/content/doc/administration/repo-indexer.en-us.md
index 11ce547a0d..81d2243476 100644
--- a/docs/content/doc/administration/repo-indexer.en-us.md
+++ b/docs/content/doc/administration/repo-indexer.en-us.md
@@ -5,6 +5,8 @@ slug: "repo-indexer"
weight: 45
toc: false
draft: false
+aliases:
+ - /en-us/repo-indexer
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/reverse-proxies.en-us.md b/docs/content/doc/administration/reverse-proxies.en-us.md
index 5132ee83f1..d11552bb9f 100644
--- a/docs/content/doc/administration/reverse-proxies.en-us.md
+++ b/docs/content/doc/administration/reverse-proxies.en-us.md
@@ -5,6 +5,8 @@ slug: "reverse-proxies"
weight: 16
toc: false
draft: false
+aliases:
+ - /en-us/reverse-proxies
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/reverse-proxies.zh-cn.md b/docs/content/doc/administration/reverse-proxies.zh-cn.md
index e622773df1..6504f7209b 100644
--- a/docs/content/doc/administration/reverse-proxies.zh-cn.md
+++ b/docs/content/doc/administration/reverse-proxies.zh-cn.md
@@ -5,6 +5,8 @@ slug: "reverse-proxies"
weight: 16
toc: false
draft: false
+aliases:
+ - /zh-cn/reverse-proxies
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/search-engines-indexation.en-us.md b/docs/content/doc/administration/search-engines-indexation.en-us.md
index 8c7f79d4b8..27427531ce 100644
--- a/docs/content/doc/administration/search-engines-indexation.en-us.md
+++ b/docs/content/doc/administration/search-engines-indexation.en-us.md
@@ -5,6 +5,8 @@ slug: "search-engines-indexation"
weight: 60
toc: false
draft: false
+aliases:
+ - /en-us/search-engines-indexation
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/administration/signing.en-us.md b/docs/content/doc/administration/signing.en-us.md
index 34580ab428..de539e34b2 100644
--- a/docs/content/doc/administration/signing.en-us.md
+++ b/docs/content/doc/administration/signing.en-us.md
@@ -5,6 +5,8 @@ slug: "signing"
weight: 50
toc: false
draft: false
+aliases:
+ - /en-us/signing
menu:
sidebar:
parent: "administration"
diff --git a/docs/content/doc/contributing/_index.de-de.md b/docs/content/doc/contributing/_index.de-de.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/contributing/_index.de-de.md
diff --git a/docs/content/doc/contributing/_index.en-us.md b/docs/content/doc/contributing/_index.en-us.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/contributing/_index.en-us.md
diff --git a/docs/content/doc/contributing/_index.zh-cn.md b/docs/content/doc/contributing/_index.zh-cn.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/contributing/_index.zh-cn.md
diff --git a/docs/content/doc/contributing/_index.zh-tw.md b/docs/content/doc/contributing/_index.zh-tw.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/contributing/_index.zh-tw.md
diff --git a/docs/content/doc/contributing/guidelines-backend.en-us.md b/docs/content/doc/contributing/guidelines-backend.en-us.md
index 6ae0ba517d..fd0f8b0830 100644
--- a/docs/content/doc/contributing/guidelines-backend.en-us.md
+++ b/docs/content/doc/contributing/guidelines-backend.en-us.md
@@ -5,6 +5,8 @@ slug: "guidelines-backend"
weight: 20
toc: false
draft: false
+aliases:
+ - /en-us/guidelines-backend
menu:
sidebar:
parent: "contributing"
diff --git a/docs/content/doc/contributing/guidelines-frontend.en-us.md b/docs/content/doc/contributing/guidelines-frontend.en-us.md
index bde7d31510..39a70eee97 100644
--- a/docs/content/doc/contributing/guidelines-frontend.en-us.md
+++ b/docs/content/doc/contributing/guidelines-frontend.en-us.md
@@ -5,6 +5,8 @@ slug: "guidelines-frontend"
weight: 20
toc: false
draft: false
+aliases:
+ - /en-us/guidelines-frontend
menu:
sidebar:
parent: "contributing"
diff --git a/docs/content/doc/contributing/guidelines-refactoring.en-us.md b/docs/content/doc/contributing/guidelines-refactoring.en-us.md
index 913ce8d9bb..c8c8ee0ee1 100644
--- a/docs/content/doc/contributing/guidelines-refactoring.en-us.md
+++ b/docs/content/doc/contributing/guidelines-refactoring.en-us.md
@@ -5,6 +5,8 @@ slug: "guidelines-refactoring"
weight: 20
toc: false
draft: false
+aliases:
+ - /en-us/guidelines-refactoring
menu:
sidebar:
parent: "contributing"
diff --git a/docs/content/doc/contributing/localization.en-us.md b/docs/content/doc/contributing/localization.en-us.md
index 3006ca599b..7f78fb3fa8 100644
--- a/docs/content/doc/contributing/localization.en-us.md
+++ b/docs/content/doc/contributing/localization.en-us.md
@@ -5,6 +5,8 @@ slug: "localization"
weight: 10
toc: false
draft: false
+aliases:
+ - /en-us/localization
menu:
sidebar:
parent: "contributing"
diff --git a/docs/content/doc/contributing/localization.zh-cn.md b/docs/content/doc/contributing/localization.zh-cn.md
index c20f4d4138..99a9f3743f 100644
--- a/docs/content/doc/contributing/localization.zh-cn.md
+++ b/docs/content/doc/contributing/localization.zh-cn.md
@@ -5,6 +5,8 @@ slug: "localization"
weight: 20
toc: false
draft: false
+aliases:
+ - /zh-cn/localization
menu:
sidebar:
parent: "contributing"
diff --git a/docs/content/doc/contributing/localization.zh-tw.md b/docs/content/doc/contributing/localization.zh-tw.md
index 815fbc3119..cfdc1dcb9b 100644
--- a/docs/content/doc/contributing/localization.zh-tw.md
+++ b/docs/content/doc/contributing/localization.zh-tw.md
@@ -5,6 +5,8 @@ slug: "localization"
weight: 20
toc: false
draft: false
+aliases:
+ - /zh-tw/localization
menu:
sidebar:
parent: "contributing"
diff --git a/docs/content/doc/development/_index.en-us.md b/docs/content/doc/development/_index.en-us.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/development/_index.en-us.md
diff --git a/docs/content/doc/development/_index.zh-cn.md b/docs/content/doc/development/_index.zh-cn.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/development/_index.zh-cn.md
diff --git a/docs/content/doc/development/_index.zh-tw.md b/docs/content/doc/development/_index.zh-tw.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/development/_index.zh-tw.md
diff --git a/docs/content/doc/development/api-usage.en-us.md b/docs/content/doc/development/api-usage.en-us.md
index 641012607b..fe334827c3 100644
--- a/docs/content/doc/development/api-usage.en-us.md
+++ b/docs/content/doc/development/api-usage.en-us.md
@@ -5,6 +5,8 @@ slug: "api-usage"
weight: 40
toc: false
draft: false
+aliases:
+ - /en-us/api-usage
menu:
sidebar:
parent: "development"
diff --git a/docs/content/doc/development/api-usage.zh-cn.md b/docs/content/doc/development/api-usage.zh-cn.md
index b0821039ff..ceb69b3f0e 100644
--- a/docs/content/doc/development/api-usage.zh-cn.md
+++ b/docs/content/doc/development/api-usage.zh-cn.md
@@ -5,6 +5,8 @@ slug: "api-usage"
weight: 40
toc: false
draft: false
+aliases:
+ - /zh-cn/api-usage
menu:
sidebar:
parent: "development"
diff --git a/docs/content/doc/development/hacking-on-gitea.en-us.md b/docs/content/doc/development/hacking-on-gitea.en-us.md
index da38d238ac..8ac7fcc34c 100644
--- a/docs/content/doc/development/hacking-on-gitea.en-us.md
+++ b/docs/content/doc/development/hacking-on-gitea.en-us.md
@@ -5,6 +5,8 @@ slug: "hacking-on-gitea"
weight: 10
toc: false
draft: false
+aliases:
+ - /en-us/hacking-on-gitea
menu:
sidebar:
parent: "development"
diff --git a/docs/content/doc/development/hacking-on-gitea.zh-cn.md b/docs/content/doc/development/hacking-on-gitea.zh-cn.md
index c63d0c4685..3a4078dfdb 100644
--- a/docs/content/doc/development/hacking-on-gitea.zh-cn.md
+++ b/docs/content/doc/development/hacking-on-gitea.zh-cn.md
@@ -5,6 +5,8 @@ slug: "hacking-on-gitea"
weight: 10
toc: false
draft: false
+aliases:
+ - /zh-cn/hacking-on-gitea
menu:
sidebar:
parent: "development"
diff --git a/docs/content/doc/development/integrations.en-us.md b/docs/content/doc/development/integrations.en-us.md
index dae557c9b8..bbb50ae71d 100644
--- a/docs/content/doc/development/integrations.en-us.md
+++ b/docs/content/doc/development/integrations.en-us.md
@@ -5,6 +5,8 @@ slug: "integrations"
weight: 65
toc: false
draft: false
+aliases:
+ - /en-us/integrations
menu:
sidebar:
parent: "development"
diff --git a/docs/content/doc/development/integrations.zh-tw.md b/docs/content/doc/development/integrations.zh-tw.md
index fdc2103990..278a8f41d5 100644
--- a/docs/content/doc/development/integrations.zh-tw.md
+++ b/docs/content/doc/development/integrations.zh-tw.md
@@ -5,6 +5,8 @@ slug: "integrations"
weight: 65
toc: false
draft: false
+aliases:
+ - /zh-tw/integrations
menu:
sidebar:
parent: "development"
diff --git a/docs/content/doc/development/migrations.en-us.md b/docs/content/doc/development/migrations.en-us.md
index 1d9103254b..f411634156 100644
--- a/docs/content/doc/development/migrations.en-us.md
+++ b/docs/content/doc/development/migrations.en-us.md
@@ -5,6 +5,8 @@ slug: "migrations-interfaces"
weight: 55
toc: false
draft: false
+aliases:
+ - /en-us/migrations-interfaces
menu:
sidebar:
parent: "development"
diff --git a/docs/content/doc/development/migrations.zh-tw.md b/docs/content/doc/development/migrations.zh-tw.md
index bf995598f5..de4ddd788d 100644
--- a/docs/content/doc/development/migrations.zh-tw.md
+++ b/docs/content/doc/development/migrations.zh-tw.md
@@ -5,6 +5,8 @@ slug: "migrations-interfaces"
weight: 55
toc: false
draft: false
+aliases:
+ - /zh-tw/migrations-interfaces
menu:
sidebar:
parent: "development"
diff --git a/docs/content/doc/development/oauth2-provider.en-us.md b/docs/content/doc/development/oauth2-provider.en-us.md
index 7be7a42934..b279e97a6e 100644
--- a/docs/content/doc/development/oauth2-provider.en-us.md
+++ b/docs/content/doc/development/oauth2-provider.en-us.md
@@ -5,6 +5,8 @@ slug: "oauth2-provider"
weight: 41
toc: false
draft: false
+aliases:
+ - /en-us/oauth2-provider
menu:
sidebar:
parent: "development"
diff --git a/docs/content/doc/development/oauth2-provider.zh-cn.md b/docs/content/doc/development/oauth2-provider.zh-cn.md
index 926500d64f..3fbf174efc 100644
--- a/docs/content/doc/development/oauth2-provider.zh-cn.md
+++ b/docs/content/doc/development/oauth2-provider.zh-cn.md
@@ -5,6 +5,8 @@ slug: "oauth2-provider"
weight: 41
toc: false
draft: false
+aliases:
+ - /zh-cn/oauth2-provider
menu:
sidebar:
parent: "development"
diff --git a/docs/content/doc/development/oauth2-provider.zh-tw.md b/docs/content/doc/development/oauth2-provider.zh-tw.md
index b28e48d61e..8d62264abc 100644
--- a/docs/content/doc/development/oauth2-provider.zh-tw.md
+++ b/docs/content/doc/development/oauth2-provider.zh-tw.md
@@ -5,6 +5,8 @@ slug: "oauth2-provider"
weight: 41
toc: false
draft: false
+aliases:
+ - /zh-tw/oauth2-provider
menu:
sidebar:
parent: "development"
diff --git a/docs/content/doc/help/_index.en-us.md b/docs/content/doc/help/_index.en-us.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/help/_index.en-us.md
diff --git a/docs/content/doc/help/_index.zh-cn.md b/docs/content/doc/help/_index.zh-cn.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/help/_index.zh-cn.md
diff --git a/docs/content/doc/help/_index.zh-tw.md b/docs/content/doc/help/_index.zh-tw.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/help/_index.zh-tw.md
diff --git a/docs/content/doc/help/faq.en-us.md b/docs/content/doc/help/faq.en-us.md
index 4847e8e03b..53215e18a5 100644
--- a/docs/content/doc/help/faq.en-us.md
+++ b/docs/content/doc/help/faq.en-us.md
@@ -5,6 +5,8 @@ slug: "faq"
weight: 5
toc: false
draft: false
+aliases:
+ - /en-us/faq
menu:
sidebar:
parent: "help"
@@ -17,7 +19,7 @@ menu:
This page contains some common questions and answers.
-For more help resources, check all [Support Options]({{< relref "doc/help/seek-help.en-us.md" >}}).
+For more help resources, check all [Support Options]({{< relref "doc/help/support.en-us.md" >}}).
**Table of Contents**
@@ -408,7 +410,7 @@ Stdout on systemd goes to the journal by default. Try using `journalctl`, `journ
Similarly, stdout on docker can be viewed using `docker logs <container>`.
-To collect logs for help and issue report, see [Support Options]({{< relref "doc/help/seek-help.en-us.md" >}}).
+To collect logs for help and issue report, see [Support Options]({{< relref "doc/help/support.en-us.md" >}}).
## Initial logging
diff --git a/docs/content/doc/help/seek-help.en-us.md b/docs/content/doc/help/support.en-us.md
index 0e56b9a575..c6db3d6eb3 100644
--- a/docs/content/doc/help/seek-help.en-us.md
+++ b/docs/content/doc/help/support.en-us.md
@@ -1,16 +1,18 @@
---
date: "2018-05-21T15:00:00+00:00"
title: "Support Options"
-slug: "seek-help"
+slug: "support"
weight: 20
toc: false
draft: false
+aliases:
+ - /en-us/seek-help
menu:
sidebar:
parent: "help"
name: "Support Options"
weight: 20
- identifier: "seek-help"
+ identifier: "support"
---
# Support Options
diff --git a/docs/content/doc/help/seek-help.zh-cn.md b/docs/content/doc/help/support.zh-cn.md
index 80febad248..775dfe83bd 100644
--- a/docs/content/doc/help/seek-help.zh-cn.md
+++ b/docs/content/doc/help/support.zh-cn.md
@@ -1,16 +1,18 @@
---
date: "2017-01-20T15:00:00+08:00"
title: "需要帮助"
-slug: "seek-help"
+slug: "support"
weight: 20
toc: false
draft: false
+aliases:
+ - /zh-cn/seek-help
menu:
sidebar:
parent: "help"
name: "需要帮助"
weight: 20
- identifier: "seek-help"
+ identifier: "support"
---
## 需要帮助?
diff --git a/docs/content/doc/help/seek-help.zh-tw.md b/docs/content/doc/help/support.zh-tw.md
index f87dad547a..a9c35eaafb 100644
--- a/docs/content/doc/help/seek-help.zh-tw.md
+++ b/docs/content/doc/help/support.zh-tw.md
@@ -1,16 +1,18 @@
---
date: "2018-05-21T15:00:00+00:00"
title: "取得協助"
-slug: "seek-help"
+slug: "support"
weight: 20
toc: false
draft: false
+aliases:
+ - /zh-tw/seek-help
menu:
sidebar:
parent: "help"
name: "取得協助"
weight: 20
- identifier: "seek-help"
+ identifier: "support"
---
# 取得協助
diff --git a/docs/content/doc/installation/_index.en-us.md b/docs/content/doc/installation/_index.en-us.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/installation/_index.en-us.md
diff --git a/docs/content/doc/installation/_index.fr-fr.md b/docs/content/doc/installation/_index.fr-fr.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/installation/_index.fr-fr.md
diff --git a/docs/content/doc/installation/_index.zh-cn.md b/docs/content/doc/installation/_index.zh-cn.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/installation/_index.zh-cn.md
diff --git a/docs/content/doc/installation/_index.zh-tw.md b/docs/content/doc/installation/_index.zh-tw.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/installation/_index.zh-tw.md
diff --git a/docs/content/doc/installation/comparison.en-us.md b/docs/content/doc/installation/comparison.en-us.md
index 082b2a85ed..578b00c211 100644
--- a/docs/content/doc/installation/comparison.en-us.md
+++ b/docs/content/doc/installation/comparison.en-us.md
@@ -5,6 +5,8 @@ slug: "comparison"
weight: 5
toc: false
draft: false
+aliases:
+ - /en-us/comparison
menu:
sidebar:
name: "Comparison"
diff --git a/docs/content/doc/installation/comparison.zh-cn.md b/docs/content/doc/installation/comparison.zh-cn.md
index 7dfca526eb..06c770caa2 100644
--- a/docs/content/doc/installation/comparison.zh-cn.md
+++ b/docs/content/doc/installation/comparison.zh-cn.md
@@ -5,6 +5,8 @@ slug: "comparison"
weight: 5
toc: false
draft: false
+aliases:
+ - /zh-cn/comparison
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/comparison.zh-tw.md b/docs/content/doc/installation/comparison.zh-tw.md
index 8919052343..042acba8d3 100644
--- a/docs/content/doc/installation/comparison.zh-tw.md
+++ b/docs/content/doc/installation/comparison.zh-tw.md
@@ -5,6 +5,8 @@ slug: "comparison"
weight: 5
toc: false
draft: false
+aliases:
+ - /zh-tw/comparison
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/database-preparation.en-us.md b/docs/content/doc/installation/database-preparation.en-us.md
index edad89b07c..4b0d1b5ba8 100644
--- a/docs/content/doc/installation/database-preparation.en-us.md
+++ b/docs/content/doc/installation/database-preparation.en-us.md
@@ -5,6 +5,8 @@ slug: "database-prep"
weight: 10
toc: false
draft: false
+aliases:
+ - /en-us/database-prep
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/from-binary.en-us.md b/docs/content/doc/installation/from-binary.en-us.md
index ce1d7e5a2c..c7824c3480 100644
--- a/docs/content/doc/installation/from-binary.en-us.md
+++ b/docs/content/doc/installation/from-binary.en-us.md
@@ -5,6 +5,8 @@ slug: "install-from-binary"
weight: 15
toc: false
draft: false
+aliases:
+ - /en-us/install-from-binary
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/from-binary.fr-fr.md b/docs/content/doc/installation/from-binary.fr-fr.md
index 7dfbe7dd5f..eea3819384 100644
--- a/docs/content/doc/installation/from-binary.fr-fr.md
+++ b/docs/content/doc/installation/from-binary.fr-fr.md
@@ -5,6 +5,8 @@ slug: "install-from-binary"
weight: 15
toc: false
draft: false
+aliases:
+ - /fr-fr/install-from-binary
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/from-binary.zh-cn.md b/docs/content/doc/installation/from-binary.zh-cn.md
index 55cf6c1da2..abe799dc94 100644
--- a/docs/content/doc/installation/from-binary.zh-cn.md
+++ b/docs/content/doc/installation/from-binary.zh-cn.md
@@ -5,6 +5,8 @@ slug: "install-from-binary"
weight: 15
toc: false
draft: false
+aliases:
+ - /zh-cn/install-from-binary
menu:
sidebar:
parent: "installation"
@@ -161,4 +163,4 @@ GITEA_WORK_DIR=/var/lib/gitea/ /usr/local/bin/gitea web -c /etc/gitea/app.ini
> 更多经验总结,请参考英文版 [Troubleshooting](/en-us/install-from-binary/#troubleshooting)
-如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}})
+如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "support.zh-cn.md" >}})
diff --git a/docs/content/doc/installation/from-binary.zh-tw.md b/docs/content/doc/installation/from-binary.zh-tw.md
index 3991b101ae..858cee2193 100644
--- a/docs/content/doc/installation/from-binary.zh-tw.md
+++ b/docs/content/doc/installation/from-binary.zh-tw.md
@@ -5,6 +5,8 @@ slug: "install-from-binary"
weight: 15
toc: false
draft: false
+aliases:
+ - /zh-tw/install-from-binary
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/from-package.en-us.md b/docs/content/doc/installation/from-package.en-us.md
index 2615b7d27d..15283d5837 100644
--- a/docs/content/doc/installation/from-package.en-us.md
+++ b/docs/content/doc/installation/from-package.en-us.md
@@ -5,6 +5,8 @@ slug: "install-from-package"
weight: 20
toc: false
draft: false
+aliases:
+ - /en-us/install-from-package
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/from-package.fr-fr.md b/docs/content/doc/installation/from-package.fr-fr.md
index eff74c31e5..b7e842400d 100644
--- a/docs/content/doc/installation/from-package.fr-fr.md
+++ b/docs/content/doc/installation/from-package.fr-fr.md
@@ -5,6 +5,8 @@ slug: "install-from-package"
weight: 20
toc: false
draft: false
+aliases:
+ - /fr-fr/install-from-package
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/from-package.zh-cn.md b/docs/content/doc/installation/from-package.zh-cn.md
index e3ed3aa371..a8e92694f9 100644
--- a/docs/content/doc/installation/from-package.zh-cn.md
+++ b/docs/content/doc/installation/from-package.zh-cn.md
@@ -5,6 +5,8 @@ slug: "install-from-package"
weight: 20
toc: false
draft: false
+aliases:
+ - /zh-cn/install-from-package
menu:
sidebar:
parent: "installation"
@@ -107,4 +109,4 @@ make install clean
## 需要帮助?
-如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}})
+如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "support.zh-cn.md" >}})
diff --git a/docs/content/doc/installation/from-package.zh-tw.md b/docs/content/doc/installation/from-package.zh-tw.md
index 1616ba6655..c5347991ec 100644
--- a/docs/content/doc/installation/from-package.zh-tw.md
+++ b/docs/content/doc/installation/from-package.zh-tw.md
@@ -5,6 +5,8 @@ slug: "install-from-package"
weight: 20
toc: false
draft: false
+aliases:
+ - /zh-tw/install-from-package
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/from-source.en-us.md b/docs/content/doc/installation/from-source.en-us.md
index 45064a43a8..72a3e12472 100644
--- a/docs/content/doc/installation/from-source.en-us.md
+++ b/docs/content/doc/installation/from-source.en-us.md
@@ -5,6 +5,8 @@ slug: "install-from-source"
weight: 30
toc: false
draft: false
+aliases:
+ - /en-us/install-from-source
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/from-source.fr-fr.md b/docs/content/doc/installation/from-source.fr-fr.md
index ebb0941754..544059b573 100644
--- a/docs/content/doc/installation/from-source.fr-fr.md
+++ b/docs/content/doc/installation/from-source.fr-fr.md
@@ -5,6 +5,8 @@ slug: "install-from-source"
weight: 30
toc: false
draft: false
+aliases:
+ - /fr-fr/install-from-source
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/from-source.zh-cn.md b/docs/content/doc/installation/from-source.zh-cn.md
index 9d5c50cbda..8f3ccbe7e2 100644
--- a/docs/content/doc/installation/from-source.zh-cn.md
+++ b/docs/content/doc/installation/from-source.zh-cn.md
@@ -5,6 +5,8 @@ slug: "install-from-source"
weight: 30
toc: false
draft: false
+aliases:
+ - /zh-cn/install-from-source
menu:
sidebar:
parent: "installation"
@@ -104,4 +106,4 @@ CC=aarch64-unknown-linux-gnu-gcc GOOS=linux GOARCH=arm64 TAGS="bindata sqlite sq
## 需要帮助?
-如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}})
+如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "support.zh-cn.md" >}})
diff --git a/docs/content/doc/installation/from-source.zh-tw.md b/docs/content/doc/installation/from-source.zh-tw.md
index fc9c2dca4c..f9e6e06eff 100644
--- a/docs/content/doc/installation/from-source.zh-tw.md
+++ b/docs/content/doc/installation/from-source.zh-tw.md
@@ -5,6 +5,8 @@ slug: "install-from-source"
weight: 30
toc: false
draft: false
+aliases:
+ - /zh-tw/install-from-source
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/on-cloud-provider.en-us.md b/docs/content/doc/installation/on-cloud-provider.en-us.md
index 550ef3f677..20ca812eff 100644
--- a/docs/content/doc/installation/on-cloud-provider.en-us.md
+++ b/docs/content/doc/installation/on-cloud-provider.en-us.md
@@ -5,6 +5,8 @@ slug: "install-on-cloud-provider"
weight: 90
toc: false
draft: false
+aliases:
+ - /en-us/install-on-cloud-provider
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/on-kubernetes.en-us.md b/docs/content/doc/installation/on-kubernetes.en-us.md
index e8f3612ea4..b46a61df02 100644
--- a/docs/content/doc/installation/on-kubernetes.en-us.md
+++ b/docs/content/doc/installation/on-kubernetes.en-us.md
@@ -5,6 +5,8 @@ slug: "install-on-kubernetes"
weight: 80
toc: false
draft: false
+aliases:
+ - /en-us/install-on-kubernetes
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/on-kubernetes.zh-cn.md b/docs/content/doc/installation/on-kubernetes.zh-cn.md
index 91dec2e73a..367aef1cf3 100644
--- a/docs/content/doc/installation/on-kubernetes.zh-cn.md
+++ b/docs/content/doc/installation/on-kubernetes.zh-cn.md
@@ -5,6 +5,8 @@ slug: "install-on-kubernetes"
weight: 80
toc: false
draft: false
+aliases:
+ - /zh-cn/install-on-kubernetes
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/on-kubernetes.zh-tw.md b/docs/content/doc/installation/on-kubernetes.zh-tw.md
index 6d31a14b05..51446911d5 100644
--- a/docs/content/doc/installation/on-kubernetes.zh-tw.md
+++ b/docs/content/doc/installation/on-kubernetes.zh-tw.md
@@ -5,6 +5,8 @@ slug: "install-on-kubernetes"
weight: 80
toc: false
draft: false
+aliases:
+ - /zh-tw/install-on-kubernetes
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/run-as-service-in-ubuntu.en-us.md b/docs/content/doc/installation/run-as-service-in-ubuntu.en-us.md
index 19b3be1a22..3587dfc01a 100644
--- a/docs/content/doc/installation/run-as-service-in-ubuntu.en-us.md
+++ b/docs/content/doc/installation/run-as-service-in-ubuntu.en-us.md
@@ -5,6 +5,8 @@ slug: "linux-service"
weight: 40
toc: false
draft: false
+aliases:
+ - /en-us/linux-service
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/run-as-service-in-ubuntu.zh-cn.md b/docs/content/doc/installation/run-as-service-in-ubuntu.zh-cn.md
index aa00a42aa6..62312c060c 100644
--- a/docs/content/doc/installation/run-as-service-in-ubuntu.zh-cn.md
+++ b/docs/content/doc/installation/run-as-service-in-ubuntu.zh-cn.md
@@ -5,6 +5,8 @@ slug: "linux-service"
weight: 40
toc: false
draft: false
+aliases:
+ - /zh-cn/linux-service
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/run-as-service-in-ubuntu.zh-tw.md b/docs/content/doc/installation/run-as-service-in-ubuntu.zh-tw.md
index de811d73e7..6b8a4cfce8 100644
--- a/docs/content/doc/installation/run-as-service-in-ubuntu.zh-tw.md
+++ b/docs/content/doc/installation/run-as-service-in-ubuntu.zh-tw.md
@@ -5,6 +5,8 @@ slug: "linux-service"
weight: 40
toc: false
draft: false
+aliases:
+ - /zh-tw/linux-service
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/upgrade-from-gitea.en-us.md b/docs/content/doc/installation/upgrade-from-gitea.en-us.md
index 8748573a2f..a6415f7861 100644
--- a/docs/content/doc/installation/upgrade-from-gitea.en-us.md
+++ b/docs/content/doc/installation/upgrade-from-gitea.en-us.md
@@ -5,6 +5,8 @@ slug: "upgrade-from-gitea"
weight: 100
toc: false
draft: false
+aliases:
+ - /en-us/upgrade-from-gitea
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/upgrade-from-gogs.en-us.md b/docs/content/doc/installation/upgrade-from-gogs.en-us.md
index 5b08ed2f6a..2e149c6a2b 100644
--- a/docs/content/doc/installation/upgrade-from-gogs.en-us.md
+++ b/docs/content/doc/installation/upgrade-from-gogs.en-us.md
@@ -5,6 +5,8 @@ slug: "upgrade-from-gogs"
weight: 101
toc: false
draft: false
+aliases:
+ - /en-us/upgrade-from-gogs
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/upgrade-from-gogs.fr-fr.md b/docs/content/doc/installation/upgrade-from-gogs.fr-fr.md
index 2ce1b4bf3d..9a46562f06 100644
--- a/docs/content/doc/installation/upgrade-from-gogs.fr-fr.md
+++ b/docs/content/doc/installation/upgrade-from-gogs.fr-fr.md
@@ -5,6 +5,8 @@ slug: "upgrade-from-gogs"
weight: 101
toc: false
draft: false
+aliases:
+ - /fr-fr/upgrade-from-gogs
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/upgrade-from-gogs.zh-cn.md b/docs/content/doc/installation/upgrade-from-gogs.zh-cn.md
index 048cfee793..f537896ca1 100644
--- a/docs/content/doc/installation/upgrade-from-gogs.zh-cn.md
+++ b/docs/content/doc/installation/upgrade-from-gogs.zh-cn.md
@@ -5,6 +5,8 @@ slug: "upgrade-from-gogs"
weight: 101
toc: false
draft: false
+aliases:
+ - /zh-cn/upgrade-from-gogs
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/upgrade-from-gogs.zh-tw.md b/docs/content/doc/installation/upgrade-from-gogs.zh-tw.md
index 0082bf73cb..9812efaf94 100644
--- a/docs/content/doc/installation/upgrade-from-gogs.zh-tw.md
+++ b/docs/content/doc/installation/upgrade-from-gogs.zh-tw.md
@@ -5,6 +5,8 @@ slug: "upgrade-from-gogs"
weight: 101
toc: false
draft: false
+aliases:
+ - /zh-tw/upgrade-from-gogs
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/windows-service.en-us.md b/docs/content/doc/installation/windows-service.en-us.md
index 6efc1fd582..d3f5a9abae 100644
--- a/docs/content/doc/installation/windows-service.en-us.md
+++ b/docs/content/doc/installation/windows-service.en-us.md
@@ -5,6 +5,8 @@ slug: "windows-service"
weight: 50
toc: false
draft: false
+aliases:
+ - /en-us/windows-service
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/windows-service.fr-fr.md b/docs/content/doc/installation/windows-service.fr-fr.md
index a0f8f057c0..c4e00b04e1 100644
--- a/docs/content/doc/installation/windows-service.fr-fr.md
+++ b/docs/content/doc/installation/windows-service.fr-fr.md
@@ -5,6 +5,8 @@ slug: "windows-service"
weight: 50
toc: false
draft: false
+aliases:
+ - /fr-fr/windows-service
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/windows-service.zh-cn.md b/docs/content/doc/installation/windows-service.zh-cn.md
index 8388a057b3..0f2a0f5869 100644
--- a/docs/content/doc/installation/windows-service.zh-cn.md
+++ b/docs/content/doc/installation/windows-service.zh-cn.md
@@ -5,6 +5,8 @@ slug: "windows-service"
weight: 50
toc: false
draft: false
+aliases:
+ - /zh-cn/windows-service
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/windows-service.zh-tw.md b/docs/content/doc/installation/windows-service.zh-tw.md
index a2934a52d1..5764d647fc 100644
--- a/docs/content/doc/installation/windows-service.zh-tw.md
+++ b/docs/content/doc/installation/windows-service.zh-tw.md
@@ -5,6 +5,8 @@ slug: "windows-service"
weight: 50
toc: false
draft: false
+aliases:
+ - /zh-tw/windows-service
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/with-docker-rootless.en-us.md b/docs/content/doc/installation/with-docker-rootless.en-us.md
index f33e99c580..e1073a1d67 100644
--- a/docs/content/doc/installation/with-docker-rootless.en-us.md
+++ b/docs/content/doc/installation/with-docker-rootless.en-us.md
@@ -5,6 +5,8 @@ slug: "install-with-docker-rootless"
weight: 60
toc: false
draft: false
+aliases:
+ - /en-us/install-with-docker-rootless
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/with-docker.en-us.md b/docs/content/doc/installation/with-docker.en-us.md
index 05764e0bc9..043a10c08f 100644
--- a/docs/content/doc/installation/with-docker.en-us.md
+++ b/docs/content/doc/installation/with-docker.en-us.md
@@ -5,6 +5,8 @@ slug: "install-with-docker"
weight: 70
toc: false
draft: false
+aliases:
+ - /en-us/install-with-docker
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/with-docker.fr-fr.md b/docs/content/doc/installation/with-docker.fr-fr.md
index 59f2b0752a..362aa5fc67 100644
--- a/docs/content/doc/installation/with-docker.fr-fr.md
+++ b/docs/content/doc/installation/with-docker.fr-fr.md
@@ -5,6 +5,8 @@ slug: "install-with-docker"
weight: 70
toc: false
draft: false
+aliases:
+ - /fr-fr/install-with-docker
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/with-docker.zh-cn.md b/docs/content/doc/installation/with-docker.zh-cn.md
index e5bb07b495..50acc3ffae 100644
--- a/docs/content/doc/installation/with-docker.zh-cn.md
+++ b/docs/content/doc/installation/with-docker.zh-cn.md
@@ -5,6 +5,8 @@ slug: "install-with-docker"
weight: 70
toc: false
draft: false
+aliases:
+ - /zh-cn/install-with-docker
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/installation/with-docker.zh-tw.md b/docs/content/doc/installation/with-docker.zh-tw.md
index e2e47e8702..fdf5a0101d 100644
--- a/docs/content/doc/installation/with-docker.zh-tw.md
+++ b/docs/content/doc/installation/with-docker.zh-tw.md
@@ -5,6 +5,8 @@ slug: "install-with-docker"
weight: 70
toc: false
draft: false
+aliases:
+ - /zh-tw/install-with-docker
menu:
sidebar:
parent: "installation"
diff --git a/docs/content/doc/help/search.de-de.md b/docs/content/doc/search.de-de.md
index d22e9c1b2e..29c153171e 100644
--- a/docs/content/doc/help/search.de-de.md
+++ b/docs/content/doc/search.de-de.md
@@ -5,6 +5,8 @@ slug: "search"
weight: 1
toc: false
draft: false
+aliases:
+ - /de-de/help/search
sitemap:
priority : 1
layout: "search"
diff --git a/docs/content/doc/help/search.en-us.md b/docs/content/doc/search.en-us.md
index d22e9c1b2e..60a4898c42 100644
--- a/docs/content/doc/help/search.en-us.md
+++ b/docs/content/doc/search.en-us.md
@@ -5,6 +5,8 @@ slug: "search"
weight: 1
toc: false
draft: false
+aliases:
+ - /en-us/help/search
sitemap:
priority : 1
layout: "search"
diff --git a/docs/content/doc/help/search.fr-fr.md b/docs/content/doc/search.fr-fr.md
index 421f7830b2..d3f85c966f 100644
--- a/docs/content/doc/help/search.fr-fr.md
+++ b/docs/content/doc/search.fr-fr.md
@@ -5,6 +5,8 @@ slug: "search"
weight: 1
toc: false
draft: false
+aliases:
+ - /fr-fr/help/search
sitemap:
priority : 1
layout: "search"
diff --git a/docs/content/doc/help/search.nl-nl.md b/docs/content/doc/search.nl-nl.md
index d22e9c1b2e..9ca7a34d48 100644
--- a/docs/content/doc/help/search.nl-nl.md
+++ b/docs/content/doc/search.nl-nl.md
@@ -5,6 +5,8 @@ slug: "search"
weight: 1
toc: false
draft: false
+aliases:
+ - /nl-nl/help/search
sitemap:
priority : 1
layout: "search"
diff --git a/docs/content/doc/help/search.pt-br.md b/docs/content/doc/search.pt-br.md
index d22e9c1b2e..0a70026c23 100644
--- a/docs/content/doc/help/search.pt-br.md
+++ b/docs/content/doc/search.pt-br.md
@@ -5,6 +5,8 @@ slug: "search"
weight: 1
toc: false
draft: false
+aliases:
+ - /pt-br/help/search
sitemap:
priority : 1
layout: "search"
diff --git a/docs/content/doc/help/search.zh-cn.md b/docs/content/doc/search.zh-cn.md
index 778df0d47d..50415c259e 100644
--- a/docs/content/doc/help/search.zh-cn.md
+++ b/docs/content/doc/search.zh-cn.md
@@ -5,6 +5,8 @@ slug: "search"
weight: 1
toc: false
draft: false
+aliases:
+ - /zh-cn/help/search
sitemap:
priority : 1
layout: "search"
diff --git a/docs/content/doc/help/search.zh-tw.md b/docs/content/doc/search.zh-tw.md
index 8f2ce17ec6..746cb14c11 100644
--- a/docs/content/doc/help/search.zh-tw.md
+++ b/docs/content/doc/search.zh-tw.md
@@ -5,6 +5,8 @@ slug: "search"
weight: 1
toc: false
draft: false
+aliases:
+ - /zh-tw/help/search
sitemap:
priority : 1
layout: "search"
diff --git a/docs/content/doc/usage/_index.en-us.md b/docs/content/doc/usage/_index.en-us.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/usage/_index.en-us.md
diff --git a/docs/content/doc/usage/_index.zh-cn.md b/docs/content/doc/usage/_index.zh-cn.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/usage/_index.zh-cn.md
diff --git a/docs/content/doc/usage/_index.zh-tw.md b/docs/content/doc/usage/_index.zh-tw.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/usage/_index.zh-tw.md
diff --git a/docs/content/doc/usage/agit-support.en-us.md b/docs/content/doc/usage/agit-support.en-us.md
index b005e1bd73..30e2879e89 100644
--- a/docs/content/doc/usage/agit-support.en-us.md
+++ b/docs/content/doc/usage/agit-support.en-us.md
@@ -5,6 +5,8 @@ slug: "agit-setup"
weight: 12
toc: false
draft: false
+aliases:
+ - /en-us/agit-setup
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/authentication.en-us.md b/docs/content/doc/usage/authentication.en-us.md
index 5478ee94f6..2b8cdd2964 100644
--- a/docs/content/doc/usage/authentication.en-us.md
+++ b/docs/content/doc/usage/authentication.en-us.md
@@ -5,6 +5,8 @@ slug: "authentication"
weight: 10
toc: false
draft: false
+aliases:
+ - /en-us/authentication
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/authentication.zh-cn.md b/docs/content/doc/usage/authentication.zh-cn.md
index 403c3f43ce..37ecc8bab1 100644
--- a/docs/content/doc/usage/authentication.zh-cn.md
+++ b/docs/content/doc/usage/authentication.zh-cn.md
@@ -5,6 +5,8 @@ slug: "authentication"
weight: 10
toc: false
draft: false
+aliases:
+ - /zh-cn/authentication
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/authentication.zh-tw.md b/docs/content/doc/usage/authentication.zh-tw.md
index 958c498fc6..75959802b1 100644
--- a/docs/content/doc/usage/authentication.zh-tw.md
+++ b/docs/content/doc/usage/authentication.zh-tw.md
@@ -5,6 +5,8 @@ slug: "authentication"
weight: 10
toc: false
draft: false
+aliases:
+ - /zh-tw/authentication
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/clone-filter.en-us.md b/docs/content/doc/usage/clone-filter.en-us.md
index 7d4ba2d9a8..8331c138bf 100644
--- a/docs/content/doc/usage/clone-filter.en-us.md
+++ b/docs/content/doc/usage/clone-filter.en-us.md
@@ -5,6 +5,8 @@ slug: "clone-filters"
weight: 25
draft: false
toc: false
+aliases:
+ - /en-us/clone-filters
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/incoming-email.en-us.md b/docs/content/doc/usage/incoming-email.en-us.md
index 867e9d8a69..205b3dd8ed 100644
--- a/docs/content/doc/usage/incoming-email.en-us.md
+++ b/docs/content/doc/usage/incoming-email.en-us.md
@@ -5,6 +5,8 @@ slug: "incoming-email"
weight: 13
draft: false
toc: false
+aliases:
+ - /en-us/incoming-email
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/issue-pull-request-templates.en-us.md b/docs/content/doc/usage/issue-pull-request-templates.en-us.md
index 107484689b..b48763cf8e 100644
--- a/docs/content/doc/usage/issue-pull-request-templates.en-us.md
+++ b/docs/content/doc/usage/issue-pull-request-templates.en-us.md
@@ -5,6 +5,8 @@ slug: "issue-pull-request-templates"
weight: 15
toc: false
draft: false
+aliases:
+ - /en-us/issue-pull-request-templates
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/issue-pull-request-templates.zh-cn.md b/docs/content/doc/usage/issue-pull-request-templates.zh-cn.md
index 866378e2ac..135dcf8de8 100644
--- a/docs/content/doc/usage/issue-pull-request-templates.zh-cn.md
+++ b/docs/content/doc/usage/issue-pull-request-templates.zh-cn.md
@@ -5,6 +5,8 @@ slug: "issue-pull-request-templates"
weight: 15
toc: true
draft: false
+aliases:
+ - /zh-cn/issue-pull-request-templates
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/labels.en-us.md b/docs/content/doc/usage/labels.en-us.md
index 7c2494971f..bf60951d8c 100644
--- a/docs/content/doc/usage/labels.en-us.md
+++ b/docs/content/doc/usage/labels.en-us.md
@@ -5,6 +5,8 @@ slug: "labels"
weight: 13
toc: false
draft: false
+aliases:
+ - /en-us/labels
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/linked-references.en-us.md b/docs/content/doc/usage/linked-references.en-us.md
index 335d2654e3..8cd4ff7b1f 100644
--- a/docs/content/doc/usage/linked-references.en-us.md
+++ b/docs/content/doc/usage/linked-references.en-us.md
@@ -5,6 +5,8 @@ slug: "automatically-linked-references"
weight: 15
toc: false
draft: false
+aliases:
+ - /en-us/automatically-linked-references
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/merge-message-templates.en-us.md b/docs/content/doc/usage/merge-message-templates.en-us.md
index 70710b989e..751f07e13f 100644
--- a/docs/content/doc/usage/merge-message-templates.en-us.md
+++ b/docs/content/doc/usage/merge-message-templates.en-us.md
@@ -5,6 +5,8 @@ slug: "merge-message-templates"
weight: 15
toc: false
draft: false
+aliases:
+ - /en-us/merge-message-templates
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/packages/_index.en-us.md b/docs/content/doc/usage/packages/_index.en-us.md
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/docs/content/doc/usage/packages/_index.en-us.md
diff --git a/docs/content/doc/packages/cargo.en-us.md b/docs/content/doc/usage/packages/cargo.en-us.md
index 1beeba407b..a74384ccef 100644
--- a/docs/content/doc/packages/cargo.en-us.md
+++ b/docs/content/doc/usage/packages/cargo.en-us.md
@@ -1,7 +1,7 @@
---
date: "2022-11-20T00:00:00+00:00"
title: "Cargo Packages Repository"
-slug: "usage/packages/cargo"
+slug: "cargo"
weight: 5
draft: false
toc: false
diff --git a/docs/content/doc/packages/chef.en-us.md b/docs/content/doc/usage/packages/chef.en-us.md
index ab7150a2a2..dc5ca21e98 100644
--- a/docs/content/doc/packages/chef.en-us.md
+++ b/docs/content/doc/usage/packages/chef.en-us.md
@@ -1,7 +1,7 @@
---
date: "2023-01-20T00:00:00+00:00"
title: "Chef Packages Repository"
-slug: "usage/packages/chef"
+slug: "chef"
weight: 5
draft: false
toc: false
diff --git a/docs/content/doc/packages/composer.en-us.md b/docs/content/doc/usage/packages/composer.en-us.md
index 6055ff3194..16c367eb2c 100644
--- a/docs/content/doc/packages/composer.en-us.md
+++ b/docs/content/doc/usage/packages/composer.en-us.md
@@ -1,7 +1,7 @@
---
date: "2021-07-20T00:00:00+00:00"
title: "Composer Packages Repository"
-slug: "usage/packages/composer"
+slug: "composer"
weight: 10
draft: false
toc: false
diff --git a/docs/content/doc/packages/conan.en-us.md b/docs/content/doc/usage/packages/conan.en-us.md
index ff89fc153e..8c8fe4e262 100644
--- a/docs/content/doc/packages/conan.en-us.md
+++ b/docs/content/doc/usage/packages/conan.en-us.md
@@ -1,7 +1,7 @@
---
date: "2021-07-20T00:00:00+00:00"
title: "Conan Packages Repository"
-slug: "usage/packages/conan"
+slug: "conan"
weight: 20
draft: false
toc: false
diff --git a/docs/content/doc/packages/conda.en-us.md b/docs/content/doc/usage/packages/conda.en-us.md
index 1a7cd86334..c9a852239f 100644
--- a/docs/content/doc/packages/conda.en-us.md
+++ b/docs/content/doc/usage/packages/conda.en-us.md
@@ -1,7 +1,7 @@
---
date: "2022-12-28T00:00:00+00:00"
title: "Conda Packages Repository"
-slug: "usage/packages/conda"
+slug: "conda"
weight: 25
draft: false
toc: false
diff --git a/docs/content/doc/packages/container.en-us.md b/docs/content/doc/usage/packages/container.en-us.md
index 5fd990b4b2..457e6fb1a4 100644
--- a/docs/content/doc/packages/container.en-us.md
+++ b/docs/content/doc/usage/packages/container.en-us.md
@@ -1,7 +1,7 @@
---
date: "2021-07-20T00:00:00+00:00"
title: "Container Registry"
-slug: "usage/packages/container"
+slug: "container"
weight: 30
draft: false
toc: false
diff --git a/docs/content/doc/packages/generic.en-us.md b/docs/content/doc/usage/packages/generic.en-us.md
index 55b1868bfb..fbfe42d50a 100644
--- a/docs/content/doc/packages/generic.en-us.md
+++ b/docs/content/doc/usage/packages/generic.en-us.md
@@ -1,7 +1,7 @@
---
date: "2021-07-20T00:00:00+00:00"
title: "Generic Packages Repository"
-slug: "usage/packages/generic"
+slug: "generic"
weight: 40
draft: false
toc: false
diff --git a/docs/content/doc/packages/helm.en-us.md b/docs/content/doc/usage/packages/helm.en-us.md
index 263218b31e..1db1e8758b 100644
--- a/docs/content/doc/packages/helm.en-us.md
+++ b/docs/content/doc/usage/packages/helm.en-us.md
@@ -1,7 +1,7 @@
---
date: "2022-04-14T00:00:00+00:00"
title: "Helm Chart Registry"
-slug: "usage/packages/helm"
+slug: "helm"
weight: 50
draft: false
toc: false
diff --git a/docs/content/doc/packages/maven.en-us.md b/docs/content/doc/usage/packages/maven.en-us.md
index 408a02a710..81c3e22197 100644
--- a/docs/content/doc/packages/maven.en-us.md
+++ b/docs/content/doc/usage/packages/maven.en-us.md
@@ -1,7 +1,7 @@
---
date: "2021-07-20T00:00:00+00:00"
title: "Maven Packages Repository"
-slug: "usage/packages/maven"
+slug: "maven"
weight: 60
draft: false
toc: false
diff --git a/docs/content/doc/packages/npm.en-us.md b/docs/content/doc/usage/packages/npm.en-us.md
index fb13510840..a15cdb9a2b 100644
--- a/docs/content/doc/packages/npm.en-us.md
+++ b/docs/content/doc/usage/packages/npm.en-us.md
@@ -1,7 +1,7 @@
---
date: "2021-07-20T00:00:00+00:00"
title: "npm Packages Repository"
-slug: "usage/packages/npm"
+slug: "npm"
weight: 70
draft: false
toc: false
diff --git a/docs/content/doc/packages/nuget.en-us.md b/docs/content/doc/usage/packages/nuget.en-us.md
index 1309b4cab6..aa88fa625e 100644
--- a/docs/content/doc/packages/nuget.en-us.md
+++ b/docs/content/doc/usage/packages/nuget.en-us.md
@@ -1,7 +1,7 @@
---
date: "2021-07-20T00:00:00+00:00"
title: "NuGet Packages Repository"
-slug: "usage/packages/nuget"
+slug: "nuget"
weight: 80
draft: false
toc: false
diff --git a/docs/content/doc/packages/overview.en-us.md b/docs/content/doc/usage/packages/overview.en-us.md
index e6d984af77..fdeaf15af0 100644
--- a/docs/content/doc/packages/overview.en-us.md
+++ b/docs/content/doc/usage/packages/overview.en-us.md
@@ -1,7 +1,7 @@
---
date: "2021-07-20T00:00:00+00:00"
title: "Package Registry"
-slug: "usage/packages/overview"
+slug: "overview"
weight: 1
draft: false
toc: false
@@ -27,22 +27,22 @@ The following package managers are currently supported:
| Name | Language | Package client |
| ---- | -------- | -------------- |
-| [Cargo]({{< relref "doc/packages/cargo.en-us.md" >}}) | Rust | `cargo` |
-| [Chef]({{< relref "doc/packages/chef.en-us.md" >}}) | - | `knife` |
-| [Composer]({{< relref "doc/packages/composer.en-us.md" >}}) | PHP | `composer` |
-| [Conan]({{< relref "doc/packages/conan.en-us.md" >}}) | C++ | `conan` |
-| [Conda]({{< relref "doc/packages/conda.en-us.md" >}}) | - | `conda` |
-| [Container]({{< relref "doc/packages/container.en-us.md" >}}) | - | any OCI compliant client |
-| [Generic]({{< relref "doc/packages/generic.en-us.md" >}}) | - | any HTTP client |
-| [Helm]({{< relref "doc/packages/helm.en-us.md" >}}) | - | any HTTP client, `cm-push` |
-| [Maven]({{< relref "doc/packages/maven.en-us.md" >}}) | Java | `mvn`, `gradle` |
-| [npm]({{< relref "doc/packages/npm.en-us.md" >}}) | JavaScript | `npm`, `yarn`, `pnpm` |
-| [NuGet]({{< relref "doc/packages/nuget.en-us.md" >}}) | .NET | `nuget` |
-| [Pub]({{< relref "doc/packages/pub.en-us.md" >}}) | Dart | `dart`, `flutter` |
-| [PyPI]({{< relref "doc/packages/pypi.en-us.md" >}}) | Python | `pip`, `twine` |
-| [RubyGems]({{< relref "doc/packages/rubygems.en-us.md" >}}) | Ruby | `gem`, `Bundler` |
-| [Swift]({{< relref "doc/packages/rubygems.en-us.md" >}}) | Swift | `swift` |
-| [Vagrant]({{< relref "doc/packages/vagrant.en-us.md" >}}) | - | `vagrant` |
+| [Cargo]({{< relref "doc/usage/packages/cargo.en-us.md" >}}) | Rust | `cargo` |
+| [Chef]({{< relref "doc/usage/packages/chef.en-us.md" >}}) | - | `knife` |
+| [Composer]({{< relref "doc/usage/packages/composer.en-us.md" >}}) | PHP | `composer` |
+| [Conan]({{< relref "doc/usage/packages/conan.en-us.md" >}}) | C++ | `conan` |
+| [Conda]({{< relref "doc/usage/packages/conda.en-us.md" >}}) | - | `conda` |
+| [Container]({{< relref "doc/usage/packages/container.en-us.md" >}}) | - | any OCI compliant client |
+| [Generic]({{< relref "doc/usage/packages/generic.en-us.md" >}}) | - | any HTTP client |
+| [Helm]({{< relref "doc/usage/packages/helm.en-us.md" >}}) | - | any HTTP client, `cm-push` |
+| [Maven]({{< relref "doc/usage/packages/maven.en-us.md" >}}) | Java | `mvn`, `gradle` |
+| [npm]({{< relref "doc/usage/packages/npm.en-us.md" >}}) | JavaScript | `npm`, `yarn`, `pnpm` |
+| [NuGet]({{< relref "doc/usage/packages/nuget.en-us.md" >}}) | .NET | `nuget` |
+| [Pub]({{< relref "doc/usage/packages/pub.en-us.md" >}}) | Dart | `dart`, `flutter` |
+| [PyPI]({{< relref "doc/usage/packages/pypi.en-us.md" >}}) | Python | `pip`, `twine` |
+| [RubyGems]({{< relref "doc/usage/packages/rubygems.en-us.md" >}}) | Ruby | `gem`, `Bundler` |
+| [Swift]({{< relref "doc/usage/packages/rubygems.en-us.md" >}}) | Swift | `swift` |
+| [Vagrant]({{< relref "doc/usage/packages/vagrant.en-us.md" >}}) | - | `vagrant` |
**The following paragraphs only apply if Packages are not globally disabled!**
diff --git a/docs/content/doc/packages/pub.en-us.md b/docs/content/doc/usage/packages/pub.en-us.md
index ebe42f1822..f2df2016ac 100644
--- a/docs/content/doc/packages/pub.en-us.md
+++ b/docs/content/doc/usage/packages/pub.en-us.md
@@ -1,7 +1,7 @@
---
date: "2022-07-31T00:00:00+00:00"
title: "Pub Packages Repository"
-slug: "usage/packages/pub"
+slug: "pub"
weight: 90
draft: false
toc: false
diff --git a/docs/content/doc/packages/pypi.en-us.md b/docs/content/doc/usage/packages/pypi.en-us.md
index 163eaa9646..84d9453daa 100644
--- a/docs/content/doc/packages/pypi.en-us.md
+++ b/docs/content/doc/usage/packages/pypi.en-us.md
@@ -1,7 +1,7 @@
---
date: "2021-07-20T00:00:00+00:00"
title: "PyPI Packages Repository"
-slug: "usage/packages/pypi"
+slug: "pypi"
weight: 100
draft: false
toc: false
diff --git a/docs/content/doc/packages/rubygems.en-us.md b/docs/content/doc/usage/packages/rubygems.en-us.md
index cb53b137d5..be60ed37af 100644
--- a/docs/content/doc/packages/rubygems.en-us.md
+++ b/docs/content/doc/usage/packages/rubygems.en-us.md
@@ -1,7 +1,7 @@
---
date: "2021-07-20T00:00:00+00:00"
title: "RubyGems Packages Repository"
-slug: "usage/packages/rubygems"
+slug: "rubygems"
weight: 110
draft: false
toc: false
diff --git a/docs/content/doc/packages/storage.en-us.md b/docs/content/doc/usage/packages/storage.en-us.md
index cd5952eb24..15481ba7a3 100644
--- a/docs/content/doc/packages/storage.en-us.md
+++ b/docs/content/doc/usage/packages/storage.en-us.md
@@ -1,7 +1,7 @@
---
date: "2022-11-01T00:00:00+00:00"
title: "Storage"
-slug: "usage/packages/storage"
+slug: "storage"
weight: 5
draft: false
toc: false
diff --git a/docs/content/doc/packages/swift.en-us.md b/docs/content/doc/usage/packages/swift.en-us.md
index 3f0cb13239..a1c818021c 100644
--- a/docs/content/doc/packages/swift.en-us.md
+++ b/docs/content/doc/usage/packages/swift.en-us.md
@@ -1,7 +1,7 @@
---
date: "2023-01-10T00:00:00+00:00"
title: "Swift Packages Repository"
-slug: "usage/packages/swift"
+slug: "swift"
weight: 95
draft: false
toc: false
diff --git a/docs/content/doc/packages/vagrant.en-us.md b/docs/content/doc/usage/packages/vagrant.en-us.md
index e224a99554..5c633b4f71 100644
--- a/docs/content/doc/packages/vagrant.en-us.md
+++ b/docs/content/doc/usage/packages/vagrant.en-us.md
@@ -1,7 +1,7 @@
---
date: "2022-08-23T00:00:00+00:00"
title: "Vagrant Packages Repository"
-slug: "usage/packages/vagrant"
+slug: "vagrant"
weight: 120
draft: false
toc: false
diff --git a/docs/content/doc/usage/permissions.en-us.md b/docs/content/doc/usage/permissions.en-us.md
index 013dbfabd4..0778f6943f 100644
--- a/docs/content/doc/usage/permissions.en-us.md
+++ b/docs/content/doc/usage/permissions.en-us.md
@@ -5,6 +5,8 @@ slug: "permissions"
weight: 14
toc: false
draft: false
+aliases:
+ - /en-us/permissions
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/protected-tags.en-us.md b/docs/content/doc/usage/protected-tags.en-us.md
index f7404d32cb..c5e763659d 100644
--- a/docs/content/doc/usage/protected-tags.en-us.md
+++ b/docs/content/doc/usage/protected-tags.en-us.md
@@ -5,6 +5,8 @@ slug: "protected-tags"
weight: 45
toc: false
draft: false
+aliases:
+ - /en-us/protected-tags
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/pull-request.en-us.md b/docs/content/doc/usage/pull-request.en-us.md
index c7fea88a5a..feb8f848c9 100644
--- a/docs/content/doc/usage/pull-request.en-us.md
+++ b/docs/content/doc/usage/pull-request.en-us.md
@@ -5,6 +5,8 @@ slug: "pull-request"
weight: 13
toc: false
draft: false
+aliases:
+ - /en-us/pull-request
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/pull-request.zh-cn.md b/docs/content/doc/usage/pull-request.zh-cn.md
index 04125672df..d64690c05e 100644
--- a/docs/content/doc/usage/pull-request.zh-cn.md
+++ b/docs/content/doc/usage/pull-request.zh-cn.md
@@ -5,6 +5,8 @@ slug: "pull-request"
weight: 13
toc: false
draft: false
+aliases:
+ - /zh-cn/pull-request
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/pull-request.zh-tw.md b/docs/content/doc/usage/pull-request.zh-tw.md
index b666fece13..54cd178321 100644
--- a/docs/content/doc/usage/pull-request.zh-tw.md
+++ b/docs/content/doc/usage/pull-request.zh-tw.md
@@ -5,6 +5,8 @@ slug: "pull-request"
weight: 13
toc: false
draft: false
+aliases:
+ - /zh-tw/pull-request
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/push.en-us.md b/docs/content/doc/usage/push.en-us.md
index cf858e4e51..097b07c9b4 100644
--- a/docs/content/doc/usage/push.en-us.md
+++ b/docs/content/doc/usage/push.en-us.md
@@ -5,6 +5,9 @@ slug: "push"
weight: 15
toc: false
draft: false
+aliases:
+ - /en-us/push-to-create
+ - /en-us/push-options
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/push.zh-tw.md b/docs/content/doc/usage/push.zh-tw.md
index f97d4285cc..5fe5052c11 100644
--- a/docs/content/doc/usage/push.zh-tw.md
+++ b/docs/content/doc/usage/push.zh-tw.md
@@ -5,6 +5,8 @@ slug: "push"
weight: 15
toc: false
draft: false
+aliases:
+ - /zh-tw/push-options
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/repo-mirror.en-us.md b/docs/content/doc/usage/repo-mirror.en-us.md
index 9a52282bb3..5e2b5c3238 100644
--- a/docs/content/doc/usage/repo-mirror.en-us.md
+++ b/docs/content/doc/usage/repo-mirror.en-us.md
@@ -5,6 +5,8 @@ slug: "repo-mirror"
weight: 45
toc: false
draft: false
+aliases:
+ - /en-us/repo-mirror
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/secrets.en-us.md b/docs/content/doc/usage/secrets.en-us.md
index b45044cc33..c193a54a6c 100644
--- a/docs/content/doc/usage/secrets.en-us.md
+++ b/docs/content/doc/usage/secrets.en-us.md
@@ -1,10 +1,12 @@
---
date: "2022-12-19T21:26:00+08:00"
title: "Secrets"
-slug: "usage/secrets"
+slug: "secrets"
weight: 50
draft: false
toc: false
+aliases:
+ - /en-us/secrets
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/template-repositories.en-us.md b/docs/content/doc/usage/template-repositories.en-us.md
index 9a2a23ed2b..0c278648b3 100644
--- a/docs/content/doc/usage/template-repositories.en-us.md
+++ b/docs/content/doc/usage/template-repositories.en-us.md
@@ -5,6 +5,8 @@ slug: "template-repositories"
weight: 14
toc: false
draft: false
+aliases:
+ - /en-us/template-repositories
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/webhooks.en-us.md b/docs/content/doc/usage/webhooks.en-us.md
index 457113c5cf..24cd48c919 100644
--- a/docs/content/doc/usage/webhooks.en-us.md
+++ b/docs/content/doc/usage/webhooks.en-us.md
@@ -5,6 +5,8 @@ slug: "webhooks"
weight: 30
toc: false
draft: false
+aliases:
+ - /en-us/webhooks
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/webhooks.zh-cn.md b/docs/content/doc/usage/webhooks.zh-cn.md
index 9e9f2bf502..44d97cc83f 100644
--- a/docs/content/doc/usage/webhooks.zh-cn.md
+++ b/docs/content/doc/usage/webhooks.zh-cn.md
@@ -5,6 +5,8 @@ slug: "webhooks"
weight: 30
toc: false
draft: false
+aliases:
+ - /zh-cn/webhooks
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/doc/usage/webhooks.zh-tw.md b/docs/content/doc/usage/webhooks.zh-tw.md
index 9afad42369..ca5991354a 100644
--- a/docs/content/doc/usage/webhooks.zh-tw.md
+++ b/docs/content/doc/usage/webhooks.zh-tw.md
@@ -5,6 +5,8 @@ slug: "webhooks"
weight: 30
toc: false
draft: false
+aliases:
+ - /zh-tw/webhooks
menu:
sidebar:
parent: "usage"
diff --git a/docs/content/page/index.zh-cn.md b/docs/content/page/index.zh-cn.md
index 5af67f5531..da25d8ee13 100644
--- a/docs/content/page/index.zh-cn.md
+++ b/docs/content/page/index.zh-cn.md
@@ -70,4 +70,4 @@ Gitea的首要目标是创建一个极易安装,运行非常快速,安装和
## 需要帮助?
-如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}})
+如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "support.zh-cn.md" >}})