2017-11-27 00:44:32 +03:00
|
|
|
baseurl: https://docs.gitea.io/
|
|
|
|
languageCode: en-us
|
|
|
|
title: Docs
|
|
|
|
theme: gitea
|
|
|
|
|
|
|
|
defaultContentLanguage: en-us
|
|
|
|
defaultContentLanguageInSubdir: true
|
|
|
|
enableMissingTranslationPlaceholders: true
|
2019-04-05 18:01:38 +03:00
|
|
|
enableEmoji: true
|
2017-11-27 00:44:32 +03:00
|
|
|
|
|
|
|
permalinks:
|
|
|
|
post: /:year/:month/:title/
|
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>
2023-04-28 06:33:41 +03:00
|
|
|
doc: /:sections[1:]/:slug/
|
2017-11-27 00:44:32 +03:00
|
|
|
page: /:slug/
|
|
|
|
default: /:slug/
|
|
|
|
|
|
|
|
params:
|
|
|
|
description: Git with a cup of tea
|
|
|
|
author: The Gitea Authors
|
|
|
|
website: https://docs.gitea.io
|
2023-05-22 19:29:53 +03:00
|
|
|
version: 1.19.0 # FIXME: this version was used as "latest stable release", but it always gets outdated and doesn't make sense
|
|
|
|
minGoVersion: 1.20
|
2023-02-03 19:23:52 +03:00
|
|
|
goVersion: 1.20
|
2022-12-31 05:17:54 +03:00
|
|
|
minNodeVersion: 16
|
2022-08-08 10:27:04 +03:00
|
|
|
search: nav
|
2022-12-03 14:51:53 +03:00
|
|
|
repo: "https://github.com/go-gitea/gitea"
|
|
|
|
docContentPath: "docs/content"
|
2017-11-27 00:44:32 +03:00
|
|
|
|
2023-03-23 18:18:24 +03:00
|
|
|
markup:
|
|
|
|
tableOfContents:
|
|
|
|
startLevel: 1
|
|
|
|
endLevel: 9
|
|
|
|
|
2019-11-13 21:03:18 +03:00
|
|
|
outputs:
|
|
|
|
home:
|
|
|
|
- HTML
|
|
|
|
- RSS
|
|
|
|
- JSON
|
|
|
|
|
2017-11-27 00:44:32 +03:00
|
|
|
menu:
|
|
|
|
page:
|
|
|
|
- name: Website
|
|
|
|
url: https://gitea.io/en-us/
|
|
|
|
weight: 10
|
|
|
|
pre: home
|
|
|
|
- name: Docs
|
|
|
|
url: /en-us/
|
|
|
|
weight: 20
|
|
|
|
pre: question
|
|
|
|
post: active
|
|
|
|
- name: API
|
|
|
|
url: https://try.gitea.io/api/swagger
|
2018-07-11 17:43:33 +03:00
|
|
|
weight: 45
|
2017-11-27 00:44:32 +03:00
|
|
|
pre: plug
|
|
|
|
- name: Blog
|
|
|
|
url: https://blog.gitea.io/
|
|
|
|
weight: 30
|
|
|
|
pre: rss
|
2020-12-06 01:34:29 +03:00
|
|
|
- name: Shop
|
|
|
|
url: https://shop.gitea.io/
|
2017-11-27 00:44:32 +03:00
|
|
|
weight: 40
|
2020-12-29 03:38:44 +03:00
|
|
|
pre: shopping-cart
|
2020-04-15 07:42:09 +03:00
|
|
|
- name: Translation
|
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
2017-11-27 00:44:32 +03:00
|
|
|
- name: Downloads
|
|
|
|
url: https://dl.gitea.io/
|
|
|
|
weight: 50
|
|
|
|
pre: download
|
|
|
|
- name: GitHub
|
|
|
|
url: https://github.com/go-gitea/
|
|
|
|
weight: 60
|
|
|
|
pre: github
|
|
|
|
- name: Discord Chat
|
2020-02-14 06:07:10 +03:00
|
|
|
url: https://discord.gg/Gitea
|
2017-11-27 00:44:32 +03:00
|
|
|
weight: 70
|
|
|
|
pre: comment
|
|
|
|
- name: Forum
|
|
|
|
url: https://discourse.gitea.io/
|
|
|
|
weight: 80
|
|
|
|
pre: group
|
|
|
|
|
|
|
|
languages:
|
|
|
|
en-us:
|
|
|
|
weight: 0
|
|
|
|
languageName: English
|
|
|
|
|
|
|
|
zh-cn:
|
|
|
|
weight: 1
|
|
|
|
languageName: 中文(简体)
|
|
|
|
menu:
|
|
|
|
page:
|
|
|
|
- name: 网站
|
|
|
|
url: https://gitea.io/zh-cn/
|
|
|
|
weight: 10
|
|
|
|
pre: home
|
|
|
|
- name: 文档
|
|
|
|
url: /zh-cn/
|
|
|
|
weight: 20
|
|
|
|
pre: question
|
|
|
|
post: active
|
|
|
|
- name: API
|
|
|
|
url: https://try.gitea.io/api/swagger
|
2018-07-11 17:43:33 +03:00
|
|
|
weight: 45
|
2017-11-27 00:44:32 +03:00
|
|
|
pre: plug
|
|
|
|
- name: 博客
|
|
|
|
url: https://blog.gitea.io/
|
|
|
|
weight: 30
|
|
|
|
pre: rss
|
|
|
|
- name: 导入
|
|
|
|
url: https://code.gitea.io/
|
|
|
|
weight: 40
|
|
|
|
pre: code
|
2020-04-15 07:42:09 +03:00
|
|
|
- name: 翻译
|
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
2017-11-27 00:44:32 +03:00
|
|
|
- name: 下载
|
|
|
|
url: https://dl.gitea.io/
|
|
|
|
weight: 50
|
|
|
|
pre: download
|
|
|
|
- name: GitHub
|
|
|
|
url: https://github.com/go-gitea/
|
|
|
|
weight: 60
|
|
|
|
pre: github
|
|
|
|
- name: Discord Chat
|
2020-02-14 06:07:10 +03:00
|
|
|
url: https://discord.gg/Gitea
|
2017-11-27 00:44:32 +03:00
|
|
|
weight: 70
|
|
|
|
pre: comment
|
|
|
|
- name: Forum
|
|
|
|
url: https://discourse.gitea.io/
|
|
|
|
weight: 80
|
|
|
|
pre: group
|
|
|
|
|
|
|
|
zh-tw:
|
|
|
|
weight: 2
|
|
|
|
languageName: 中文(繁體)
|
|
|
|
menu:
|
|
|
|
page:
|
|
|
|
- name: 網站
|
|
|
|
url: https://gitea.io/zh-tw/
|
|
|
|
weight: 10
|
|
|
|
pre: home
|
|
|
|
- name: 文件
|
|
|
|
url: /zh-tw/
|
|
|
|
weight: 20
|
|
|
|
pre: question
|
|
|
|
post: active
|
|
|
|
- name: API
|
|
|
|
url: https://try.gitea.io/api/swagger
|
2018-07-11 17:43:33 +03:00
|
|
|
weight: 45
|
2017-11-27 00:44:32 +03:00
|
|
|
pre: plug
|
|
|
|
- name: 部落格
|
|
|
|
url: https://blog.gitea.io/
|
|
|
|
weight: 30
|
|
|
|
pre: rss
|
2021-01-29 03:57:58 +03:00
|
|
|
- name: 商店
|
|
|
|
url: https://shop.gitea.io/
|
2017-11-27 00:44:32 +03:00
|
|
|
weight: 40
|
2021-01-29 03:57:58 +03:00
|
|
|
pre: shopping-cart
|
|
|
|
- name: 翻譯
|
2020-04-15 07:42:09 +03:00
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
2021-01-29 03:57:58 +03:00
|
|
|
- name: 下載
|
2017-11-27 00:44:32 +03:00
|
|
|
url: https://dl.gitea.io/
|
|
|
|
weight: 50
|
|
|
|
pre: download
|
|
|
|
- name: GitHub
|
|
|
|
url: https://github.com/go-gitea/
|
|
|
|
weight: 60
|
|
|
|
pre: github
|
2021-01-29 03:57:58 +03:00
|
|
|
- name: Discord 聊天室
|
2020-02-14 06:07:10 +03:00
|
|
|
url: https://discord.gg/Gitea
|
2017-11-27 00:44:32 +03:00
|
|
|
weight: 70
|
|
|
|
pre: comment
|
2021-01-29 03:57:58 +03:00
|
|
|
- name: 討論區
|
2017-11-27 00:44:32 +03:00
|
|
|
url: https://discourse.gitea.io/
|
|
|
|
weight: 80
|
|
|
|
pre: group
|
|
|
|
|
|
|
|
pt-br:
|
|
|
|
weight: 3
|
|
|
|
languageName: Português Brasileiro
|
|
|
|
menu:
|
|
|
|
page:
|
|
|
|
- name: Página inicial
|
|
|
|
url: https://gitea.io/pt-br/
|
|
|
|
weight: 10
|
|
|
|
pre: home
|
|
|
|
- name: Documentação
|
|
|
|
url: /pt-br/
|
|
|
|
weight: 20
|
|
|
|
pre: question
|
|
|
|
post: active
|
|
|
|
- name: API
|
|
|
|
url: https://try.gitea.io/api/swagger
|
2018-07-11 17:43:33 +03:00
|
|
|
weight: 45
|
2017-11-27 00:44:32 +03:00
|
|
|
pre: plug
|
|
|
|
- name: Blog
|
|
|
|
url: https://blog.gitea.io/
|
|
|
|
weight: 30
|
|
|
|
pre: rss
|
|
|
|
- name: Código-fonte
|
|
|
|
url: https://code.gitea.io/
|
|
|
|
weight: 40
|
|
|
|
pre: code
|
2020-04-15 07:42:09 +03:00
|
|
|
- name: Translation
|
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
2017-11-27 00:44:32 +03:00
|
|
|
- name: Downloads
|
|
|
|
url: https://dl.gitea.io/
|
|
|
|
weight: 50
|
|
|
|
pre: download
|
|
|
|
- name: GitHub
|
|
|
|
url: https://github.com/go-gitea/
|
|
|
|
weight: 60
|
|
|
|
pre: github
|
|
|
|
- name: Chat no Discord
|
2020-02-14 06:07:10 +03:00
|
|
|
url: https://discord.gg/Gitea
|
2017-11-27 00:44:32 +03:00
|
|
|
weight: 70
|
|
|
|
pre: comment
|
|
|
|
- name: Forum
|
|
|
|
url: https://discourse.gitea.io/
|
|
|
|
weight: 80
|
|
|
|
pre: group
|
|
|
|
|
|
|
|
nl-nl:
|
|
|
|
weight: 4
|
|
|
|
languageName: Nederlands
|
|
|
|
menu:
|
|
|
|
page:
|
|
|
|
- name: Website
|
|
|
|
url: https://gitea.io/nl-nl/
|
|
|
|
weight: 10
|
|
|
|
pre: home
|
|
|
|
- name: Docs
|
|
|
|
url: /nl-nl/
|
|
|
|
weight: 20
|
|
|
|
pre: question
|
|
|
|
post: active
|
|
|
|
- name: API
|
|
|
|
url: https://try.gitea.io/api/swagger
|
2018-07-11 17:43:33 +03:00
|
|
|
weight: 45
|
2017-11-27 00:44:32 +03:00
|
|
|
pre: plug
|
|
|
|
- name: Blog
|
|
|
|
url: https://blog.gitea.io/
|
|
|
|
weight: 30
|
|
|
|
pre: rss
|
|
|
|
- name: Code
|
|
|
|
url: https://code.gitea.io/
|
|
|
|
weight: 40
|
|
|
|
pre: code
|
2020-04-15 07:42:09 +03:00
|
|
|
- name: Translation
|
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
2017-11-27 00:44:32 +03:00
|
|
|
- name: Downloads
|
|
|
|
url: https://dl.gitea.io/
|
|
|
|
weight: 50
|
|
|
|
pre: download
|
|
|
|
- name: GitHub
|
|
|
|
url: https://github.com/go-gitea/
|
|
|
|
weight: 60
|
|
|
|
pre: github
|
|
|
|
- name: Discord Chat
|
2020-02-14 06:07:10 +03:00
|
|
|
url: https://discord.gg/Gitea
|
2017-11-27 00:44:32 +03:00
|
|
|
weight: 70
|
|
|
|
pre: comment
|
|
|
|
- name: Forum
|
|
|
|
url: https://discourse.gitea.io/
|
|
|
|
weight: 80
|
|
|
|
pre: group
|
2017-11-30 15:45:48 +03:00
|
|
|
|
|
|
|
fr-fr:
|
|
|
|
weight: 5
|
|
|
|
languageName: Français
|
|
|
|
menu:
|
|
|
|
page:
|
|
|
|
- name: Site
|
2018-07-11 17:43:33 +03:00
|
|
|
url: https://gitea.io/en-us/
|
2017-11-30 15:45:48 +03:00
|
|
|
weight: 10
|
|
|
|
pre: home
|
|
|
|
post: active
|
|
|
|
- name: Documentation
|
2018-07-11 17:43:33 +03:00
|
|
|
url: /fr-fr/
|
2017-11-30 15:45:48 +03:00
|
|
|
weight: 20
|
|
|
|
pre: question
|
|
|
|
- name: API
|
|
|
|
url: https://try.gitea.io/api/swagger
|
2018-07-11 17:43:33 +03:00
|
|
|
weight: 45
|
2017-11-30 15:45:48 +03:00
|
|
|
pre: plug
|
|
|
|
- name: Blog
|
|
|
|
url: https://blog.gitea.io/
|
|
|
|
weight: 30
|
|
|
|
pre: rss
|
|
|
|
- name: Code
|
|
|
|
url: https://code.gitea.io/
|
|
|
|
weight: 40
|
|
|
|
pre: code
|
2020-04-15 07:42:09 +03:00
|
|
|
- name: Translation
|
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
2017-11-30 15:45:48 +03:00
|
|
|
- name: Téléchargement
|
|
|
|
url: https://dl.gitea.io/
|
|
|
|
weight: 50
|
|
|
|
pre: download
|
|
|
|
- name: GitHub
|
|
|
|
url: https://github.com/go-gitea/
|
|
|
|
weight: 60
|
|
|
|
pre: github
|
|
|
|
- name: Discord Chat
|
2020-02-14 06:07:10 +03:00
|
|
|
url: https://discord.gg/Gitea
|
2017-11-30 15:45:48 +03:00
|
|
|
weight: 70
|
|
|
|
pre: comment
|
|
|
|
- name: Forum
|
|
|
|
url: https://discourse.gitea.io/
|
|
|
|
weight: 80
|
|
|
|
pre: group
|
2020-06-05 11:07:56 +03:00
|
|
|
|
2021-01-22 22:12:50 +03:00
|
|
|
de-de:
|
2021-02-28 13:46:21 +03:00
|
|
|
weight: 6
|
2021-01-22 22:12:50 +03:00
|
|
|
languageName: Deutsch
|
|
|
|
menu:
|
|
|
|
page:
|
|
|
|
- name: Webseite
|
|
|
|
url: https://gitea.io/en-us/
|
|
|
|
weight: 10
|
|
|
|
pre: home
|
|
|
|
post: active
|
|
|
|
- name: Dokumentation
|
|
|
|
url: /de-de/
|
|
|
|
weight: 20
|
|
|
|
pre: question
|
|
|
|
- name: API
|
|
|
|
url: https://try.gitea.io/api/swagger
|
|
|
|
weight: 45
|
|
|
|
pre: plug
|
|
|
|
- name: Blog
|
|
|
|
url: https://blog.gitea.io/
|
|
|
|
weight: 30
|
|
|
|
pre: rss
|
|
|
|
- name: Code
|
|
|
|
url: https://code.gitea.io/
|
|
|
|
weight: 40
|
|
|
|
pre: code
|
|
|
|
- name: Übersetzung
|
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
|
|
|
- name: Downloads
|
|
|
|
url: https://dl.gitea.io/
|
|
|
|
weight: 50
|
|
|
|
pre: download
|
|
|
|
- name: GitHub
|
|
|
|
url: https://github.com/go-gitea/
|
|
|
|
weight: 60
|
|
|
|
pre: github
|
|
|
|
- name: Discord Chat
|
|
|
|
url: https://discord.gg/Gitea
|
|
|
|
weight: 70
|
|
|
|
pre: comment
|
|
|
|
- name: Forum
|
|
|
|
url: https://discourse.gitea.io/
|
|
|
|
weight: 80
|
|
|
|
pre: group
|