1414#
1515import os
1616import sys
17- sys .path .insert (0 , os .path .abspath ('../src' ))
17+
18+ sys .path .insert (0 , os .path .abspath ("../src" ))
1819
1920
2021# -- Project information -----------------------------------------------------
2122import sasctl
2223
23- project = ' sasctl'
24+ project = " sasctl"
2425copyright = sasctl .__copyright__
2526author = sasctl .__author__
2627
4041# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4142# ones.
4243extensions = [
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" ,
4950]
5051
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+ }
5961
6062todo_include_todos = True
6163
6264todo_emit_warnings = True
6365
6466# Add any paths that contain templates here, relative to this directory.
65- templates_path = [' _templates' ]
67+ templates_path = [" _templates" ]
6668
6769# The suffix(es) of source filenames.
6870# You can specify multiple suffix as a list of string:
6971#
7072# source_suffix = ['.rst', '.md']
71- source_suffix = ' .rst'
73+ source_suffix = " .rst"
7274
7375# The master toctree document.
74- master_doc = ' index'
76+ master_doc = " index"
7577
7678# The language for content autogenerated by Sphinx. Refer to documentation
7779# for a list of supported languages.
8385# List of patterns, relative to source directory, that match files and
8486# directories to ignore when looking for source files.
8587# 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" ]
8789
8890# The name of the Pygments (syntax highlighting) style to use.
89- pygments_style = ' sphinx'
91+ pygments_style = " sphinx"
9092
9193
9294# -- Options for HTML output -------------------------------------------------
9395
9496# The theme to use for HTML and HTML Help pages. See the documentation for
9597# a list of builtin themes.
9698#
97- html_theme = ' alabaster'
99+ html_theme = " alabaster"
98100# html_theme = 'sphinx_rtd_theme'
99101
100102# Theme options are theme-specific and customize the look and feel of a theme
101103# further. For a list of options available for each theme, see the
102104# documentation.
103105#
104106html_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 ,
107109}
108110
109111# Add any paths that contain custom static files (such as style sheets) here,
110112# relative to this directory. They are copied after the builtin static files,
111113# so a file named "default.css" will overwrite the builtin "default.css".
112- html_static_path = [' _static' ]
114+ html_static_path = [" _static" ]
113115
114116# Custom sidebar templates, must be a dictionary that maps document names
115117# to template names.
120122# 'searchbox.html']``.
121123#
122124# 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" ]}
130126
131127
132128# -- Options for HTMLHelp output ---------------------------------------------
133129
134130# Output file base name for HTML help builder.
135- htmlhelp_basename = ' sasctldoc'
131+ htmlhelp_basename = " sasctldoc"
136132
137133
138134# -- Options for LaTeX output ------------------------------------------------
141137 # The paper size ('letterpaper' or 'a4paper').
142138 #
143139 # 'papersize': 'letterpaper',
144-
145140 # The font size ('10pt', '11pt' or '12pt').
146141 #
147142 # 'pointsize': '10pt',
148-
149143 # Additional stuff for the LaTeX preamble.
150144 #
151145 # 'preamble': '',
152-
153146 # Latex figure (float) alignment
154147 #
155148 # 'figure_align': 'htbp',
159152# (source start file, target name, title,
160153# author, documentclass [howto, manual, or own class]).
161154latex_documents = [
162- (master_doc , 'sasctl.tex' , 'sasctl Documentation' ,
163- 'SAS' , 'manual' ),
155+ (master_doc , "sasctl.tex" , "sasctl Documentation" , "SAS" , "manual" ),
164156]
165157
166158
167159# -- Options for manual page output ------------------------------------------
168160
169161# One entry per manual page. List of tuples
170162# (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 )]
175164
176165
177166# -- Options for Texinfo output ----------------------------------------------
180169# (source start file, target name, title, author,
181170# dir menu entry, description, category)
182171texinfo_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+ ),
186181]
187182
188183
189- # -- Extension configuration -------------------------------------------------
184+ # -- Extension configuration -------------------------------------------------
0 commit comments