Update docs markdown file weight to make it clear (#23909)

For Docusaurus, it needs a meta data named `sidebar_position`, so we
copy all `weight` under `menu/sidebar` as top meta key.
This commit is contained in:
Lunny Xiao 2023-04-04 21:47:31 +08:00 committed by GitHub
parent 6b0df6d8da
commit 67103eb2bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
89 changed files with 117 additions and 97 deletions

View file

@ -2,7 +2,7 @@
date: "2019-12-28"
title: "Adding Legal Pages"
slug: adding-legal-pages
weight: 9
weight: 110
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2020-01-25T21:00:00-03:00"
title: "Embedded data extraction tool"
slug: "cmd-embedded"
weight: 40
weight: 20
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2017-01-01T16:00:00+02:00"
title: "Usage: Command Line"
slug: "command-line"
weight: 10
weight: 1
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-26T16:00:00+02:00"
title: "Config Cheat Sheet"
slug: "config-cheat-sheet"
weight: 20
weight: 30
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-26T16:00:00+02:00"
title: "配置说明"
slug: "config-cheat-sheet"
weight: 20
weight: 30
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2017-04-15T14:56:00+02:00"
title: "Customizing Gitea"
slug: "customizing-gitea"
weight: 9
weight: 100
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2017-04-15T14:56:00+02:00"
title: "自定义 Gitea 配置"
slug: "customizing-gitea"
weight: 9
weight: 100
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2017-04-08T11:34:00+02:00"
title: "Environment variables"
slug: "environment-variables"
weight: 20
weight: 10
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2017-04-08T11:34:00+02:00"
title: "环境变量清单"
slug: "environment-variables"
weight: 20
weight: 10
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2018-11-23:00:00+02:00"
title: "External renderers"
slug: "external-renderers"
weight: 40
weight: 60
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2019-04-02T17:06:00+01:00"
title: "Advanced: Logging Configuration"
slug: "logging-configuration"
weight: 55
weight: 40
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2018-05-22T11:00:00+00:00"
title: "Usage: Reverse Proxies"
slug: "reverse-proxies"
weight: 17
weight: 16
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2018-05-22T11:00:00+00:00"
title: "使用:反向代理"
slug: "reverse-proxies"
weight: 17
weight: 16
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2019-12-31T13:55:00+05:00"
title: "Advanced: Search Engines Indexation"
slug: "search-engines-indexation"
weight: 30
weight: 60
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2019-08-17T10:20:00+01:00"
title: "GPG Commit Signatures"
slug: "signing"
weight: 20
weight: 50
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "本地化"
slug: "localization"
weight: 10
weight: 20
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "在地化"
slug: "localization"
weight: 10
weight: 20
toc: false
draft: false
menu:

View file

@ -1,7 +1,7 @@
---
date: "2021-01-22T00:00:00+02:00"
title: "Übersetzungs Richtlinien"
weight: 10
weight: 70
toc: true
draft: false
menu:

View file

@ -1,7 +1,7 @@
---
date: "2021-01-22T00:00:00+02:00"
title: "Translation Guidelines"
weight: 10
weight: 70
toc: true
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2019-04-15T17:29:00+08:00"
title: "Integrations"
slug: "integrations"
weight: 40
weight: 65
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2019-04-15T17:29:00+08:00"
title: "整合"
slug: "integrations"
weight: 40
weight: 65
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2019-04-15T17:29:00+08:00"
title: "Migrations Interfaces"
slug: "migrations-interfaces"
weight: 30
weight: 55
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2019-04-15T17:29:00+08:00"
title: "遷移介面"
slug: "migrations-interfaces"
weight: 30
weight: 55
toc: false
draft: false
menu:

View file

@ -2,11 +2,11 @@
date: "2019-11-12T16:00:00+02:00"
title: "Search"
slug: "search"
weight: 4
weight: 1
toc: false
draft: false
sitemap:
priority : 0.1
priority : 1
layout: "search"
---

View file

@ -2,11 +2,11 @@
date: "2019-11-12T16:00:00+02:00"
title: "Search"
slug: "search"
weight: 4
weight: 1
toc: false
draft: false
sitemap:
priority : 0.1
priority : 1
layout: "search"
---

View file

@ -2,11 +2,11 @@
date: "2019-11-12T16:00:00+02:00"
title: "Chercher"
slug: "search"
weight: 4
weight: 1
toc: false
draft: false
sitemap:
priority : 0.1
priority : 1
layout: "search"
---

View file

@ -2,11 +2,11 @@
date: "2019-11-12T16:00:00+02:00"
title: "Search"
slug: "search"
weight: 4
weight: 1
toc: false
draft: false
sitemap:
priority : 0.1
priority : 1
layout: "search"
---

View file

@ -2,11 +2,11 @@
date: "2019-11-12T16:00:00+02:00"
title: "Search"
slug: "search"
weight: 4
weight: 1
toc: false
draft: false
sitemap:
priority : 0.1
priority : 1
layout: "search"
---

View file

@ -2,11 +2,11 @@
date: "2019-11-12T16:00:00+02:00"
title: "搜索"
slug: "search"
weight: 4
weight: 1
toc: false
draft: false
sitemap:
priority : 0.1
priority : 1
layout: "search"
---

View file

@ -2,11 +2,11 @@
date: "2019-11-12T16:00:00+02:00"
title: "搜尋"
slug: "search"
weight: 4
weight: 1
toc: false
draft: false
sitemap:
priority : 0.1
priority : 1
layout: "search"
---

View file

@ -2,7 +2,7 @@
date: "2018-05-21T15:00:00+00:00"
title: "Support Options"
slug: "seek-help"
weight: 10
weight: 20
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2017-01-20T15:00:00+08:00"
title: "需要帮助"
slug: "seek-help"
weight: 10
weight: 20
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2018-05-21T15:00:00+00:00"
title: "取得協助"
slug: "seek-help"
weight: 10
weight: 20
toc: false
draft: false
menu:

View file

@ -9,7 +9,7 @@ menu:
sidebar:
parent: "installation"
name: "Database preparation"
weight: 5
weight: 10
identifier: "database-prep"
---

View file

@ -2,14 +2,14 @@
date: "2017-06-19T12:00:00+02:00"
title: "Installation from binary"
slug: "install-from-binary"
weight: 10
weight: 15
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "From binary"
weight: 20
weight: 15
identifier: "install-from-binary"
---

View file

@ -2,14 +2,14 @@
date: "2017-08-23T09:00:00+02:00"
title: "Installation avec le binaire pré-compilé"
slug: "install-from-binary"
weight: 10
weight: 15
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "Binaire pré-compilé"
weight: 20
weight: 15
identifier: "install-from-binary"
---

View file

@ -2,14 +2,14 @@
date: "2016-12-01T16:00:00+02:00"
title: "从二进制安装"
slug: "install-from-binary"
weight: 10
weight: 15
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "从二进制安装"
weight: 20
weight: 15
identifier: "install-from-binary"
---

View file

@ -2,14 +2,14 @@
date: "2016-12-01T16:00:00+02:00"
title: "執行檔安裝"
slug: "install-from-binary"
weight: 10
weight: 15
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "執行檔"
weight: 20
weight: 15
identifier: "install-from-binary"
---

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "Installation depuis le gestionnaire de paquets"
slug: "install-from-package"
weight: 10
weight: 20
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "使用包管理器安装"
slug: "install-from-package"
weight: 10
weight: 20
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "套件安裝"
slug: "install-from-package"
weight: 10
weight: 20
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "Installation from source"
slug: "install-from-source"
weight: 10
weight: 30
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2017-08-23T09:00:00+02:00"
title: "Installation depuis le code source"
slug: "install-from-source"
weight: 10
weight: 30
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "从源代码安装"
slug: "install-from-source"
weight: 10
weight: 30
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "原始碼安裝"
slug: "install-from-source"
weight: 10
weight: 30
toc: false
draft: false
menu:

View file

@ -2,14 +2,14 @@
date: "2016-12-01T16:00:00+02:00"
title: "Install on Cloud Provider"
slug: "install-on-cloud-provider"
weight: 20
weight: 90
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "On cloud provider"
weight: 20
weight: 90
identifier: "install-on-cloud-provider"
---

View file

@ -2,14 +2,14 @@
date: "2020-03-19T19:27:00+02:00"
title: "Install on Kubernetes"
slug: "install-on-kubernetes"
weight: 10
weight: 80
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "Kubernetes"
weight: 50
weight: 80
identifier: "install-on-kubernetes"
---

View file

@ -2,14 +2,14 @@
date: "2020-03-19T19:27:00+02:00"
title: "在 Kubernetes 安装 Gitea"
slug: "install-on-kubernetes"
weight: 10
weight: 80
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "Kubernetes"
weight: 50
weight: 80
identifier: "install-on-kubernetes"
---

View file

@ -2,14 +2,14 @@
date: "2020-03-19T19:27:00+02:00"
title: "在 Kubernetes 安裝"
slug: "install-on-kubernetes"
weight: 10
weight: 80
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "Kubernetes"
weight: 50
weight: 80
identifier: "install-on-kubernetes"
---

View file

@ -2,14 +2,14 @@
date: "2017-07-21T12:00:00+02:00"
title: "Run as service in Linux"
slug: "linux-service"
weight: 10
weight: 40
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "Linux service"
weight: 20
weight: 40
identifier: "linux-service"
---

View file

@ -2,14 +2,14 @@
date: "2017-07-21T12:00:00+02:00"
title: "在 Linux 中以 service 方式运行"
slug: "linux-service"
weight: 10
weight: 40
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "在Linux中以service方式运行"
weight: 20
weight: 40
identifier: "linux-service"
---

View file

@ -2,14 +2,14 @@
date: "2017-07-21T12:00:00+02:00"
title: "在 Linux 中以服務執行"
slug: "linux-service"
weight: 10
weight: 40
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "Linux 服務"
weight: 20
weight: 40
identifier: "linux-service"
---

View file

@ -2,7 +2,7 @@
date: "2021-09-02T16:00:00+08:00"
title: "Upgrade from an old Gitea"
slug: "upgrade-from-gitea"
weight: 10
weight: 100
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "Upgrade from Gogs"
slug: "upgrade-from-gogs"
weight: 10
weight: 101
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2017-08-23T09:00:00+02:00"
title: "Mise à jour depuis Gogs"
slug: "upgrade-from-gogs"
weight: 10
weight: 101
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "从 Gogs 升级"
slug: "upgrade-from-gogs"
weight: 10
weight: 101
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "從 Gogs 升級"
slug: "upgrade-from-gogs"
weight: 10
weight: 101
toc: false
draft: false
menu:

View file

@ -2,14 +2,14 @@
date: "2016-12-21T15:00:00-02:00"
title: "Register as a Windows Service"
slug: "windows-service"
weight: 10
weight: 50
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "Windows Service"
weight: 30
weight: 50
identifier: "windows-service"
---

View file

@ -2,14 +2,14 @@
date: "2017-08-23T09:00:00+02:00"
title: "Démarrer en tant que service Windows"
slug: "windows-service"
weight: 10
weight: 50
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "Service Windows"
weight: 30
weight: 50
identifier: "windows-service"
---

View file

@ -2,14 +2,14 @@
date: "2016-12-21T15:00:00-02:00"
title: "注册为Windows服务"
slug: "windows-service"
weight: 10
weight: 50
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "Windows服务"
weight: 30
weight: 50
identifier: "windows-service"
---

View file

@ -2,14 +2,14 @@
date: "2016-12-21T15:00:00-02:00"
title: "註冊為 Windows 服務"
slug: "windows-service"
weight: 10
weight: 50
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "Windows 服務"
weight: 30
weight: 50
identifier: "windows-service"
---

View file

@ -2,14 +2,14 @@
date: "2020-02-09T20:00:00+02:00"
title: "Installation with Docker (rootless)"
slug: "install-with-docker-rootless"
weight: 10
weight: 60
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "With Docker Rootless"
weight: 48
weight: 60
identifier: "install-with-docker-rootless"
---

View file

@ -2,14 +2,14 @@
date: "2020-03-19T19:27:00+02:00"
title: "Installation with Docker"
slug: "install-with-docker"
weight: 10
weight: 70
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "With Docker"
weight: 49
weight: 70
identifier: "install-with-docker"
---

View file

@ -2,14 +2,14 @@
date: "2017-08-23T09:00:00+02:00"
title: "Installation avec Docker"
slug: "install-with-docker"
weight: 10
weight: 70
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "Docker"
weight: 49
weight: 70
identifier: "install-with-docker"
---

View file

@ -2,14 +2,14 @@
date: "2016-12-01T16:00:00+02:00"
title: "使用 Docker 安装"
slug: "install-with-docker"
weight: 10
weight: 70
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "使用 Docker 安装"
weight: 49
weight: 70
identifier: "install-with-docker"
---

View file

@ -2,14 +2,14 @@
date: "2016-12-01T16:00:00+02:00"
title: "Docker 安裝"
slug: "install-with-docker"
weight: 10
weight: 70
toc: false
draft: false
menu:
sidebar:
parent: "installation"
name: "Docker 安裝"
weight: 49
weight: 70
identifier: "install-with-docker"
---

View file

@ -2,6 +2,7 @@
date: "2022-11-20T00:00:00+00:00"
title: "Cargo Packages Repository"
slug: "usage/packages/cargo"
weight: 5
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2023-01-20T00:00:00+00:00"
title: "Chef Packages Repository"
slug: "usage/packages/chef"
weight: 5
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2021-07-20T00:00:00+00:00"
title: "Composer Packages Repository"
slug: "usage/packages/composer"
weight: 10
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2021-07-20T00:00:00+00:00"
title: "Conan Packages Repository"
slug: "usage/packages/conan"
weight: 20
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2022-12-28T00:00:00+00:00"
title: "Conda Packages Repository"
slug: "usage/packages/conda"
weight: 25
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2021-07-20T00:00:00+00:00"
title: "Container Registry"
slug: "usage/packages/container"
weight: 30
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2021-07-20T00:00:00+00:00"
title: "Generic Packages Repository"
slug: "usage/packages/generic"
weight: 40
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2022-04-14T00:00:00+00:00"
title: "Helm Chart Registry"
slug: "usage/packages/helm"
weight: 50
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2021-07-20T00:00:00+00:00"
title: "Maven Packages Repository"
slug: "usage/packages/maven"
weight: 60
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2021-07-20T00:00:00+00:00"
title: "npm Packages Repository"
slug: "usage/packages/npm"
weight: 70
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2021-07-20T00:00:00+00:00"
title: "NuGet Packages Repository"
slug: "usage/packages/nuget"
weight: 80
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2021-07-20T00:00:00+00:00"
title: "Package Registry"
slug: "usage/packages/overview"
weight: 1
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2022-07-31T00:00:00+00:00"
title: "Pub Packages Repository"
slug: "usage/packages/pub"
weight: 90
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2021-07-20T00:00:00+00:00"
title: "PyPI Packages Repository"
slug: "usage/packages/pypi"
weight: 100
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2021-07-20T00:00:00+00:00"
title: "RubyGems Packages Repository"
slug: "usage/packages/rubygems"
weight: 110
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2022-11-01T00:00:00+00:00"
title: "Storage"
slug: "usage/packages/storage"
weight: 5
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2023-01-10T00:00:00+00:00"
title: "Swift Packages Repository"
slug: "usage/packages/swift"
weight: 95
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2022-08-23T00:00:00+00:00"
title: "Vagrant Packages Repository"
slug: "usage/packages/vagrant"
weight: 120
draft: false
toc: false
menu:

View file

@ -2,6 +2,7 @@
date: "2022-12-01T00:00:00+00:00"
title: "Incoming Email"
slug: "incoming-email"
weight: 13
draft: false
toc: false
menu:

View file

@ -2,13 +2,14 @@
date: "2022-12-19T21:26:00+08:00"
title: "Secrets"
slug: "usage/secrets"
weight: 50
draft: false
toc: false
menu:
sidebar:
parent: "usage"
name: "Secrets"
weight: 1
weight: 50
identifier: "usage-secrets"
---

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "Webhooks"
slug: "webhooks"
weight: 10
weight: 30
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "Webhooks"
slug: "webhooks"
weight: 10
weight: 30
toc: false
draft: false
menu:

View file

@ -2,7 +2,7 @@
date: "2016-12-01T16:00:00+02:00"
title: "Webhook"
slug: "webhooks"
weight: 10
weight: 30
toc: false
draft: false
menu: