From f072758afb5c4f9f73b1377d4e5c9d0b935f3bc2 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Thu, 27 Apr 2023 22:33:41 -0500 Subject: [PATCH] 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 --- doc/administration/_index.en-us.md | 0 doc/administration/_index.zh-cn.md | 0 doc/administration/_index.zh-tw.md | 0 .../adding-legal-pages.en-us.md | 2 ++ .../backup-and-restore.en-us.md | 2 ++ .../backup-and-restore.zh-cn.md | 2 ++ .../backup-and-restore.zh-tw.md | 2 ++ doc/administration/cmd-embedded.en-us.md | 2 ++ doc/administration/command-line.en-us.md | 2 ++ .../config-cheat-sheet.en-us.md | 2 ++ .../config-cheat-sheet.zh-cn.md | 2 ++ doc/administration/customizing-gitea.en-us.md | 2 ++ doc/administration/customizing-gitea.zh-cn.md | 2 ++ doc/administration/email-setup.en-us.md | 2 ++ .../environment-variables.en-us.md | 2 ++ .../environment-variables.zh-cn.md | 2 ++ .../external-renderers.en-us.md | 2 ++ doc/administration/fail2ban-setup.en-us.md | 2 ++ doc/administration/fail2ban-setup.zh-cn.md | 2 ++ doc/administration/git-lfs-support.en-us.md | 2 ++ doc/administration/https-support.en-us.md | 2 ++ .../logging-documentation.en-us.md | 4 ++- doc/administration/mail-templates.en-us.md | 2 ++ doc/administration/repo-indexer.en-us.md | 2 ++ doc/administration/reverse-proxies.en-us.md | 2 ++ doc/administration/reverse-proxies.zh-cn.md | 2 ++ .../search-engines-indexation.en-us.md | 2 ++ doc/administration/signing.en-us.md | 2 ++ doc/contributing/_index.de-de.md | 0 doc/contributing/_index.en-us.md | 0 doc/contributing/_index.zh-cn.md | 0 doc/contributing/_index.zh-tw.md | 0 doc/contributing/guidelines-backend.en-us.md | 2 ++ doc/contributing/guidelines-frontend.en-us.md | 2 ++ .../guidelines-refactoring.en-us.md | 2 ++ doc/contributing/localization.en-us.md | 2 ++ doc/contributing/localization.zh-cn.md | 2 ++ doc/contributing/localization.zh-tw.md | 2 ++ doc/development/_index.en-us.md | 0 doc/development/_index.zh-cn.md | 0 doc/development/_index.zh-tw.md | 0 doc/development/api-usage.en-us.md | 2 ++ doc/development/api-usage.zh-cn.md | 2 ++ doc/development/hacking-on-gitea.en-us.md | 2 ++ doc/development/hacking-on-gitea.zh-cn.md | 2 ++ doc/development/integrations.en-us.md | 2 ++ doc/development/integrations.zh-tw.md | 2 ++ doc/development/migrations.en-us.md | 2 ++ doc/development/migrations.zh-tw.md | 2 ++ doc/development/oauth2-provider.en-us.md | 2 ++ doc/development/oauth2-provider.zh-cn.md | 2 ++ doc/development/oauth2-provider.zh-tw.md | 2 ++ doc/help/_index.en-us.md | 0 doc/help/_index.zh-cn.md | 0 doc/help/_index.zh-tw.md | 0 doc/help/faq.en-us.md | 6 ++-- .../{seek-help.en-us.md => support.en-us.md} | 6 ++-- .../{seek-help.zh-cn.md => support.zh-cn.md} | 6 ++-- .../{seek-help.zh-tw.md => support.zh-tw.md} | 6 ++-- doc/installation/_index.en-us.md | 0 doc/installation/_index.fr-fr.md | 0 doc/installation/_index.zh-cn.md | 0 doc/installation/_index.zh-tw.md | 0 doc/installation/comparison.en-us.md | 2 ++ doc/installation/comparison.zh-cn.md | 2 ++ doc/installation/comparison.zh-tw.md | 2 ++ .../database-preparation.en-us.md | 2 ++ doc/installation/from-binary.en-us.md | 2 ++ doc/installation/from-binary.fr-fr.md | 2 ++ doc/installation/from-binary.zh-cn.md | 4 ++- doc/installation/from-binary.zh-tw.md | 2 ++ doc/installation/from-package.en-us.md | 2 ++ doc/installation/from-package.fr-fr.md | 2 ++ doc/installation/from-package.zh-cn.md | 4 ++- doc/installation/from-package.zh-tw.md | 2 ++ doc/installation/from-source.en-us.md | 2 ++ doc/installation/from-source.fr-fr.md | 2 ++ doc/installation/from-source.zh-cn.md | 4 ++- doc/installation/from-source.zh-tw.md | 2 ++ doc/installation/on-cloud-provider.en-us.md | 2 ++ doc/installation/on-kubernetes.en-us.md | 2 ++ doc/installation/on-kubernetes.zh-cn.md | 2 ++ doc/installation/on-kubernetes.zh-tw.md | 2 ++ .../run-as-service-in-ubuntu.en-us.md | 2 ++ .../run-as-service-in-ubuntu.zh-cn.md | 2 ++ .../run-as-service-in-ubuntu.zh-tw.md | 2 ++ doc/installation/upgrade-from-gitea.en-us.md | 2 ++ doc/installation/upgrade-from-gogs.en-us.md | 2 ++ doc/installation/upgrade-from-gogs.fr-fr.md | 2 ++ doc/installation/upgrade-from-gogs.zh-cn.md | 2 ++ doc/installation/upgrade-from-gogs.zh-tw.md | 2 ++ doc/installation/windows-service.en-us.md | 2 ++ doc/installation/windows-service.fr-fr.md | 2 ++ doc/installation/windows-service.zh-cn.md | 2 ++ doc/installation/windows-service.zh-tw.md | 2 ++ .../with-docker-rootless.en-us.md | 2 ++ doc/installation/with-docker.en-us.md | 2 ++ doc/installation/with-docker.fr-fr.md | 2 ++ doc/installation/with-docker.zh-cn.md | 2 ++ doc/installation/with-docker.zh-tw.md | 2 ++ doc/{help => }/search.de-de.md | 2 ++ doc/{help => }/search.en-us.md | 2 ++ doc/{help => }/search.fr-fr.md | 2 ++ doc/{help => }/search.nl-nl.md | 2 ++ doc/{help => }/search.pt-br.md | 2 ++ doc/{help => }/search.zh-cn.md | 2 ++ doc/{help => }/search.zh-tw.md | 2 ++ doc/usage/_index.en-us.md | 0 doc/usage/_index.zh-cn.md | 0 doc/usage/_index.zh-tw.md | 0 doc/usage/agit-support.en-us.md | 2 ++ doc/usage/authentication.en-us.md | 2 ++ doc/usage/authentication.zh-cn.md | 2 ++ doc/usage/authentication.zh-tw.md | 2 ++ doc/usage/clone-filter.en-us.md | 2 ++ doc/usage/incoming-email.en-us.md | 2 ++ .../issue-pull-request-templates.en-us.md | 2 ++ .../issue-pull-request-templates.zh-cn.md | 2 ++ doc/usage/labels.en-us.md | 2 ++ doc/usage/linked-references.en-us.md | 2 ++ doc/usage/merge-message-templates.en-us.md | 2 ++ doc/usage/packages/_index.en-us.md | 0 doc/{ => usage}/packages/cargo.en-us.md | 2 +- doc/{ => usage}/packages/chef.en-us.md | 2 +- doc/{ => usage}/packages/composer.en-us.md | 2 +- doc/{ => usage}/packages/conan.en-us.md | 2 +- doc/{ => usage}/packages/conda.en-us.md | 2 +- doc/{ => usage}/packages/container.en-us.md | 2 +- doc/{ => usage}/packages/generic.en-us.md | 2 +- doc/{ => usage}/packages/helm.en-us.md | 2 +- doc/{ => usage}/packages/maven.en-us.md | 2 +- doc/{ => usage}/packages/npm.en-us.md | 2 +- doc/{ => usage}/packages/nuget.en-us.md | 2 +- doc/{ => usage}/packages/overview.en-us.md | 34 +++++++++---------- doc/{ => usage}/packages/pub.en-us.md | 2 +- doc/{ => usage}/packages/pypi.en-us.md | 2 +- doc/{ => usage}/packages/rubygems.en-us.md | 2 +- doc/{ => usage}/packages/storage.en-us.md | 2 +- doc/{ => usage}/packages/swift.en-us.md | 2 +- doc/{ => usage}/packages/vagrant.en-us.md | 2 +- doc/usage/permissions.en-us.md | 2 ++ doc/usage/protected-tags.en-us.md | 2 ++ doc/usage/pull-request.en-us.md | 2 ++ doc/usage/pull-request.zh-cn.md | 2 ++ doc/usage/pull-request.zh-tw.md | 2 ++ doc/usage/push.en-us.md | 3 ++ doc/usage/push.zh-tw.md | 2 ++ doc/usage/repo-mirror.en-us.md | 2 ++ doc/usage/secrets.en-us.md | 4 ++- doc/usage/template-repositories.en-us.md | 2 ++ doc/usage/webhooks.en-us.md | 2 ++ doc/usage/webhooks.zh-cn.md | 2 ++ doc/usage/webhooks.zh-tw.md | 2 ++ page/index.zh-cn.md | 2 +- 154 files changed, 277 insertions(+), 48 deletions(-) create mode 100644 doc/administration/_index.en-us.md create mode 100644 doc/administration/_index.zh-cn.md create mode 100644 doc/administration/_index.zh-tw.md create mode 100644 doc/contributing/_index.de-de.md create mode 100644 doc/contributing/_index.en-us.md create mode 100644 doc/contributing/_index.zh-cn.md create mode 100644 doc/contributing/_index.zh-tw.md create mode 100644 doc/development/_index.en-us.md create mode 100644 doc/development/_index.zh-cn.md create mode 100644 doc/development/_index.zh-tw.md create mode 100644 doc/help/_index.en-us.md create mode 100644 doc/help/_index.zh-cn.md create mode 100644 doc/help/_index.zh-tw.md rename doc/help/{seek-help.en-us.md => support.en-us.md} (97%) rename doc/help/{seek-help.zh-cn.md => support.zh-cn.md} (89%) rename doc/help/{seek-help.zh-tw.md => support.zh-tw.md} (93%) create mode 100644 doc/installation/_index.en-us.md create mode 100644 doc/installation/_index.fr-fr.md create mode 100644 doc/installation/_index.zh-cn.md create mode 100644 doc/installation/_index.zh-tw.md rename doc/{help => }/search.de-de.md (93%) rename doc/{help => }/search.en-us.md (93%) rename doc/{help => }/search.fr-fr.md (93%) rename doc/{help => }/search.nl-nl.md (93%) rename doc/{help => }/search.pt-br.md (93%) rename doc/{help => }/search.zh-cn.md (93%) rename doc/{help => }/search.zh-tw.md (93%) create mode 100644 doc/usage/_index.en-us.md create mode 100644 doc/usage/_index.zh-cn.md create mode 100644 doc/usage/_index.zh-tw.md create mode 100644 doc/usage/packages/_index.en-us.md rename doc/{ => usage}/packages/cargo.en-us.md (99%) rename doc/{ => usage}/packages/chef.en-us.md (98%) rename doc/{ => usage}/packages/composer.en-us.md (99%) rename doc/{ => usage}/packages/conan.en-us.md (98%) rename doc/{ => usage}/packages/conda.en-us.md (98%) rename doc/{ => usage}/packages/container.en-us.md (98%) rename doc/{ => usage}/packages/generic.en-us.md (99%) rename doc/{ => usage}/packages/helm.en-us.md (98%) rename doc/{ => usage}/packages/maven.en-us.md (99%) rename doc/{ => usage}/packages/npm.en-us.md (99%) rename doc/{ => usage}/packages/nuget.en-us.md (99%) rename doc/{ => usage}/packages/overview.en-us.md (67%) rename doc/{ => usage}/packages/pub.en-us.md (98%) rename doc/{ => usage}/packages/pypi.en-us.md (98%) rename doc/{ => usage}/packages/rubygems.en-us.md (98%) rename doc/{ => usage}/packages/storage.en-us.md (99%) rename doc/{ => usage}/packages/swift.en-us.md (99%) rename doc/{ => usage}/packages/vagrant.en-us.md (98%) diff --git a/doc/administration/_index.en-us.md b/doc/administration/_index.en-us.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/administration/_index.zh-cn.md b/doc/administration/_index.zh-cn.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/administration/_index.zh-tw.md b/doc/administration/_index.zh-tw.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/administration/adding-legal-pages.en-us.md b/doc/administration/adding-legal-pages.en-us.md index 48aa2115..6de145ce 100644 --- a/doc/administration/adding-legal-pages.en-us.md +++ b/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/doc/administration/backup-and-restore.en-us.md b/doc/administration/backup-and-restore.en-us.md index b1e5a6ae..7dee038b 100644 --- a/doc/administration/backup-and-restore.en-us.md +++ b/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/doc/administration/backup-and-restore.zh-cn.md b/doc/administration/backup-and-restore.zh-cn.md index 602657f4..1a8f620a 100644 --- a/doc/administration/backup-and-restore.zh-cn.md +++ b/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/doc/administration/backup-and-restore.zh-tw.md b/doc/administration/backup-and-restore.zh-tw.md index cab95217..07b9b072 100644 --- a/doc/administration/backup-and-restore.zh-tw.md +++ b/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/doc/administration/cmd-embedded.en-us.md b/doc/administration/cmd-embedded.en-us.md index 229a1c01..e418138e 100644 --- a/doc/administration/cmd-embedded.en-us.md +++ b/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/doc/administration/command-line.en-us.md b/doc/administration/command-line.en-us.md index 4d01d6e6..bf4578af 100644 --- a/doc/administration/command-line.en-us.md +++ b/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/doc/administration/config-cheat-sheet.en-us.md b/doc/administration/config-cheat-sheet.en-us.md index be97edad..03cd93f9 100644 --- a/doc/administration/config-cheat-sheet.en-us.md +++ b/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/doc/administration/config-cheat-sheet.zh-cn.md b/doc/administration/config-cheat-sheet.zh-cn.md index 485d1062..eb015908 100644 --- a/doc/administration/config-cheat-sheet.zh-cn.md +++ b/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/doc/administration/customizing-gitea.en-us.md b/doc/administration/customizing-gitea.en-us.md index db31dc94..54ce2a71 100644 --- a/doc/administration/customizing-gitea.en-us.md +++ b/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/doc/administration/customizing-gitea.zh-cn.md b/doc/administration/customizing-gitea.zh-cn.md index 38729153..47230dde 100644 --- a/doc/administration/customizing-gitea.zh-cn.md +++ b/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/doc/administration/email-setup.en-us.md b/doc/administration/email-setup.en-us.md index b8a3324f..92ec95cc 100644 --- a/doc/administration/email-setup.en-us.md +++ b/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/doc/administration/environment-variables.en-us.md b/doc/administration/environment-variables.en-us.md index 83ff6f35..92dbeb80 100644 --- a/doc/administration/environment-variables.en-us.md +++ b/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/doc/administration/environment-variables.zh-cn.md b/doc/administration/environment-variables.zh-cn.md index e1488385..cbc9787c 100644 --- a/doc/administration/environment-variables.zh-cn.md +++ b/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/doc/administration/external-renderers.en-us.md b/doc/administration/external-renderers.en-us.md index a62c20e3..5e64bb84 100644 --- a/doc/administration/external-renderers.en-us.md +++ b/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/doc/administration/fail2ban-setup.en-us.md b/doc/administration/fail2ban-setup.en-us.md index 420c6ae5..1638e0dd 100644 --- a/doc/administration/fail2ban-setup.en-us.md +++ b/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/doc/administration/fail2ban-setup.zh-cn.md b/doc/administration/fail2ban-setup.zh-cn.md index 920d3f4a..f4f3cff4 100644 --- a/doc/administration/fail2ban-setup.zh-cn.md +++ b/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/doc/administration/git-lfs-support.en-us.md b/doc/administration/git-lfs-support.en-us.md index 95f4b958..884b1989 100644 --- a/doc/administration/git-lfs-support.en-us.md +++ b/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/doc/administration/https-support.en-us.md b/doc/administration/https-support.en-us.md index f5cd2868..d59ae2e8 100644 --- a/doc/administration/https-support.en-us.md +++ b/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/doc/administration/logging-documentation.en-us.md b/doc/administration/logging-documentation.en-us.md index 029eb5de..3b2bf807 100644 --- a/doc/administration/logging-documentation.en-us.md +++ b/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/doc/administration/mail-templates.en-us.md b/doc/administration/mail-templates.en-us.md index bc4b2ead..0740ccaa 100644 --- a/doc/administration/mail-templates.en-us.md +++ b/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/doc/administration/repo-indexer.en-us.md b/doc/administration/repo-indexer.en-us.md index 11ce547a..81d22434 100644 --- a/doc/administration/repo-indexer.en-us.md +++ b/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/doc/administration/reverse-proxies.en-us.md b/doc/administration/reverse-proxies.en-us.md index 5132ee83..d11552bb 100644 --- a/doc/administration/reverse-proxies.en-us.md +++ b/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/doc/administration/reverse-proxies.zh-cn.md b/doc/administration/reverse-proxies.zh-cn.md index e622773d..6504f720 100644 --- a/doc/administration/reverse-proxies.zh-cn.md +++ b/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/doc/administration/search-engines-indexation.en-us.md b/doc/administration/search-engines-indexation.en-us.md index 8c7f79d4..27427531 100644 --- a/doc/administration/search-engines-indexation.en-us.md +++ b/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/doc/administration/signing.en-us.md b/doc/administration/signing.en-us.md index 34580ab4..de539e34 100644 --- a/doc/administration/signing.en-us.md +++ b/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/doc/contributing/_index.de-de.md b/doc/contributing/_index.de-de.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/contributing/_index.en-us.md b/doc/contributing/_index.en-us.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/contributing/_index.zh-cn.md b/doc/contributing/_index.zh-cn.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/contributing/_index.zh-tw.md b/doc/contributing/_index.zh-tw.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/contributing/guidelines-backend.en-us.md b/doc/contributing/guidelines-backend.en-us.md index 6ae0ba51..fd0f8b08 100644 --- a/doc/contributing/guidelines-backend.en-us.md +++ b/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/doc/contributing/guidelines-frontend.en-us.md b/doc/contributing/guidelines-frontend.en-us.md index bde7d315..39a70eee 100644 --- a/doc/contributing/guidelines-frontend.en-us.md +++ b/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/doc/contributing/guidelines-refactoring.en-us.md b/doc/contributing/guidelines-refactoring.en-us.md index 913ce8d9..c8c8ee0e 100644 --- a/doc/contributing/guidelines-refactoring.en-us.md +++ b/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/doc/contributing/localization.en-us.md b/doc/contributing/localization.en-us.md index 3006ca59..7f78fb3f 100644 --- a/doc/contributing/localization.en-us.md +++ b/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/doc/contributing/localization.zh-cn.md b/doc/contributing/localization.zh-cn.md index c20f4d41..99a9f374 100644 --- a/doc/contributing/localization.zh-cn.md +++ b/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/doc/contributing/localization.zh-tw.md b/doc/contributing/localization.zh-tw.md index 815fbc31..cfdc1dcb 100644 --- a/doc/contributing/localization.zh-tw.md +++ b/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/doc/development/_index.en-us.md b/doc/development/_index.en-us.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/development/_index.zh-cn.md b/doc/development/_index.zh-cn.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/development/_index.zh-tw.md b/doc/development/_index.zh-tw.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/development/api-usage.en-us.md b/doc/development/api-usage.en-us.md index 64101260..fe334827 100644 --- a/doc/development/api-usage.en-us.md +++ b/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/doc/development/api-usage.zh-cn.md b/doc/development/api-usage.zh-cn.md index b0821039..ceb69b3f 100644 --- a/doc/development/api-usage.zh-cn.md +++ b/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/doc/development/hacking-on-gitea.en-us.md b/doc/development/hacking-on-gitea.en-us.md index da38d238..8ac7fcc3 100644 --- a/doc/development/hacking-on-gitea.en-us.md +++ b/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/doc/development/hacking-on-gitea.zh-cn.md b/doc/development/hacking-on-gitea.zh-cn.md index c63d0c46..3a4078df 100644 --- a/doc/development/hacking-on-gitea.zh-cn.md +++ b/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/doc/development/integrations.en-us.md b/doc/development/integrations.en-us.md index dae557c9..bbb50ae7 100644 --- a/doc/development/integrations.en-us.md +++ b/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/doc/development/integrations.zh-tw.md b/doc/development/integrations.zh-tw.md index fdc21039..278a8f41 100644 --- a/doc/development/integrations.zh-tw.md +++ b/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/doc/development/migrations.en-us.md b/doc/development/migrations.en-us.md index 1d910325..f4116341 100644 --- a/doc/development/migrations.en-us.md +++ b/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/doc/development/migrations.zh-tw.md b/doc/development/migrations.zh-tw.md index bf995598..de4ddd78 100644 --- a/doc/development/migrations.zh-tw.md +++ b/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/doc/development/oauth2-provider.en-us.md b/doc/development/oauth2-provider.en-us.md index 7be7a429..b279e97a 100644 --- a/doc/development/oauth2-provider.en-us.md +++ b/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/doc/development/oauth2-provider.zh-cn.md b/doc/development/oauth2-provider.zh-cn.md index 926500d6..3fbf174e 100644 --- a/doc/development/oauth2-provider.zh-cn.md +++ b/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/doc/development/oauth2-provider.zh-tw.md b/doc/development/oauth2-provider.zh-tw.md index b28e48d6..8d62264a 100644 --- a/doc/development/oauth2-provider.zh-tw.md +++ b/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/doc/help/_index.en-us.md b/doc/help/_index.en-us.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/help/_index.zh-cn.md b/doc/help/_index.zh-cn.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/help/_index.zh-tw.md b/doc/help/_index.zh-tw.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/help/faq.en-us.md b/doc/help/faq.en-us.md index 4847e8e0..53215e18 100644 --- a/doc/help/faq.en-us.md +++ b/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 `. -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/doc/help/seek-help.en-us.md b/doc/help/support.en-us.md similarity index 97% rename from doc/help/seek-help.en-us.md rename to doc/help/support.en-us.md index 0e56b9a5..c6db3d6e 100644 --- a/doc/help/seek-help.en-us.md +++ b/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/doc/help/seek-help.zh-cn.md b/doc/help/support.zh-cn.md similarity index 89% rename from doc/help/seek-help.zh-cn.md rename to doc/help/support.zh-cn.md index 80febad2..775dfe83 100644 --- a/doc/help/seek-help.zh-cn.md +++ b/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/doc/help/seek-help.zh-tw.md b/doc/help/support.zh-tw.md similarity index 93% rename from doc/help/seek-help.zh-tw.md rename to doc/help/support.zh-tw.md index f87dad54..a9c35eaa 100644 --- a/doc/help/seek-help.zh-tw.md +++ b/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/doc/installation/_index.en-us.md b/doc/installation/_index.en-us.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/installation/_index.fr-fr.md b/doc/installation/_index.fr-fr.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/installation/_index.zh-cn.md b/doc/installation/_index.zh-cn.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/installation/_index.zh-tw.md b/doc/installation/_index.zh-tw.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/installation/comparison.en-us.md b/doc/installation/comparison.en-us.md index 082b2a85..578b00c2 100644 --- a/doc/installation/comparison.en-us.md +++ b/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/doc/installation/comparison.zh-cn.md b/doc/installation/comparison.zh-cn.md index 7dfca526..06c770ca 100644 --- a/doc/installation/comparison.zh-cn.md +++ b/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/doc/installation/comparison.zh-tw.md b/doc/installation/comparison.zh-tw.md index 89190523..042acba8 100644 --- a/doc/installation/comparison.zh-tw.md +++ b/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/doc/installation/database-preparation.en-us.md b/doc/installation/database-preparation.en-us.md index edad89b0..4b0d1b5b 100644 --- a/doc/installation/database-preparation.en-us.md +++ b/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/doc/installation/from-binary.en-us.md b/doc/installation/from-binary.en-us.md index ce1d7e5a..c7824c34 100644 --- a/doc/installation/from-binary.en-us.md +++ b/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/doc/installation/from-binary.fr-fr.md b/doc/installation/from-binary.fr-fr.md index 7dfbe7dd..eea38193 100644 --- a/doc/installation/from-binary.fr-fr.md +++ b/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/doc/installation/from-binary.zh-cn.md b/doc/installation/from-binary.zh-cn.md index 55cf6c1d..abe799dc 100644 --- a/doc/installation/from-binary.zh-cn.md +++ b/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/doc/installation/from-binary.zh-tw.md b/doc/installation/from-binary.zh-tw.md index 3991b101..858cee21 100644 --- a/doc/installation/from-binary.zh-tw.md +++ b/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/doc/installation/from-package.en-us.md b/doc/installation/from-package.en-us.md index 2615b7d2..15283d58 100644 --- a/doc/installation/from-package.en-us.md +++ b/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/doc/installation/from-package.fr-fr.md b/doc/installation/from-package.fr-fr.md index eff74c31..b7e84240 100644 --- a/doc/installation/from-package.fr-fr.md +++ b/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/doc/installation/from-package.zh-cn.md b/doc/installation/from-package.zh-cn.md index e3ed3aa3..a8e92694 100644 --- a/doc/installation/from-package.zh-cn.md +++ b/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/doc/installation/from-package.zh-tw.md b/doc/installation/from-package.zh-tw.md index 1616ba66..c5347991 100644 --- a/doc/installation/from-package.zh-tw.md +++ b/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/doc/installation/from-source.en-us.md b/doc/installation/from-source.en-us.md index 45064a43..72a3e124 100644 --- a/doc/installation/from-source.en-us.md +++ b/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/doc/installation/from-source.fr-fr.md b/doc/installation/from-source.fr-fr.md index ebb09417..544059b5 100644 --- a/doc/installation/from-source.fr-fr.md +++ b/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/doc/installation/from-source.zh-cn.md b/doc/installation/from-source.zh-cn.md index 9d5c50cb..8f3ccbe7 100644 --- a/doc/installation/from-source.zh-cn.md +++ b/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/doc/installation/from-source.zh-tw.md b/doc/installation/from-source.zh-tw.md index fc9c2dca..f9e6e06e 100644 --- a/doc/installation/from-source.zh-tw.md +++ b/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/doc/installation/on-cloud-provider.en-us.md b/doc/installation/on-cloud-provider.en-us.md index 550ef3f6..20ca812e 100644 --- a/doc/installation/on-cloud-provider.en-us.md +++ b/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/doc/installation/on-kubernetes.en-us.md b/doc/installation/on-kubernetes.en-us.md index e8f3612e..b46a61df 100644 --- a/doc/installation/on-kubernetes.en-us.md +++ b/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/doc/installation/on-kubernetes.zh-cn.md b/doc/installation/on-kubernetes.zh-cn.md index 91dec2e7..367aef1c 100644 --- a/doc/installation/on-kubernetes.zh-cn.md +++ b/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/doc/installation/on-kubernetes.zh-tw.md b/doc/installation/on-kubernetes.zh-tw.md index 6d31a14b..51446911 100644 --- a/doc/installation/on-kubernetes.zh-tw.md +++ b/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/doc/installation/run-as-service-in-ubuntu.en-us.md b/doc/installation/run-as-service-in-ubuntu.en-us.md index 19b3be1a..3587dfc0 100644 --- a/doc/installation/run-as-service-in-ubuntu.en-us.md +++ b/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/doc/installation/run-as-service-in-ubuntu.zh-cn.md b/doc/installation/run-as-service-in-ubuntu.zh-cn.md index aa00a42a..62312c06 100644 --- a/doc/installation/run-as-service-in-ubuntu.zh-cn.md +++ b/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/doc/installation/run-as-service-in-ubuntu.zh-tw.md b/doc/installation/run-as-service-in-ubuntu.zh-tw.md index de811d73..6b8a4cfc 100644 --- a/doc/installation/run-as-service-in-ubuntu.zh-tw.md +++ b/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/doc/installation/upgrade-from-gitea.en-us.md b/doc/installation/upgrade-from-gitea.en-us.md index 8748573a..a6415f78 100644 --- a/doc/installation/upgrade-from-gitea.en-us.md +++ b/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/doc/installation/upgrade-from-gogs.en-us.md b/doc/installation/upgrade-from-gogs.en-us.md index 5b08ed2f..2e149c6a 100644 --- a/doc/installation/upgrade-from-gogs.en-us.md +++ b/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/doc/installation/upgrade-from-gogs.fr-fr.md b/doc/installation/upgrade-from-gogs.fr-fr.md index 2ce1b4bf..9a46562f 100644 --- a/doc/installation/upgrade-from-gogs.fr-fr.md +++ b/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/doc/installation/upgrade-from-gogs.zh-cn.md b/doc/installation/upgrade-from-gogs.zh-cn.md index 048cfee7..f537896c 100644 --- a/doc/installation/upgrade-from-gogs.zh-cn.md +++ b/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/doc/installation/upgrade-from-gogs.zh-tw.md b/doc/installation/upgrade-from-gogs.zh-tw.md index 0082bf73..9812efaf 100644 --- a/doc/installation/upgrade-from-gogs.zh-tw.md +++ b/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/doc/installation/windows-service.en-us.md b/doc/installation/windows-service.en-us.md index 6efc1fd5..d3f5a9ab 100644 --- a/doc/installation/windows-service.en-us.md +++ b/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/doc/installation/windows-service.fr-fr.md b/doc/installation/windows-service.fr-fr.md index a0f8f057..c4e00b04 100644 --- a/doc/installation/windows-service.fr-fr.md +++ b/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/doc/installation/windows-service.zh-cn.md b/doc/installation/windows-service.zh-cn.md index 8388a057..0f2a0f58 100644 --- a/doc/installation/windows-service.zh-cn.md +++ b/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/doc/installation/windows-service.zh-tw.md b/doc/installation/windows-service.zh-tw.md index a2934a52..5764d647 100644 --- a/doc/installation/windows-service.zh-tw.md +++ b/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/doc/installation/with-docker-rootless.en-us.md b/doc/installation/with-docker-rootless.en-us.md index f33e99c5..e1073a1d 100644 --- a/doc/installation/with-docker-rootless.en-us.md +++ b/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/doc/installation/with-docker.en-us.md b/doc/installation/with-docker.en-us.md index 05764e0b..043a10c0 100644 --- a/doc/installation/with-docker.en-us.md +++ b/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/doc/installation/with-docker.fr-fr.md b/doc/installation/with-docker.fr-fr.md index 59f2b075..362aa5fc 100644 --- a/doc/installation/with-docker.fr-fr.md +++ b/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/doc/installation/with-docker.zh-cn.md b/doc/installation/with-docker.zh-cn.md index e5bb07b4..50acc3ff 100644 --- a/doc/installation/with-docker.zh-cn.md +++ b/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/doc/installation/with-docker.zh-tw.md b/doc/installation/with-docker.zh-tw.md index e2e47e87..fdf5a010 100644 --- a/doc/installation/with-docker.zh-tw.md +++ b/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/doc/help/search.de-de.md b/doc/search.de-de.md similarity index 93% rename from doc/help/search.de-de.md rename to doc/search.de-de.md index d22e9c1b..29c15317 100644 --- a/doc/help/search.de-de.md +++ b/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/doc/help/search.en-us.md b/doc/search.en-us.md similarity index 93% rename from doc/help/search.en-us.md rename to doc/search.en-us.md index d22e9c1b..60a4898c 100644 --- a/doc/help/search.en-us.md +++ b/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/doc/help/search.fr-fr.md b/doc/search.fr-fr.md similarity index 93% rename from doc/help/search.fr-fr.md rename to doc/search.fr-fr.md index 421f7830..d3f85c96 100644 --- a/doc/help/search.fr-fr.md +++ b/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/doc/help/search.nl-nl.md b/doc/search.nl-nl.md similarity index 93% rename from doc/help/search.nl-nl.md rename to doc/search.nl-nl.md index d22e9c1b..9ca7a34d 100644 --- a/doc/help/search.nl-nl.md +++ b/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/doc/help/search.pt-br.md b/doc/search.pt-br.md similarity index 93% rename from doc/help/search.pt-br.md rename to doc/search.pt-br.md index d22e9c1b..0a70026c 100644 --- a/doc/help/search.pt-br.md +++ b/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/doc/help/search.zh-cn.md b/doc/search.zh-cn.md similarity index 93% rename from doc/help/search.zh-cn.md rename to doc/search.zh-cn.md index 778df0d4..50415c25 100644 --- a/doc/help/search.zh-cn.md +++ b/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/doc/help/search.zh-tw.md b/doc/search.zh-tw.md similarity index 93% rename from doc/help/search.zh-tw.md rename to doc/search.zh-tw.md index 8f2ce17e..746cb14c 100644 --- a/doc/help/search.zh-tw.md +++ b/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/doc/usage/_index.en-us.md b/doc/usage/_index.en-us.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/usage/_index.zh-cn.md b/doc/usage/_index.zh-cn.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/usage/_index.zh-tw.md b/doc/usage/_index.zh-tw.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/usage/agit-support.en-us.md b/doc/usage/agit-support.en-us.md index b005e1bd..30e2879e 100644 --- a/doc/usage/agit-support.en-us.md +++ b/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/doc/usage/authentication.en-us.md b/doc/usage/authentication.en-us.md index 5478ee94..2b8cdd29 100644 --- a/doc/usage/authentication.en-us.md +++ b/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/doc/usage/authentication.zh-cn.md b/doc/usage/authentication.zh-cn.md index 403c3f43..37ecc8ba 100644 --- a/doc/usage/authentication.zh-cn.md +++ b/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/doc/usage/authentication.zh-tw.md b/doc/usage/authentication.zh-tw.md index 958c498f..75959802 100644 --- a/doc/usage/authentication.zh-tw.md +++ b/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/doc/usage/clone-filter.en-us.md b/doc/usage/clone-filter.en-us.md index 7d4ba2d9..8331c138 100644 --- a/doc/usage/clone-filter.en-us.md +++ b/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/doc/usage/incoming-email.en-us.md b/doc/usage/incoming-email.en-us.md index 867e9d8a..205b3dd8 100644 --- a/doc/usage/incoming-email.en-us.md +++ b/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/doc/usage/issue-pull-request-templates.en-us.md b/doc/usage/issue-pull-request-templates.en-us.md index 10748468..b48763cf 100644 --- a/doc/usage/issue-pull-request-templates.en-us.md +++ b/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/doc/usage/issue-pull-request-templates.zh-cn.md b/doc/usage/issue-pull-request-templates.zh-cn.md index 866378e2..135dcf8d 100644 --- a/doc/usage/issue-pull-request-templates.zh-cn.md +++ b/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/doc/usage/labels.en-us.md b/doc/usage/labels.en-us.md index 7c249497..bf60951d 100644 --- a/doc/usage/labels.en-us.md +++ b/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/doc/usage/linked-references.en-us.md b/doc/usage/linked-references.en-us.md index 335d2654..8cd4ff7b 100644 --- a/doc/usage/linked-references.en-us.md +++ b/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/doc/usage/merge-message-templates.en-us.md b/doc/usage/merge-message-templates.en-us.md index 70710b98..751f07e1 100644 --- a/doc/usage/merge-message-templates.en-us.md +++ b/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/doc/usage/packages/_index.en-us.md b/doc/usage/packages/_index.en-us.md new file mode 100644 index 00000000..e69de29b diff --git a/doc/packages/cargo.en-us.md b/doc/usage/packages/cargo.en-us.md similarity index 99% rename from doc/packages/cargo.en-us.md rename to doc/usage/packages/cargo.en-us.md index 1beeba40..a74384cc 100644 --- a/doc/packages/cargo.en-us.md +++ b/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/doc/packages/chef.en-us.md b/doc/usage/packages/chef.en-us.md similarity index 98% rename from doc/packages/chef.en-us.md rename to doc/usage/packages/chef.en-us.md index ab7150a2..dc5ca21e 100644 --- a/doc/packages/chef.en-us.md +++ b/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/doc/packages/composer.en-us.md b/doc/usage/packages/composer.en-us.md similarity index 99% rename from doc/packages/composer.en-us.md rename to doc/usage/packages/composer.en-us.md index 6055ff31..16c367eb 100644 --- a/doc/packages/composer.en-us.md +++ b/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/doc/packages/conan.en-us.md b/doc/usage/packages/conan.en-us.md similarity index 98% rename from doc/packages/conan.en-us.md rename to doc/usage/packages/conan.en-us.md index ff89fc15..8c8fe4e2 100644 --- a/doc/packages/conan.en-us.md +++ b/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/doc/packages/conda.en-us.md b/doc/usage/packages/conda.en-us.md similarity index 98% rename from doc/packages/conda.en-us.md rename to doc/usage/packages/conda.en-us.md index 1a7cd863..c9a85223 100644 --- a/doc/packages/conda.en-us.md +++ b/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/doc/packages/container.en-us.md b/doc/usage/packages/container.en-us.md similarity index 98% rename from doc/packages/container.en-us.md rename to doc/usage/packages/container.en-us.md index 5fd990b4..457e6fb1 100644 --- a/doc/packages/container.en-us.md +++ b/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/doc/packages/generic.en-us.md b/doc/usage/packages/generic.en-us.md similarity index 99% rename from doc/packages/generic.en-us.md rename to doc/usage/packages/generic.en-us.md index 55b1868b..fbfe42d5 100644 --- a/doc/packages/generic.en-us.md +++ b/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/doc/packages/helm.en-us.md b/doc/usage/packages/helm.en-us.md similarity index 98% rename from doc/packages/helm.en-us.md rename to doc/usage/packages/helm.en-us.md index 263218b3..1db1e875 100644 --- a/doc/packages/helm.en-us.md +++ b/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/doc/packages/maven.en-us.md b/doc/usage/packages/maven.en-us.md similarity index 99% rename from doc/packages/maven.en-us.md rename to doc/usage/packages/maven.en-us.md index 408a02a7..81c3e221 100644 --- a/doc/packages/maven.en-us.md +++ b/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/doc/packages/npm.en-us.md b/doc/usage/packages/npm.en-us.md similarity index 99% rename from doc/packages/npm.en-us.md rename to doc/usage/packages/npm.en-us.md index fb135108..a15cdb9a 100644 --- a/doc/packages/npm.en-us.md +++ b/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/doc/packages/nuget.en-us.md b/doc/usage/packages/nuget.en-us.md similarity index 99% rename from doc/packages/nuget.en-us.md rename to doc/usage/packages/nuget.en-us.md index 1309b4ca..aa88fa62 100644 --- a/doc/packages/nuget.en-us.md +++ b/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/doc/packages/overview.en-us.md b/doc/usage/packages/overview.en-us.md similarity index 67% rename from doc/packages/overview.en-us.md rename to doc/usage/packages/overview.en-us.md index e6d984af..fdeaf15a 100644 --- a/doc/packages/overview.en-us.md +++ b/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/doc/packages/pub.en-us.md b/doc/usage/packages/pub.en-us.md similarity index 98% rename from doc/packages/pub.en-us.md rename to doc/usage/packages/pub.en-us.md index ebe42f18..f2df2016 100644 --- a/doc/packages/pub.en-us.md +++ b/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/doc/packages/pypi.en-us.md b/doc/usage/packages/pypi.en-us.md similarity index 98% rename from doc/packages/pypi.en-us.md rename to doc/usage/packages/pypi.en-us.md index 163eaa96..84d9453d 100644 --- a/doc/packages/pypi.en-us.md +++ b/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/doc/packages/rubygems.en-us.md b/doc/usage/packages/rubygems.en-us.md similarity index 98% rename from doc/packages/rubygems.en-us.md rename to doc/usage/packages/rubygems.en-us.md index cb53b137..be60ed37 100644 --- a/doc/packages/rubygems.en-us.md +++ b/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/doc/packages/storage.en-us.md b/doc/usage/packages/storage.en-us.md similarity index 99% rename from doc/packages/storage.en-us.md rename to doc/usage/packages/storage.en-us.md index cd5952eb..15481ba7 100644 --- a/doc/packages/storage.en-us.md +++ b/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/doc/packages/swift.en-us.md b/doc/usage/packages/swift.en-us.md similarity index 99% rename from doc/packages/swift.en-us.md rename to doc/usage/packages/swift.en-us.md index 3f0cb132..a1c81802 100644 --- a/doc/packages/swift.en-us.md +++ b/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/doc/packages/vagrant.en-us.md b/doc/usage/packages/vagrant.en-us.md similarity index 98% rename from doc/packages/vagrant.en-us.md rename to doc/usage/packages/vagrant.en-us.md index e224a995..5c633b4f 100644 --- a/doc/packages/vagrant.en-us.md +++ b/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/doc/usage/permissions.en-us.md b/doc/usage/permissions.en-us.md index 013dbfab..0778f694 100644 --- a/doc/usage/permissions.en-us.md +++ b/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/doc/usage/protected-tags.en-us.md b/doc/usage/protected-tags.en-us.md index f7404d32..c5e76365 100644 --- a/doc/usage/protected-tags.en-us.md +++ b/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/doc/usage/pull-request.en-us.md b/doc/usage/pull-request.en-us.md index c7fea88a..feb8f848 100644 --- a/doc/usage/pull-request.en-us.md +++ b/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/doc/usage/pull-request.zh-cn.md b/doc/usage/pull-request.zh-cn.md index 04125672..d64690c0 100644 --- a/doc/usage/pull-request.zh-cn.md +++ b/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/doc/usage/pull-request.zh-tw.md b/doc/usage/pull-request.zh-tw.md index b666fece..54cd1783 100644 --- a/doc/usage/pull-request.zh-tw.md +++ b/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/doc/usage/push.en-us.md b/doc/usage/push.en-us.md index cf858e4e..097b07c9 100644 --- a/doc/usage/push.en-us.md +++ b/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/doc/usage/push.zh-tw.md b/doc/usage/push.zh-tw.md index f97d4285..5fe5052c 100644 --- a/doc/usage/push.zh-tw.md +++ b/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/doc/usage/repo-mirror.en-us.md b/doc/usage/repo-mirror.en-us.md index 9a52282b..5e2b5c32 100644 --- a/doc/usage/repo-mirror.en-us.md +++ b/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/doc/usage/secrets.en-us.md b/doc/usage/secrets.en-us.md index b45044cc..c193a54a 100644 --- a/doc/usage/secrets.en-us.md +++ b/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/doc/usage/template-repositories.en-us.md b/doc/usage/template-repositories.en-us.md index 9a2a23ed..0c278648 100644 --- a/doc/usage/template-repositories.en-us.md +++ b/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/doc/usage/webhooks.en-us.md b/doc/usage/webhooks.en-us.md index 457113c5..24cd48c9 100644 --- a/doc/usage/webhooks.en-us.md +++ b/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/doc/usage/webhooks.zh-cn.md b/doc/usage/webhooks.zh-cn.md index 9e9f2bf5..44d97cc8 100644 --- a/doc/usage/webhooks.zh-cn.md +++ b/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/doc/usage/webhooks.zh-tw.md b/doc/usage/webhooks.zh-tw.md index 9afad423..ca599135 100644 --- a/doc/usage/webhooks.zh-tw.md +++ b/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/page/index.zh-cn.md b/page/index.zh-cn.md index 5af67f55..da25d8ee 100644 --- a/page/index.zh-cn.md +++ b/page/index.zh-cn.md @@ -70,4 +70,4 @@ Gitea的首要目标是创建一个极易安装,运行非常快速,安装和 ## 需要帮助? -如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "seek-help.zh-cn.md" >}}) +如果从本页中没有找到你需要的内容,请访问 [帮助页面]({{< relref "support.zh-cn.md" >}})