forked from HIT-SCIR/ltp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
38 lines (30 loc) · 785 Bytes
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
project = 'LTP4'
copyright = '2020, Feng Yunlong'
author = 'Feng Yunlong'
from ltp import __version__ as version
release = version
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.coverage",
"sphinx.ext.doctest",
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
'sphinx.ext.napoleon'
]
autodoc_default_options = {
'members': True,
'show-inheritance': False,
'member-order': 'bysource',
'exclude-members': '__weakref__'
}
autodoc_typehints = 'none'
add_module_names = False
templates_path = ['templates']
language = 'zh'
exclude_patterns = []
html_theme = 'sphinx_rtd_theme'
html_static_path = ['static']
source_suffix = ['.rst', '.md']