diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-04-04 21:47:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 21:47:31 +0800 |
commit | 67103eb2bc3cb73fab2363fda811c43b50ac9d89 (patch) | |
tree | 21f6c174fe4447b4ccf8b35fc62c0392ed1698d7 /docs/content/doc/usage | |
parent | 6b0df6d8da76d77a9b5c42dcfa78dbfe197fd56d (diff) | |
download | gitea-67103eb2bc3cb73fab2363fda811c43b50ac9d89.tar.gz gitea-67103eb2bc3cb73fab2363fda811c43b50ac9d89.zip |
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.
Diffstat (limited to 'docs/content/doc/usage')
-rw-r--r-- | docs/content/doc/usage/incoming-email.en-us.md | 1 | ||||
-rw-r--r-- | docs/content/doc/usage/secrets.en-us.md | 3 | ||||
-rw-r--r-- | docs/content/doc/usage/webhooks.en-us.md | 2 | ||||
-rw-r--r-- | docs/content/doc/usage/webhooks.zh-cn.md | 2 | ||||
-rw-r--r-- | docs/content/doc/usage/webhooks.zh-tw.md | 2 |
5 files changed, 6 insertions, 4 deletions
diff --git a/docs/content/doc/usage/incoming-email.en-us.md b/docs/content/doc/usage/incoming-email.en-us.md index 9f1f28e668..867e9d8a69 100644 --- a/docs/content/doc/usage/incoming-email.en-us.md +++ b/docs/content/doc/usage/incoming-email.en-us.md @@ -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: diff --git a/docs/content/doc/usage/secrets.en-us.md b/docs/content/doc/usage/secrets.en-us.md index 341ccbae12..b45044cc33 100644 --- a/docs/content/doc/usage/secrets.en-us.md +++ b/docs/content/doc/usage/secrets.en-us.md @@ -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" --- diff --git a/docs/content/doc/usage/webhooks.en-us.md b/docs/content/doc/usage/webhooks.en-us.md index 2cf60cc9cd..457113c5cf 100644 --- a/docs/content/doc/usage/webhooks.en-us.md +++ b/docs/content/doc/usage/webhooks.en-us.md @@ -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: diff --git a/docs/content/doc/usage/webhooks.zh-cn.md b/docs/content/doc/usage/webhooks.zh-cn.md index 00ebd7aa9d..9e9f2bf502 100644 --- a/docs/content/doc/usage/webhooks.zh-cn.md +++ b/docs/content/doc/usage/webhooks.zh-cn.md @@ -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: diff --git a/docs/content/doc/usage/webhooks.zh-tw.md b/docs/content/doc/usage/webhooks.zh-tw.md index 9e918739a4..9afad42369 100644 --- a/docs/content/doc/usage/webhooks.zh-tw.md +++ b/docs/content/doc/usage/webhooks.zh-tw.md @@ -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: |