14
14
#
15
15
import os
16
16
import sys
17
- sys .path .insert (0 , os .path .abspath ('../src' ))
17
+
18
+ sys .path .insert (0 , os .path .abspath ("../src" ))
18
19
19
20
20
21
# -- Project information -----------------------------------------------------
21
22
import sasctl
22
23
23
- project = ' sasctl'
24
+ project = " sasctl"
24
25
copyright = sasctl .__copyright__
25
26
author = sasctl .__author__
26
27
40
41
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
41
42
# ones.
42
43
extensions = [
43
- ' sphinx.ext.autodoc' ,
44
- ' sphinx.ext.autosummary' ,
45
- ' sphinx.ext.viewcode' ,
46
- ' sphinx.ext.napoleon' ,
47
- ' sphinx.ext.intersphinx' ,
48
- ' sphinx.ext.todo'
44
+ " sphinx.ext.autodoc" ,
45
+ " sphinx.ext.autosummary" ,
46
+ " sphinx.ext.viewcode" ,
47
+ " sphinx.ext.napoleon" ,
48
+ " sphinx.ext.intersphinx" ,
49
+ " sphinx.ext.todo" ,
49
50
]
50
51
51
- intersphinx_mapping = {'python' : ('https://docs.python.org/3' , None ),
52
- 'swat' : ('https://sassoftware.github.io/python-swat/' , None ),
53
- 'pytest' : ('https://docs.pytest.org/en/latest/' , None ),
54
- 'betamax' : ('https://betamax.readthedocs.io/en/latest/' , None ),
55
- 'requests' : (
56
- 'https://2.python-requests.org/en/master/' , None ),
57
- 'tox' : ('https://tox.readthedocs.io/en/latest/' , None ),
58
- 'flake8' : ('http://flake8.pycqa.org/en/latest/' , None )}
52
+ intersphinx_mapping = {
53
+ "python" : ("https://docs.python.org/3" , None ),
54
+ "swat" : ("https://sassoftware.github.io/python-swat/" , None ),
55
+ "pytest" : ("https://docs.pytest.org/en/latest/" , None ),
56
+ "betamax" : ("https://betamax.readthedocs.io/en/latest/" , None ),
57
+ "requests" : ("https://2.python-requests.org/en/master/" , None ),
58
+ "tox" : ("https://tox.readthedocs.io/en/latest/" , None ),
59
+ "flake8" : ("http://flake8.pycqa.org/en/latest/" , None ),
60
+ }
59
61
60
62
todo_include_todos = True
61
63
62
64
todo_emit_warnings = True
63
65
64
66
# Add any paths that contain templates here, relative to this directory.
65
- templates_path = [' _templates' ]
67
+ templates_path = [" _templates" ]
66
68
67
69
# The suffix(es) of source filenames.
68
70
# You can specify multiple suffix as a list of string:
69
71
#
70
72
# source_suffix = ['.rst', '.md']
71
- source_suffix = ' .rst'
73
+ source_suffix = " .rst"
72
74
73
75
# The master toctree document.
74
- master_doc = ' index'
76
+ master_doc = " index"
75
77
76
78
# The language for content autogenerated by Sphinx. Refer to documentation
77
79
# for a list of supported languages.
83
85
# List of patterns, relative to source directory, that match files and
84
86
# directories to ignore when looking for source files.
85
87
# This pattern also affects html_static_path and html_extra_path .
86
- exclude_patterns = [' _build' , ' Thumbs.db' , ' .DS_Store' ]
88
+ exclude_patterns = [" _build" , " Thumbs.db" , " .DS_Store" ]
87
89
88
90
# The name of the Pygments (syntax highlighting) style to use.
89
- pygments_style = ' sphinx'
91
+ pygments_style = " sphinx"
90
92
91
93
92
94
# -- Options for HTML output -------------------------------------------------
93
95
94
96
# The theme to use for HTML and HTML Help pages. See the documentation for
95
97
# a list of builtin themes.
96
98
#
97
- html_theme = ' alabaster'
99
+ html_theme = " alabaster"
98
100
# html_theme = 'sphinx_rtd_theme'
99
101
100
102
# Theme options are theme-specific and customize the look and feel of a theme
101
103
# further. For a list of options available for each theme, see the
102
104
# documentation.
103
105
#
104
106
html_theme_options = {
105
- ' description' : ' Python package and CLI for user-friendly integration with SAS Viya' ,
106
- ' fixed_sidebar' : True
107
+ " description" : " Python package and CLI for user-friendly integration with SAS Viya" ,
108
+ " fixed_sidebar" : True ,
107
109
}
108
110
109
111
# Add any paths that contain custom static files (such as style sheets) here,
110
112
# relative to this directory. They are copied after the builtin static files,
111
113
# so a file named "default.css" will overwrite the builtin "default.css".
112
- html_static_path = [' _static' ]
114
+ html_static_path = [" _static" ]
113
115
114
116
# Custom sidebar templates, must be a dictionary that maps document names
115
117
# to template names.
120
122
# 'searchbox.html']``.
121
123
#
122
124
# html_sidebars = {}
123
- html_sidebars = {
124
- '**' : [
125
- 'about.html' ,
126
- 'searchbox.html' ,
127
- 'navigation.html'
128
- ]
129
- }
125
+ html_sidebars = {"**" : ["about.html" , "searchbox.html" , "navigation.html" ]}
130
126
131
127
132
128
# -- Options for HTMLHelp output ---------------------------------------------
133
129
134
130
# Output file base name for HTML help builder.
135
- htmlhelp_basename = ' sasctldoc'
131
+ htmlhelp_basename = " sasctldoc"
136
132
137
133
138
134
# -- Options for LaTeX output ------------------------------------------------
141
137
# The paper size ('letterpaper' or 'a4paper').
142
138
#
143
139
# 'papersize': 'letterpaper',
144
-
145
140
# The font size ('10pt', '11pt' or '12pt').
146
141
#
147
142
# 'pointsize': '10pt',
148
-
149
143
# Additional stuff for the LaTeX preamble.
150
144
#
151
145
# 'preamble': '',
152
-
153
146
# Latex figure (float) alignment
154
147
#
155
148
# 'figure_align': 'htbp',
159
152
# (source start file, target name, title,
160
153
# author, documentclass [howto, manual, or own class]).
161
154
latex_documents = [
162
- (master_doc , 'sasctl.tex' , 'sasctl Documentation' ,
163
- 'SAS' , 'manual' ),
155
+ (master_doc , "sasctl.tex" , "sasctl Documentation" , "SAS" , "manual" ),
164
156
]
165
157
166
158
167
159
# -- Options for manual page output ------------------------------------------
168
160
169
161
# One entry per manual page. List of tuples
170
162
# (source start file, name, description, authors, manual section).
171
- man_pages = [
172
- (master_doc , 'sasctl' , 'sasctl Documentation' ,
173
- [author ], 1 )
174
- ]
163
+ man_pages = [(master_doc , "sasctl" , "sasctl Documentation" , [author ], 1 )]
175
164
176
165
177
166
# -- Options for Texinfo output ----------------------------------------------
180
169
# (source start file, target name, title, author,
181
170
# dir menu entry, description, category)
182
171
texinfo_documents = [
183
- (master_doc , 'sasctl' , 'sasctl Documentation' ,
184
- author , 'sasctl' , 'One line description of project.' ,
185
- 'Miscellaneous' ),
172
+ (
173
+ master_doc ,
174
+ "sasctl" ,
175
+ "sasctl Documentation" ,
176
+ author ,
177
+ "sasctl" ,
178
+ "One line description of project." ,
179
+ "Miscellaneous" ,
180
+ ),
186
181
]
187
182
188
183
189
- # -- Extension configuration -------------------------------------------------
184
+ # -- Extension configuration -------------------------------------------------
0 commit comments