|
19 | 19 | # |
20 | 20 | import os |
21 | 21 | import sys |
22 | | -sys.path.insert(0, os.path.abspath('..')) |
| 22 | + |
| 23 | +sys.path.insert(0, os.path.abspath("..")) |
23 | 24 |
|
24 | 25 | import kafka_schema_registry_admin |
25 | 26 |
|
|
31 | 32 |
|
32 | 33 | # Add any Sphinx extension module names here, as strings. They can be |
33 | 34 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
34 | | -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode'] |
| 35 | +extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode"] |
35 | 36 |
|
36 | 37 | # Add any paths that contain templates here, relative to this directory. |
37 | | -templates_path = ['_templates'] |
| 38 | +templates_path = ["_templates"] |
38 | 39 |
|
39 | 40 | # The suffix(es) of source filenames. |
40 | 41 | # You can specify multiple suffix as a list of string: |
41 | 42 | # |
42 | 43 | # source_suffix = ['.rst', '.md'] |
43 | | -source_suffix = '.rst' |
| 44 | +source_suffix = ".rst" |
44 | 45 |
|
45 | 46 | # The master toctree document. |
46 | | -master_doc = 'index' |
| 47 | +master_doc = "index" |
47 | 48 |
|
48 | 49 | # General information about the project. |
49 | | -project = 'Kafka schema registry admin' |
| 50 | +project = "Kafka schema registry admin" |
50 | 51 | copyright = "2021, JohnPreston" |
51 | 52 | author = "JohnPreston" |
52 | 53 |
|
|
69 | 70 | # List of patterns, relative to source directory, that match files and |
70 | 71 | # directories to ignore when looking for source files. |
71 | 72 | # This patterns also effect to html_static_path and html_extra_path |
72 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 73 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
73 | 74 |
|
74 | 75 | # The name of the Pygments (syntax highlighting) style to use. |
75 | | -pygments_style = 'sphinx' |
| 76 | +pygments_style = "sphinx" |
76 | 77 |
|
77 | 78 | # If true, `todo` and `todoList` produce output, else they produce nothing. |
78 | 79 | todo_include_todos = False |
|
83 | 84 | # The theme to use for HTML and HTML Help pages. See the documentation for |
84 | 85 | # a list of builtin themes. |
85 | 86 | # |
86 | | -html_theme = 'alabaster' |
| 87 | +html_theme = "alabaster" |
87 | 88 |
|
88 | 89 | # Theme options are theme-specific and customize the look and feel of a |
89 | 90 | # theme further. For a list of options available for each theme, see the |
|
94 | 95 | # Add any paths that contain custom static files (such as style sheets) here, |
95 | 96 | # relative to this directory. They are copied after the builtin static files, |
96 | 97 | # so a file named "default.css" will overwrite the builtin "default.css". |
97 | | -html_static_path = ['_static'] |
| 98 | +html_static_path = ["_static"] |
98 | 99 |
|
99 | 100 |
|
100 | 101 | # -- Options for HTMLHelp output --------------------------------------- |
101 | 102 |
|
102 | 103 | # Output file base name for HTML help builder. |
103 | | -htmlhelp_basename = 'kafka_schema_registry_admindoc' |
| 104 | +htmlhelp_basename = "kafka_schema_registry_admindoc" |
104 | 105 |
|
105 | 106 |
|
106 | 107 | # -- Options for LaTeX output ------------------------------------------ |
|
109 | 110 | # The paper size ('letterpaper' or 'a4paper'). |
110 | 111 | # |
111 | 112 | # 'papersize': 'letterpaper', |
112 | | - |
113 | 113 | # The font size ('10pt', '11pt' or '12pt'). |
114 | 114 | # |
115 | 115 | # 'pointsize': '10pt', |
116 | | - |
117 | 116 | # Additional stuff for the LaTeX preamble. |
118 | 117 | # |
119 | 118 | # 'preamble': '', |
120 | | - |
121 | 119 | # Latex figure (float) alignment |
122 | 120 | # |
123 | 121 | # 'figure_align': 'htbp', |
|
127 | 125 | # (source start file, target name, title, author, documentclass |
128 | 126 | # [howto, manual, or own class]). |
129 | 127 | latex_documents = [ |
130 | | - (master_doc, 'kafka_schema_registry_admin.tex', |
131 | | - 'Kafka schema registry admin Documentation', |
132 | | - 'JohnPreston', 'manual'), |
| 128 | + ( |
| 129 | + master_doc, |
| 130 | + "kafka_schema_registry_admin.tex", |
| 131 | + "Kafka schema registry admin Documentation", |
| 132 | + "JohnPreston", |
| 133 | + "manual", |
| 134 | + ), |
133 | 135 | ] |
134 | 136 |
|
135 | 137 |
|
|
138 | 140 | # One entry per manual page. List of tuples |
139 | 141 | # (source start file, name, description, authors, manual section). |
140 | 142 | man_pages = [ |
141 | | - (master_doc, 'kafka_schema_registry_admin', |
142 | | - 'Kafka schema registry admin Documentation', |
143 | | - [author], 1) |
| 143 | + ( |
| 144 | + master_doc, |
| 145 | + "kafka_schema_registry_admin", |
| 146 | + "Kafka schema registry admin Documentation", |
| 147 | + [author], |
| 148 | + 1, |
| 149 | + ) |
144 | 150 | ] |
145 | 151 |
|
146 | 152 |
|
|
150 | 156 | # (source start file, target name, title, author, |
151 | 157 | # dir menu entry, description, category) |
152 | 158 | texinfo_documents = [ |
153 | | - (master_doc, 'kafka_schema_registry_admin', |
154 | | - 'Kafka schema registry admin Documentation', |
155 | | - author, |
156 | | - 'kafka_schema_registry_admin', |
157 | | - 'One line description of project.', |
158 | | - 'Miscellaneous'), |
| 159 | + ( |
| 160 | + master_doc, |
| 161 | + "kafka_schema_registry_admin", |
| 162 | + "Kafka schema registry admin Documentation", |
| 163 | + author, |
| 164 | + "kafka_schema_registry_admin", |
| 165 | + "One line description of project.", |
| 166 | + "Miscellaneous", |
| 167 | + ), |
159 | 168 | ] |
160 | | - |
161 | | - |
162 | | - |
|
0 commit comments