📝 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对象

View File

@ -262,12 +262,12 @@ Reverse Driver 基类。将后端框架封装,以满足适配器使用。
### `http_version`
One of "1.0", "1.1" or "2".
One of `"1.0"`, `"1.1"` or `"2"`.
### `scheme`
URL scheme portion (likely "http" or "https").
URL scheme portion (likely `"http"` or `"https"`).
### `path`
@ -279,7 +279,7 @@ decoded into characters.
### `query_string`
URL portion after the ?, percent-encoded.
URL portion after the `?`, percent-encoded.
### `headers`
@ -314,7 +314,7 @@ The HTTP method name, uppercased.
Body of the request.
Optional; if missing defaults to b"".
Optional; if missing defaults to `b""`.
### _property_ `type`