|
51 | 51 |
|
52 | 52 | if not sdc_doc_no_api_ref: |
53 | 53 | try: |
54 | | - import sdc # TODO: Rename hpat module name to sdc |
| 54 | + import sdc |
55 | 55 | except ImportError: |
56 | | - print('IMPORT EXCEPTION: Cannot import sdc. ') |
| 56 | + print('IMPORT EXCEPTION: Cannot import SDC. ') |
57 | 57 | print('Documentation generator for API Reference for a given module expects that module ' |
58 | | - 'to be installed. Use conda/pip install hpat to install it prior to using API Reference generation') |
| 58 | + 'to be installed. Use conda/pip install SDC to install it prior to using API Reference generation') |
59 | 59 | print('If you want to disable API Reference generation, set the environment variable SDC_DOC_NO_API_REF=1') |
60 | 60 |
|
61 | 61 | raise |
|
77 | 77 | # ones. |
78 | 78 | extensions = [ |
79 | 79 | 'sphinx.ext.todo', |
80 | | - 'sphinx.ext.autosummary', |
| 80 | +# 'sphinx.ext.autosummary', |
81 | 81 | 'sphinx.ext.intersphinx', |
82 | | - 'sphinx.ext.autodoc', |
| 82 | +# 'sphinx.ext.autodoc', |
83 | 83 | 'sphinx.ext.extlinks', |
84 | 84 | 'sphinx.ext.githubpages', |
85 | 85 | 'sphinx.ext.napoleon', |
86 | | - 'sphinx.ext.autosectionlabel', |
87 | | - 'sphinx.ext.graphviz', |
88 | | - 'sphinx.ext.coverage' |
| 86 | +# 'sphinx.ext.autosectionlabel', |
| 87 | +# 'sphinx.ext.graphviz', |
| 88 | +# 'sphinx.ext.coverage' |
89 | 89 | ] |
90 | 90 |
|
91 | 91 |
|
|
149 | 149 |
|
150 | 150 |
|
151 | 151 | # -- Auto-section label configuration ----------------------------------------------- |
152 | | -autosectionlabel_prefix_document = True |
| 152 | +#autosectionlabel_prefix_document = True |
153 | 153 |
|
154 | 154 |
|
155 | 155 | # -- Autodoc configuration ---------------------------------------------------------- |
156 | | -autodoc_docstring_signature = True |
| 156 | +#autodoc_docstring_signature = True |
157 | 157 |
|
158 | 158 |
|
159 | 159 | # -- Auto-summary configuration ----------------------------------------------------- |
160 | | -autosummary_generate = True |
| 160 | +#autosummary_generate = True |
161 | 161 |
|
162 | 162 | # -- Prepend module name to an object name or not ----------------------------------- |
163 | 163 | add_module_names = False |
164 | | - |
165 | | - |
166 | | -""" |
167 | | -import API_Doc |
168 | | -
|
169 | | -# List of patterns, relative to source directory, that match files and |
170 | | -# directories to ignore when looking for source files. |
171 | | -# This patterns also effect to html_static_path and html_extra_path |
172 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
173 | | -
|
174 | | -# -- Options for HTMLHelp output ------------------------------------------ |
175 | | -
|
176 | | -# Output file base name for HTML help builder. |
177 | | -htmlhelp_basename = 'HPATdoc' |
178 | | -
|
179 | | -# -- Options for LaTeX output --------------------------------------------- |
180 | | -
|
181 | | -latex_engine = 'pdflatex' |
182 | | -latex_elements = { |
183 | | - # The paper size ('letterpaper' or 'a4paper'). |
184 | | - # |
185 | | - # 'papersize': 'letterpaper', |
186 | | -
|
187 | | - # The font size ('10pt', '11pt' or '12pt'). |
188 | | - # |
189 | | - # 'pointsize': '10pt', |
190 | | -
|
191 | | - # Additional stuff for the LaTeX preamble. |
192 | | - # |
193 | | - # 'preamble': '', |
194 | | -
|
195 | | - # Latex figure (float) alignment |
196 | | - # |
197 | | - # 'figure_align': 'htbp', |
198 | | -} |
199 | | -
|
200 | | -# Grouping the document tree into LaTeX files. List of tuples |
201 | | -# (source start file, target name, title, |
202 | | -# author, documentclass [howto, manual, or own class]). |
203 | | -latex_documents = [ |
204 | | - (master_doc, 'HPAT.tex', 'HPAT Documentation', |
205 | | - 'Intel', 'manual'), |
206 | | -] |
207 | | -
|
208 | | -pdf_documents = [ |
209 | | - ('index', u'HPATDocumentation', u'HPAT Documentation', u'Rujal Desai'), |
210 | | -] |
211 | | -
|
212 | | -# -- Options for manual page output --------------------------------------- |
213 | | -
|
214 | | -# One entry per manual page. List of tuples |
215 | | -# (source start file, name, description, authors, manual section). |
216 | | -man_pages = [ |
217 | | - (master_doc, 'sdc', 'HPAT Documentation', |
218 | | - [author], 1) |
219 | | -] |
220 | | -
|
221 | | -
|
222 | | -# -- Options for Texinfo output ------------------------------------------- |
223 | | -
|
224 | | -# Grouping the document tree into Texinfo files. List of tuples |
225 | | -# (source start file, target name, title, author, |
226 | | -# dir menu entry, description, category) |
227 | | -texinfo_documents = [ |
228 | | - (master_doc, 'HPAT', 'HPAT Documentation', |
229 | | - author, 'HPAT', 'One line description of project.', |
230 | | - 'Miscellaneous'), |
231 | | -] |
232 | | -
|
233 | | -numfig = True |
234 | | -
|
235 | | -# configuration for intersphinx |
236 | | -intersphinx_mapping = { |
237 | | - 'python': ('https://docs.python.org/', None), |
238 | | - 'numba': ('https://numba.pydata.org/numba-doc/dev', None), |
239 | | - 'numpy': ('http://docs.scipy.org/doc/numpy', None), |
240 | | - 'pandas': ('https://pandas.pydata.org/pandas-docs/stable/', None), |
241 | | -} |
242 | | -""" |
0 commit comments