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