mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 08:11:38 +00:00
💡 support sphinx 4.0
This commit is contained in:
@ -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 ----------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user