2017-11-26 16:44:32 -05:00
|
|
|
baseurl: https://docs.gitea.io/
|
|
|
|
languageCode: en-us
|
|
|
|
title: Docs
|
|
|
|
theme: gitea
|
|
|
|
|
|
|
|
defaultContentLanguage: en-us
|
|
|
|
defaultContentLanguageInSubdir: true
|
|
|
|
enableMissingTranslationPlaceholders: true
|
2019-04-05 10:01:38 -05:00
|
|
|
enableEmoji: true
|
2017-11-26 16:44:32 -05: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-27 22:33:41 -05:00
|
|
|
doc: /:sections[1:]/:slug/
|
2017-11-26 16:44:32 -05: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 11:29:53 -05: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 11:23:52 -05:00
|
|
|
goVersion: 1.20
|
2022-12-30 21:17:54 -05:00
|
|
|
minNodeVersion: 16
|
2022-08-08 02:27:04 -05:00
|
|
|
search: nav
|
2022-12-03 06:51:53 -05:00
|
|
|
repo: "https://github.com/go-gitea/gitea"
|
|
|
|
docContentPath: "docs/content"
|
2017-11-26 16:44:32 -05:00
|
|
|
|
2023-03-23 10:18:24 -05:00
|
|
|
markup:
|
|
|
|
tableOfContents:
|
|
|
|
startLevel: 1
|
|
|
|
endLevel: 9
|
|
|
|
|
2019-11-13 13:03:18 -05:00
|
|
|
outputs:
|
|
|
|
home:
|
|
|
|
- HTML
|
|
|
|
- RSS
|
|
|
|
- JSON
|
|
|
|
|
2017-11-26 16:44:32 -05: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 09:43:33 -05:00
|
|
|
weight: 45
|
2017-11-26 16:44:32 -05:00
|
|
|
pre: plug
|
|
|
|
- name: Blog
|
|
|
|
url: https://blog.gitea.io/
|
|
|
|
weight: 30
|
|
|
|
pre: rss
|
2020-12-05 17:34:29 -05:00
|
|
|
- name: Shop
|
|
|
|
url: https://shop.gitea.io/
|
2017-11-26 16:44:32 -05:00
|
|
|
weight: 40
|
2020-12-28 19:38:44 -05:00
|
|
|
pre: shopping-cart
|
2020-04-14 23:42:09 -05:00
|
|
|
- name: Translation
|
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
2017-11-26 16:44:32 -05: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-13 22:07:10 -05:00
|
|
|
url: https://discord.gg/Gitea
|
2017-11-26 16:44:32 -05: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 09:43:33 -05:00
|
|
|
weight: 45
|
2017-11-26 16:44:32 -05: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-14 23:42:09 -05:00
|
|
|
- name: 翻译
|
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
2017-11-26 16:44:32 -05: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-13 22:07:10 -05:00
|
|
|
url: https://discord.gg/Gitea
|
2017-11-26 16:44:32 -05: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 09:43:33 -05:00
|
|
|
weight: 45
|
2017-11-26 16:44:32 -05:00
|
|
|
pre: plug
|
|
|
|
- name: 部落格
|
|
|
|
url: https://blog.gitea.io/
|
|
|
|
weight: 30
|
|
|
|
pre: rss
|
2021-01-28 19:57:58 -05:00
|
|
|
- name: 商店
|
|
|
|
url: https://shop.gitea.io/
|
2017-11-26 16:44:32 -05:00
|
|
|
weight: 40
|
2021-01-28 19:57:58 -05:00
|
|
|
pre: shopping-cart
|
|
|
|
- name: 翻譯
|
2020-04-14 23:42:09 -05:00
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
2021-01-28 19:57:58 -05:00
|
|
|
- name: 下載
|
2017-11-26 16:44:32 -05:00
|
|
|
url: https://dl.gitea.io/
|
|
|
|
weight: 50
|
|
|
|
pre: download
|
|
|
|
- name: GitHub
|
|
|
|
url: https://github.com/go-gitea/
|
|
|
|
weight: 60
|
|
|
|
pre: github
|
2021-01-28 19:57:58 -05:00
|
|
|
- name: Discord 聊天室
|
2020-02-13 22:07:10 -05:00
|
|
|
url: https://discord.gg/Gitea
|
2017-11-26 16:44:32 -05:00
|
|
|
weight: 70
|
|
|
|
pre: comment
|
2021-01-28 19:57:58 -05:00
|
|
|
- name: 討論區
|
2017-11-26 16:44:32 -05: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 09:43:33 -05:00
|
|
|
weight: 45
|
2017-11-26 16:44:32 -05: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-14 23:42:09 -05:00
|
|
|
- name: Translation
|
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
2017-11-26 16:44:32 -05: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-13 22:07:10 -05:00
|
|
|
url: https://discord.gg/Gitea
|
2017-11-26 16:44:32 -05: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 09:43:33 -05:00
|
|
|
weight: 45
|
2017-11-26 16:44:32 -05: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-14 23:42:09 -05:00
|
|
|
- name: Translation
|
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
2017-11-26 16:44:32 -05: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-13 22:07:10 -05:00
|
|
|
url: https://discord.gg/Gitea
|
2017-11-26 16:44:32 -05:00
|
|
|
weight: 70
|
|
|
|
pre: comment
|
|
|
|
- name: Forum
|
|
|
|
url: https://discourse.gitea.io/
|
|
|
|
weight: 80
|
|
|
|
pre: group
|
2017-11-30 07:45:48 -05:00
|
|
|
|
|
|
|
fr-fr:
|
|
|
|
weight: 5
|
|
|
|
languageName: Français
|
|
|
|
menu:
|
|
|
|
page:
|
|
|
|
- name: Site
|
2018-07-11 09:43:33 -05:00
|
|
|
url: https://gitea.io/en-us/
|
2017-11-30 07:45:48 -05:00
|
|
|
weight: 10
|
|
|
|
pre: home
|
|
|
|
post: active
|
|
|
|
- name: Documentation
|
2018-07-11 09:43:33 -05:00
|
|
|
url: /fr-fr/
|
2017-11-30 07:45:48 -05:00
|
|
|
weight: 20
|
|
|
|
pre: question
|
|
|
|
- name: API
|
|
|
|
url: https://try.gitea.io/api/swagger
|
2018-07-11 09:43:33 -05:00
|
|
|
weight: 45
|
2017-11-30 07:45:48 -05: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-14 23:42:09 -05:00
|
|
|
- name: Translation
|
|
|
|
url: https://crowdin.com/project/gitea
|
|
|
|
weight: 41
|
|
|
|
pre: language
|
2017-11-30 07:45:48 -05: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-13 22:07:10 -05:00
|
|
|
url: https://discord.gg/Gitea
|
2017-11-30 07:45:48 -05:00
|
|
|
weight: 70
|
|
|
|
pre: comment
|
|
|
|
- name: Forum
|
|
|
|
url: https://discourse.gitea.io/
|
|
|
|
weight: 80
|
|
|
|
pre: group
|
2020-06-05 03:07:56 -05:00
|
|
|
|
2021-01-22 14:12:50 -05:00
|
|
|
de-de:
|
2021-02-28 05:46:21 -05:00
|
|
|
weight: 6
|
2021-01-22 14:12:50 -05: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
|