💡 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

@ -4,7 +4,7 @@ sidebarDepth: 0
---
NoneBot.adapters.feishu 模块
===========================
============================
.. automodule:: nonebot.adapters.feishu
@ -15,7 +15,7 @@ NoneBot.adapters.feishu.config 模块
:members:
NoneBot.adapters.feishu.exception 模块
=====================================
======================================
.. automodule:: nonebot.adapters.feishu.exception
:members:
@ -23,7 +23,7 @@ NoneBot.adapters.feishu.exception 模块
NoneBot.adapters.feishu.bot 模块
===============================
================================
.. automodule:: nonebot.adapters.feishu.bot
:members:
@ -32,7 +32,7 @@ NoneBot.adapters.feishu.bot 模块
NoneBot.adapters.feishu.message 模块
===================================
====================================
.. automodule:: nonebot.adapters.feishu.message
:members:
@ -41,7 +41,7 @@ NoneBot.adapters.feishu.message 模块
NoneBot.adapters.feishu.event 模块
=================================
==================================
.. automodule:: nonebot.adapters.feishu.event
:members:

View File

@ -12,6 +12,7 @@
#
import os
import sys
sys.path.insert(0, os.path.abspath(os.path.dirname(os.path.dirname(__file__))))
# -- Project information -----------------------------------------------------
@ -73,6 +74,7 @@ html_static_path = ['_static']
# -- Options for autodoc extension ----------------------------------------------
autodoc_default_options = {'member-order': 'bysource'}
autodoc_inherit_docstrings = False
autodoc_typehints = 'none'
# -- Options for todo extension ----------------------------------------------

View File

@ -6,9 +6,6 @@ sidebarDepth: 0
NoneBot.utils 模块
==================
.. autofunction:: nonebot.utils.escape_tag
.. autodecorator:: nonebot.utils.run_sync
.. autodecorator:: nonebot.utils.logger_wrapper
.. autoclass:: nonebot.utils.DataclassEncoder
:show-inheritance:
.. automodule:: nonebot.utils
:members:
:show-inheritance: