💡 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

@ -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 ----------------------------------------------