aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/development
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2024-02-17 14:18:05 +0100
committerGitHub <noreply@github.com>2024-02-17 13:18:05 +0000
commitb96fbb567c67b2e1580396cd5326003a0a8da799 (patch)
treecc4843d3faf3f9127e7efde94fa17963b3c727b7 /docs/content/development
parent27192bc321161a4e648547bd7b071065a7b18326 (diff)
downloadgitea-b96fbb567c67b2e1580396cd5326003a0a8da799.tar.gz
gitea-b96fbb567c67b2e1580396cd5326003a0a8da799.zip
Enable markdownlint `no-trailing-punctuation` and `no-blanks-blockquote` (#29214)
Enable these two and fix issues.
Diffstat (limited to 'docs/content/development')
-rw-r--r--docs/content/development/api-usage.zh-cn.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/development/api-usage.zh-cn.md b/docs/content/development/api-usage.zh-cn.md
index 96c1997294..d7aca16f7f 100644
--- a/docs/content/development/api-usage.zh-cn.md
+++ b/docs/content/development/api-usage.zh-cn.md
@@ -60,7 +60,7 @@ curl "http://localhost:4000/api/v1/repos/test1/test1/issues" \
`/users/:name/tokens` 是一个特殊的接口,需要您使用 basic authentication 进行认证,具体原因在 issue 中
[#3842](https://github.com/go-gitea/gitea/issues/3842#issuecomment-397743346) 有所提及,使用方法如下所示:
-### 使用 Basic authentication 认证:
+### 使用 Basic authentication 认证
```
$ curl --url https://yourusername:yourpassword@gitea.your.host/api/v1/users/yourusername/tokens