💡 support sphinx 4.0

This commit is contained in:
yanyongyu
2021-07-26 12:14:29 +08:00
parent 600fc4fffd
commit 0ce3ee6c20
9 changed files with 28 additions and 32 deletions

View File

@ -52,7 +52,18 @@ sidebarDepth: 0
## `logger_wrapper`
## _class_ `DataclassEncoder`
基类:`json.encoder.JSONEncoder`
* **说明**
在JSON序列化 `Message` (List[Dataclass]) 时使用的 `JSONEncoder`
## `logger_wrapper(logger_name)`
* **说明**
@ -72,13 +83,3 @@ sidebarDepth: 0
* `exception: Optional[Exception]`: 异常信息
## _class_ `DataclassEncoder`
基类:`json.encoder.JSONEncoder`
* **说明**
在JSON序列化 `Message` (List[Dataclass]) 时使用的 `JSONEncoder`