|
19 | 19 | #
|
20 | 20 | import os, sys, datetime
|
21 | 21 | sys.path.insert(0, os.path.abspath("../")) # Important
|
22 |
| -sys.path.insert(0, os.path.abspath(os.path.join("..", "tensorlayer"))) # Important |
| 22 | +sys.path.insert(0, os.path.abspath(os.path.join("..", "tensorlayer"))) # Important |
23 | 23 |
|
24 | 24 | from package_info import __shortversion__
|
25 | 25 | from package_info import __version__
|
|
159 | 159 | # If true, `todo` and `todoList` produce output, else they produce nothing.
|
160 | 160 | todo_include_todos = False
|
161 | 161 |
|
162 |
| - |
163 | 162 | # -- Options for HTML output ----------------------------------------------
|
164 | 163 |
|
165 | 164 | # The theme to use for HTML and HTML Help pages. See the documentation for
|
|
284 | 283 | # -- Options for LaTeX output ---------------------------------------------
|
285 | 284 |
|
286 | 285 | latex_elements = {
|
287 |
| - # The paper size ('letterpaper' or 'a4paper'). |
288 |
| - # |
289 |
| - # 'papersize': 'letterpaper', |
| 286 | + # The paper size ('letterpaper' or 'a4paper'). |
| 287 | + # |
| 288 | + # 'papersize': 'letterpaper', |
290 | 289 |
|
291 |
| - # The font size ('10pt', '11pt' or '12pt'). |
292 |
| - # |
293 |
| - # 'pointsize': '10pt', |
| 290 | + # The font size ('10pt', '11pt' or '12pt'). |
| 291 | + # |
| 292 | + # 'pointsize': '10pt', |
294 | 293 |
|
295 |
| - # Additional stuff for the LaTeX preamble. |
296 |
| - # |
297 |
| - # 'preamble': '', |
| 294 | + # Additional stuff for the LaTeX preamble. |
| 295 | + # |
| 296 | + # 'preamble': '', |
298 | 297 |
|
299 |
| - # Latex figure (float) alignment |
300 |
| - # |
301 |
| - # 'figure_align': 'htbp', |
| 298 | + # Latex figure (float) alignment |
| 299 | + # |
| 300 | + # 'figure_align': 'htbp', |
302 | 301 | }
|
303 | 302 |
|
304 | 303 | # Grouping the document tree into LaTeX files. List of tuples
|
305 | 304 | # (source start file, target name, title,
|
306 | 305 | # author, documentclass [howto, manual, or own class]).
|
307 | 306 | latex_documents = [
|
308 |
| - (master_doc, 'TensorLayer.tex', 'TensorLayer Documentation', |
309 |
| - 'TensorLayer contributors', 'manual'), |
| 307 | + (master_doc, 'TensorLayer.tex', 'TensorLayer Documentation', 'TensorLayer contributors', 'manual'), |
310 | 308 | ]
|
311 | 309 |
|
312 | 310 | # The name of an image file (relative to this directory) to place at the top of
|
|
335 | 333 | #
|
336 | 334 | # latex_domain_indices = True
|
337 | 335 |
|
338 |
| - |
339 | 336 | # -- Options for manual page output ---------------------------------------
|
340 | 337 |
|
341 | 338 | # One entry per manual page. List of tuples
|
342 | 339 | # (source start file, name, description, authors, manual section).
|
343 |
| -man_pages = [ |
344 |
| - (master_doc, 'tensorlayer', 'TensorLayer Documentation', |
345 |
| - [author], 1) |
346 |
| -] |
| 340 | +man_pages = [(master_doc, 'tensorlayer', 'TensorLayer Documentation', [author], 1)] |
347 | 341 |
|
348 | 342 | # If true, show URL addresses after external links.
|
349 | 343 | #
|
350 | 344 | # man_show_urls = False
|
351 | 345 |
|
352 |
| - |
353 | 346 | # -- Options for Texinfo output -------------------------------------------
|
354 | 347 |
|
355 | 348 | # Grouping the document tree into Texinfo files. List of tuples
|
356 | 349 | # (source start file, target name, title, author,
|
357 | 350 | # dir menu entry, description, category)
|
358 | 351 | texinfo_documents = [
|
359 |
| - (master_doc, 'TensorLayer', 'TensorLayer Documentation', |
360 |
| - author, 'TensorLayer', 'Deep learning and Reinforcement learning library for Researchers and Engineers.', |
361 |
| - 'Miscellaneous'), |
| 352 | + ( |
| 353 | + master_doc, 'TensorLayer', 'TensorLayer Documentation', author, 'TensorLayer', |
| 354 | + 'Deep learning and Reinforcement learning library for Researchers and Engineers.', 'Miscellaneous' |
| 355 | + ), |
362 | 356 | ]
|
363 | 357 |
|
364 | 358 | # Documents to append as an appendix to all manuals.
|
|
377 | 371 | #
|
378 | 372 | # texinfo_no_detailmenu = False
|
379 | 373 |
|
380 |
| - |
381 | 374 | # -- Options for Epub output ----------------------------------------------
|
382 | 375 |
|
383 | 376 | # Bibliographic Dublin Core info.
|
|
0 commit comments