|
1 | 1 | #!/usr/bin/env python3
|
2 | 2 | #
|
3 |
| -# flask-rest-jsonapi documentation build configuration file, created by |
| 3 | +# flask-combo-jsonapi documentation build configuration file, created by |
4 | 4 | # sphinx-quickstart on Fri Oct 21 14:33:15 2016.
|
5 | 5 | #
|
6 | 6 | # This file is execfile()d with the current directory set to its
|
|
18 | 18 | #
|
19 | 19 | import os
|
20 | 20 | import sys
|
21 |
| -sys.path.insert(0, os.path.abspath('..')) |
| 21 | + |
| 22 | +sys.path.insert(0, os.path.abspath("..")) |
22 | 23 |
|
23 | 24 | # -- General configuration ------------------------------------------------
|
24 | 25 |
|
|
30 | 31 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
31 | 32 | # ones.
|
32 | 33 | extensions = [
|
33 |
| - 'sphinx.ext.autodoc', |
| 34 | + "sphinx.ext.autodoc", |
| 35 | + "sphinx.ext.autosummary", |
34 | 36 | ]
|
35 | 37 |
|
36 | 38 | # Add any paths that contain templates here, relative to this directory.
|
37 |
| -templates_path = ['_templates'] |
| 39 | +templates_path = ["_templates"] |
38 | 40 |
|
39 | 41 | # The suffix(es) of source filenames.
|
40 | 42 | # You can specify multiple suffix as a list of string:
|
41 | 43 | #
|
42 | 44 | # source_suffix = ['.rst', '.md']
|
43 |
| -source_suffix = '.rst' |
| 45 | +source_suffix = ".rst" |
44 | 46 |
|
45 | 47 | # The encoding of source files.
|
46 | 48 | #
|
47 | 49 | # source_encoding = 'utf-8-sig'
|
48 | 50 |
|
49 | 51 | # The master toctree document.
|
50 |
| -master_doc = 'index' |
| 52 | +master_doc = "index" |
51 | 53 |
|
52 | 54 | # General information about the project.
|
53 |
| -project = 'flask-rest-jsonapi' |
54 |
| -copyright = '2016, miLibris' |
55 |
| -author = 'miLibris' |
| 55 | +project = "flask-combo-jsonapi" |
| 56 | +copyright = "2020, AdCombo" |
| 57 | +author = "AdCombo" |
56 | 58 |
|
57 | 59 | # The version info for the project you're documenting, acts as replacement for
|
58 | 60 | # |version| and |release|, also used in various other places throughout the
|
59 | 61 | # built documents.
|
60 | 62 | #
|
61 | 63 | # The short X.Y version.
|
62 |
| -version = '0.1' |
| 64 | +version = "0.1" |
63 | 65 | # The full version, including alpha/beta/rc tags.
|
64 |
| -release = '0.1' |
| 66 | +release = "0.1" |
65 | 67 |
|
66 | 68 | # The language for content autogenerated by Sphinx. Refer to documentation
|
67 | 69 | # for a list of supported languages.
|
|
82 | 84 | # List of patterns, relative to source directory, that match files and
|
83 | 85 | # directories to ignore when looking for source files.
|
84 | 86 | # This patterns also effect to html_static_path and html_extra_path
|
85 |
| -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 87 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
86 | 88 |
|
87 | 89 | # The reST default role (used for this markup: `text`) to use for all
|
88 | 90 | # documents.
|
|
104 | 106 | # show_authors = False
|
105 | 107 |
|
106 | 108 | # The name of the Pygments (syntax highlighting) style to use.
|
107 |
| -pygments_style = 'sphinx' |
| 109 | +pygments_style = "sphinx" |
108 | 110 |
|
109 | 111 | # A list of ignored prefixes for module index sorting.
|
110 | 112 | # modindex_common_prefix = []
|
|
121 | 123 | # The theme to use for HTML and HTML Help pages. See the documentation for
|
122 | 124 | # a list of builtin themes.
|
123 | 125 | #
|
124 |
| -html_theme = 'alabaster' |
| 126 | +html_theme = "alabaster" |
125 | 127 |
|
126 | 128 | # Theme options are theme-specific and customize the look and feel of a theme
|
127 | 129 | # further. For a list of options available for each theme, see the
|
128 | 130 | # documentation.
|
129 | 131 | #
|
130 | 132 | html_theme_options = {
|
131 |
| - 'github_user': 'miLibris', |
132 |
| - 'github_repo': 'flask-rest-jsonapi', |
133 |
| - 'github_banner': True, |
134 |
| - 'travis_button': True, |
135 |
| - 'show_related': True, |
136 |
| - 'page_width': '1080px', |
137 |
| - 'fixed_sidebar': True, |
138 |
| - 'code_font_size': '0.8em' |
| 133 | + "github_user": "AdCombo", |
| 134 | + "github_repo": "flask-combo-jsonapi", |
| 135 | + "github_banner": True, |
| 136 | + "travis_button": True, |
| 137 | + "show_related": True, |
| 138 | + "page_width": "1080px", |
| 139 | + "fixed_sidebar": True, |
| 140 | + "code_font_size": "0.8em", |
139 | 141 | }
|
140 | 142 |
|
141 | 143 | # Add any paths that contain custom themes here, relative to this directory.
|
|
164 | 166 | # Add any paths that contain custom static files (such as style sheets) here,
|
165 | 167 | # relative to this directory. They are copied after the builtin static files,
|
166 | 168 | # so a file named "default.css" will overwrite the builtin "default.css".
|
167 |
| -html_static_path = ['_static'] |
| 169 | +html_static_path = ["_static"] |
168 | 170 |
|
169 | 171 | # Add any extra paths that contain custom files (such as robots.txt or
|
170 | 172 | # .htaccess) here, relative to this directory. These files are copied
|
|
244 | 246 | # html_search_scorer = 'scorer.js'
|
245 | 247 |
|
246 | 248 | # Output file base name for HTML help builder.
|
247 |
| -htmlhelp_basename = 'flask-rest-jsonapidoc' |
| 249 | +htmlhelp_basename = "flask-combo-jsonapidoc" |
248 | 250 |
|
249 | 251 | # -- Options for LaTeX output ---------------------------------------------
|
250 | 252 |
|
251 | 253 | latex_elements = {
|
252 |
| - # The paper size ('letterpaper' or 'a4paper'). |
253 |
| - # |
254 |
| - # 'papersize': 'letterpaper', |
255 |
| - |
256 |
| - # The font size ('10pt', '11pt' or '12pt'). |
257 |
| - # |
258 |
| - # 'pointsize': '10pt', |
259 |
| - |
260 |
| - # Additional stuff for the LaTeX preamble. |
261 |
| - # |
262 |
| - # 'preamble': '', |
263 |
| - |
264 |
| - # Latex figure (float) alignment |
265 |
| - # |
266 |
| - # 'figure_align': 'htbp', |
| 254 | + # The paper size ('letterpaper' or 'a4paper'). |
| 255 | + # |
| 256 | + # 'papersize': 'letterpaper', |
| 257 | + # The font size ('10pt', '11pt' or '12pt'). |
| 258 | + # |
| 259 | + # 'pointsize': '10pt', |
| 260 | + # Additional stuff for the LaTeX preamble. |
| 261 | + # |
| 262 | + # 'preamble': '', |
| 263 | + # Latex figure (float) alignment |
| 264 | + # |
| 265 | + # 'figure_align': 'htbp', |
267 | 266 | }
|
268 | 267 |
|
269 | 268 | # Grouping the document tree into LaTeX files. List of tuples
|
270 | 269 | # (source start file, target name, title,
|
271 | 270 | # author, documentclass [howto, manual, or own class]).
|
272 | 271 | latex_documents = [
|
273 |
| - (master_doc, 'flask-rest-jsonapi.tex', 'flask-rest-jsonapi Documentation', |
274 |
| - 'miLibris', 'manual'), |
| 272 | + (master_doc, "flask-combo-jsonapi.tex", "flask-combo-jsonapi Documentation", "AdCombo", "manual"), |
275 | 273 | ]
|
276 | 274 |
|
277 | 275 | # The name of an image file (relative to this directory) to place at the top of
|
|
311 | 309 |
|
312 | 310 | # One entry per manual page. List of tuples
|
313 | 311 | # (source start file, name, description, authors, manual section).
|
314 |
| -man_pages = [ |
315 |
| - (master_doc, 'flask-rest-jsonapi', 'flask-rest-jsonapi Documentation', |
316 |
| - [author], 1) |
317 |
| -] |
| 312 | +man_pages = [(master_doc, "flask-combo-jsonapi", "flask-combo-jsonapi Documentation", [author], 1)] |
318 | 313 |
|
319 | 314 | # If true, show URL addresses after external links.
|
320 | 315 | #
|
|
327 | 322 | # (source start file, target name, title, author,
|
328 | 323 | # dir menu entry, description, category)
|
329 | 324 | texinfo_documents = [
|
330 |
| - (master_doc, 'flask-rest-jsonapi', 'flask-rest-jsonapi Documentation', |
331 |
| - author, 'flask-rest-jsonapi', 'One line description of project.', |
332 |
| - 'Miscellaneous'), |
| 325 | + ( |
| 326 | + master_doc, |
| 327 | + "flask-combo-jsonapi", |
| 328 | + "flask-combo-jsonapi Documentation", |
| 329 | + author, |
| 330 | + "flask-combo-jsonapi", |
| 331 | + "One line description of project.", |
| 332 | + "Miscellaneous", |
| 333 | + ), |
333 | 334 | ]
|
334 | 335 |
|
335 | 336 | # Documents to append as an appendix to all manuals.
|
|
0 commit comments