|
13 | 13 |
|
14 | 14 | from datetime import date
|
15 | 15 |
|
16 |
| -import sys, os |
| 16 | +import sys |
| 17 | +import os |
17 | 18 |
|
18 |
| -sys.path.insert(0, os.path.abspath('..')) |
| 19 | +sys.path.insert(0, os.path.abspath("..")) |
19 | 20 |
|
20 | 21 | import pyDOE3
|
21 | 22 |
|
22 | 23 | # If extensions (or modules to document with autodoc) are in another directory,
|
23 | 24 | # add these directories to sys.path here. If the directory is relative to the
|
24 | 25 | # documentation root, use os.path.abspath to make it absolute, like shown here.
|
25 |
| -#sys.path.append(os.path.abspath('.')) |
| 26 | +# sys.path.append(os.path.abspath('.')) |
26 | 27 |
|
27 | 28 | # -- General configuration -----------------------------------------------------
|
28 | 29 |
|
|
31 | 32 | extensions = []
|
32 | 33 |
|
33 | 34 | # Add any paths that contain templates here, relative to this directory.
|
34 |
| -templates_path = ['_templates'] |
| 35 | +templates_path = ["_templates"] |
35 | 36 |
|
36 | 37 | # The suffix of source filenames.
|
37 |
| -source_suffix = '.rst' |
| 38 | +source_suffix = ".rst" |
38 | 39 |
|
39 | 40 | # The encoding of source files.
|
40 |
| -#source_encoding = 'utf-8' |
| 41 | +# source_encoding = 'utf-8' |
41 | 42 |
|
42 | 43 | # The master toctree document.
|
43 |
| -master_doc = 'index_TOC' |
| 44 | +master_doc = "index_TOC" |
44 | 45 |
|
45 | 46 | # General information about the project.
|
46 |
| -project = u'pyDOE3' |
47 |
| -if date.today().year!=2013: |
48 |
| - copyright = u'2013–%d, Abraham Lee' % date.today().year |
| 47 | +project = "pyDOE3" |
| 48 | +if date.today().year != 2013: |
| 49 | + copyright = "2013–%d, Abraham Lee" % date.today().year |
49 | 50 | else:
|
50 |
| - copyright = u'2013, Abraham Lee' |
| 51 | + copyright = "2013, Abraham Lee" |
51 | 52 |
|
52 | 53 | # The version info for the project you're documenting, acts as replacement for
|
53 | 54 | # |version| and |release|, also used in various other places throughout the
|
54 | 55 | # built documents.
|
55 | 56 | #
|
56 | 57 | # The short X.Y version.
|
57 |
| -version = '1' |
| 58 | +version = "1" |
58 | 59 | # The full version, including alpha/beta/rc tags.
|
59 | 60 | release = pyDOE3.__version__
|
60 | 61 |
|
61 | 62 | # The language for content autogenerated by Sphinx. Refer to documentation
|
62 | 63 | # for a list of supported languages.
|
63 |
| -#language = None |
| 64 | +# language = None |
64 | 65 |
|
65 | 66 | # There are two options for replacing |today|: either, you set today to some
|
66 | 67 | # non-false value, then it is used:
|
67 |
| -#today = '' |
| 68 | +# today = '' |
68 | 69 | # Else, today_fmt is used as the format for a strftime call.
|
69 |
| -#today_fmt = '%B %d, %Y' |
| 70 | +# today_fmt = '%B %d, %Y' |
70 | 71 |
|
71 | 72 | # List of documents that shouldn't be included in the build.
|
72 |
| -#unused_docs = [] |
| 73 | +# unused_docs = [] |
73 | 74 |
|
74 | 75 | # List of directories, relative to source directory, that shouldn't be searched
|
75 | 76 | # for source files.
|
76 |
| -exclude_trees = ['_build'] |
| 77 | +exclude_trees = ["_build"] |
77 | 78 |
|
78 | 79 | # The reST default role (used for this markup: `text`) to use for all documents.
|
79 |
| -#default_role = None |
| 80 | +# default_role = None |
80 | 81 |
|
81 | 82 | # If true, '()' will be appended to :func: etc. cross-reference text.
|
82 |
| -#add_function_parentheses = True |
| 83 | +# add_function_parentheses = True |
83 | 84 |
|
84 | 85 | # If true, the current module name will be prepended to all description
|
85 | 86 | # unit titles (such as .. function::).
|
86 |
| -#add_module_names = True |
| 87 | +# add_module_names = True |
87 | 88 |
|
88 | 89 | # If true, sectionauthor and moduleauthor directives will be shown in the
|
89 | 90 | # output. They are ignored by default.
|
90 |
| -#show_authors = False |
| 91 | +# show_authors = False |
91 | 92 |
|
92 | 93 | # The name of the Pygments (syntax highlighting) style to use.
|
93 |
| -pygments_style = 'sphinx' |
| 94 | +pygments_style = "sphinx" |
94 | 95 |
|
95 | 96 | # A list of ignored prefixes for module index sorting.
|
96 |
| -#modindex_common_prefix = [] |
| 97 | +# modindex_common_prefix = [] |
97 | 98 |
|
98 | 99 |
|
99 | 100 | # -- Options for HTML output ---------------------------------------------------
|
100 | 101 |
|
101 | 102 | # The theme to use for HTML and HTML Help pages. Major themes that come with
|
102 | 103 | # Sphinx are currently 'default' and 'sphinxdoc'.
|
103 |
| -html_theme = 'sphinxdoc' |
| 104 | +html_theme = "sphinxdoc" |
104 | 105 |
|
105 | 106 | # Theme options are theme-specific and customize the look and feel of a theme
|
106 | 107 | # further. For a list of options available for each theme, see the
|
107 | 108 | # documentation.
|
108 | 109 | # html_theme_options = {}
|
109 | 110 |
|
110 | 111 | # Add any paths that contain custom themes here, relative to this directory.
|
111 |
| -#html_theme_path = [] |
| 112 | +# html_theme_path = [] |
112 | 113 |
|
113 | 114 | # The name for this set of Sphinx documents. If None, it defaults to
|
114 | 115 | # "<project> v<release> documentation".
|
115 |
| -#html_title = None |
| 116 | +# html_title = None |
116 | 117 |
|
117 | 118 | # A shorter title for the navigation bar. Default is the same as html_title.
|
118 |
| -#html_short_title = None |
| 119 | +# html_short_title = None |
119 | 120 |
|
120 | 121 | # The name of an image file (relative to this directory) to place at the top
|
121 | 122 | # of the sidebar.
|
122 |
| -#html_logo = None |
| 123 | +# html_logo = None |
123 | 124 |
|
124 | 125 | # The name of an image file (within the static path) to use as favicon of the
|
125 | 126 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
126 | 127 | # pixels large.
|
127 |
| -html_favicon = 'favicon.ico' |
| 128 | +html_favicon = "favicon.ico" |
128 | 129 |
|
129 | 130 | # Add any paths that contain custom static files (such as style sheets) here,
|
130 | 131 | # relative to this directory. They are copied after the builtin static files,
|
131 | 132 | # so a file named "default.css" will overwrite the builtin "default.css".
|
132 |
| -html_static_path = ['_static'] |
| 133 | +html_static_path = ["_static"] |
133 | 134 |
|
134 | 135 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
135 | 136 | # using the given strftime format.
|
136 |
| -#html_last_updated_fmt = '%b %d, %Y' |
| 137 | +# html_last_updated_fmt = '%b %d, %Y' |
137 | 138 |
|
138 | 139 | # If true, SmartyPants will be used to convert quotes and dashes to
|
139 | 140 | # typographically correct entities.
|
140 |
| -#html_use_smartypants = True |
| 141 | +# html_use_smartypants = True |
141 | 142 |
|
142 | 143 | # Custom sidebar templates, maps document names to template names.
|
143 |
| -#html_sidebars = {} |
| 144 | +# html_sidebars = {} |
144 | 145 |
|
145 | 146 | # Additional templates that should be rendered to pages, maps page names to
|
146 | 147 | # template names.
|
147 |
| -#html_additional_pages = {} |
| 148 | +# html_additional_pages = {} |
148 | 149 |
|
149 | 150 | # If false, no module index is generated.
|
150 |
| -#html_use_modindex = True |
| 151 | +# html_use_modindex = True |
151 | 152 |
|
152 | 153 | # If false, no index is generated.
|
153 |
| -#html_use_index = True |
| 154 | +# html_use_index = True |
154 | 155 |
|
155 | 156 | # If true, the index is split into individual pages for each letter.
|
156 |
| -#html_split_index = False |
| 157 | +# html_split_index = False |
157 | 158 |
|
158 | 159 | # If true, links to the reST sources are added to the pages.
|
159 | 160 | html_show_sourcelink = False
|
160 | 161 |
|
161 | 162 | # If true, an OpenSearch description file will be output, and all pages will
|
162 | 163 | # contain a <link> tag referring to it. The value of this option must be the
|
163 | 164 | # base URL from which the finished HTML is served.
|
164 |
| -#html_use_opensearch = '' |
| 165 | +# html_use_opensearch = '' |
165 | 166 |
|
166 | 167 | # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
|
167 |
| -#html_file_suffix = '' |
| 168 | +# html_file_suffix = '' |
168 | 169 |
|
169 | 170 | # Output file base name for HTML help builder.
|
170 |
| -htmlhelp_basename = 'pyDOEPythonPackagedoc' |
| 171 | +htmlhelp_basename = "pyDOEPythonPackagedoc" |
171 | 172 |
|
172 | 173 |
|
173 | 174 | # -- Options for LaTeX output --------------------------------------------------
|
174 | 175 |
|
175 | 176 | # The paper size ('letter' or 'a4').
|
176 |
| -#latex_paper_size = 'letter' |
| 177 | +# latex_paper_size = 'letter' |
177 | 178 |
|
178 | 179 | # The font size ('10pt', '11pt' or '12pt').
|
179 |
| -#latex_font_size = '10pt' |
| 180 | +# latex_font_size = '10pt' |
180 | 181 |
|
181 | 182 | # Grouping the document tree into LaTeX files. List of tuples
|
182 | 183 | # (source start file, target name, title, author, documentclass [howto/manual]).
|
|
187 | 188 |
|
188 | 189 | # The name of an image file (relative to this directory) to place at the top of
|
189 | 190 | # the title page.
|
190 |
| -#latex_logo = None |
| 191 | +# latex_logo = None |
191 | 192 |
|
192 | 193 | # For "manual" documents, if this is true, then toplevel headings are parts,
|
193 | 194 | # not chapters.
|
194 |
| -#latex_use_parts = False |
| 195 | +# latex_use_parts = False |
195 | 196 |
|
196 | 197 | # Additional stuff for the LaTeX preamble.
|
197 |
| -#latex_preamble = '' |
| 198 | +# latex_preamble = '' |
198 | 199 |
|
199 | 200 | # Documents to append as an appendix to all manuals.
|
200 |
| -#latex_appendices = [] |
| 201 | +# latex_appendices = [] |
201 | 202 |
|
202 | 203 | # If false, no module index is generated.
|
203 |
| -#latex_use_modindex = True |
| 204 | +# latex_use_modindex = True |
0 commit comments