📝 fix sphinx build errors

This commit is contained in:
yanyongyu
2021-07-28 16:32:50 +08:00
parent 0ce3ee6c20
commit 571cdef826
27 changed files with 67 additions and 64 deletions

View File

@ -245,12 +245,12 @@ message += MessageSegment.atDingtalkIds(event.senderId)
### _static_ `extension(dict_)`
"标记 text 文本的 extension 属性,需要与 text 消息段相加。
标记 text 文本的 extension 属性,需要与 text 消息段相加。
### _static_ `code(code_language, code)`
"发送 code 消息段
发送 code 消息段
### _static_ `markdown(title, text)`
@ -274,7 +274,7 @@ message += MessageSegment.atDingtalkIds(event.senderId)
* `btnOrientation`: 0按钮竖直排列 1按钮横向排列
* `btns`: [{ "title": title, "actionURL": actionURL }, ...]
* `btns`: `[{ "title": title, "actionURL": actionURL }, ...]`
@ -286,7 +286,7 @@ message += MessageSegment.atDingtalkIds(event.senderId)
* **参数**
* `links`: [{ "title": xxx, "messageURL": xxx, "picURL": xxx }, ...]
* `links`: `[{ "title": xxx, "messageURL": xxx, "picURL": xxx }, ...]`

View File

@ -292,7 +292,7 @@ API中为了使代码更加整洁, 我们采用了与PEP8相符的命名规则
* **参数**
* `type: str`: "friend""group""temp"
* `type: str`: friendgrouptemp
* `img: BytesIO`: 图片的BytesIO对象
@ -311,7 +311,7 @@ API中为了使代码更加整洁, 我们采用了与PEP8相符的命名规则
* **参数**
* `type: str`: 当前仅支持 "group"
* `type: str`: 当前仅支持 group
* `voice: BytesIO`: 语音的BytesIO对象