Update meta data of docs

This commit is contained in:
Lunny Xiao
2024-08-06 16:44:42 -07:00
parent 4917bd18ae
commit af22422e1a
861 changed files with 1383 additions and 7148 deletions
@@ -1,18 +1,12 @@
---
date: "2023-05-25T16:00:00+02:00"
title: "常见问题"
slug: "faq"
sidebar_position: 5
toc: false
draft: false
aliases:
- /zh-cn/faq
menu:
sidebar:
parent: "help"
name: "常见问题"
sidebar_position: 5
identifier: "faq"
---
# 常见问题
@@ -1,21 +1,14 @@
---
date: "2017-01-20T15:00:00+08:00"
title: "需要帮助"
slug: "support"
sidebar_position: 20
toc: false
draft: false
aliases:
- /zh-cn/seek-help
menu:
sidebar:
parent: "help"
name: "需要帮助"
sidebar_position: 20
identifier: "support"
---
# 支持选项
# 需要帮助
## 支持选项
- [付费商业支持](https://about.gitea.com/)
- [Discord](https://discord.gg/Gitea)
@@ -26,7 +19,7 @@ menu:
- [Discourse 中文分类](https://forum.gitea.com/c/5-category/5)
- QQ 群 328432459
# Bug 报告
## Bug 报告
如果您发现了 Bug,请在 GitHub 上 [创建一个问题](https://github.com/go-gitea/gitea/issues)。
@@ -43,9 +36,9 @@ menu:
5. 如果遇到慢速/挂起/死锁等问题,请在出现问题时报告堆栈跟踪。
转到 "Site Admin" -> "Monitoring" -> "Stacktrace" -> "Download diagnosis report"。
# 高级 Bug 报告提示
## 高级 Bug 报告提示
## 更多日志的配置选项
### 更多日志的配置选项
默认情况下,日志以 `info` 级别输出到控制台。
如果您需要设置日志级别和/或从文件中收集日志,
@@ -59,7 +52,7 @@ LEVEL=debug
MODE=console,file
```
## 使用命令行收集堆栈跟踪
### 使用命令行收集堆栈跟踪
Gitea 可以使用 Golang 的 pprof 处理程序和工具链来收集堆栈跟踪和其他运行时信息。
@@ -67,10 +60,10 @@ Gitea 可以使用 Golang 的 pprof 处理程序和工具链来收集堆栈跟
1. 设置 app.ini
```
[server]
ENABLE_PPROF = true
```
```ini
[server]
ENABLE_PPROF = true
```
2. 重新启动 Gitea