-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconf.py
85 lines (71 loc) · 2.07 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
from datetime import date
import sys
import os
sys.path.insert(0, os.path.abspath("../../"))
# from primerize import __version__
__version__ = '1.0.0'
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinx.ext.napoleon',
'sphinx.ext.todo',
'sphinx.ext.mathjax',
'sphinx.ext.githubpages',
]
templates_path = ['_templates']
html_static_path = ['_static']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = u'PROJ_NAME'
copyright = u'2016-%s YOUR AWESOME NAME. All Rights Reserved' % date.today().year
author = u'Siqi Tian'
language = 'en'
version = __version__
release = version
pygments_style = 'sphinx'
add_function_parentheses = True
add_module_names = True
show_authors = False
todo_include_todos = True
man_show_urls = True
modindex_common_prefix = []
html_domain_indices = True
html_use_smartypants = False
html_use_index = True
html_use_modindex = False
html_split_index = False
html_show_sourcelink = False
html_show_sphinx = True
html_show_copyright = True
html_copy_source = True
html_compact_lists = True
html_last_updated_fmt = '%b %d, %Y'
html_search_language = 'en'
html_title = project + ' ' + version + ' : SHORT_DESCRIPTION'
html_short_title = project + ' Documentation'
html_logo = None
html_extra_path = []
html_favicon = html_static_path[0] + '/ribokit_icon.png'
html_sidebars = {}
html_context = {}
html_style = []
html_theme = 'ribokit-Sphinx-theme'
html_theme_path = ['_theme']
html_theme_options = {
'description': 'SHORT_DESCRIPTION',
'author': author.split(',')[0].strip(),
'github_repo': 'org/repo',
'ga_tracker': 'UA-12345678-9'
}
html_additional_pages = {'404': '404.html'}
# Output file base name for HTML help builder.
htmlhelp_basename = 'PROJ_NAME_doc'
napoleon_google_docstring = True
napoleon_include_private_with_doc = False
napoleon_include_special_with_doc = True
napoleon_use_rtype = False
autodoc_member_order = 'groupwise'
autodoc_default_flags = ['members', 'show-inheritance']
autosummary_generate = True