|
14 | 14 | # |
15 | 15 | import os |
16 | 16 | import sys |
17 | | -sys.path.insert(0, os.path.abspath('../..')) |
| 17 | + |
| 18 | +sys.path.insert(0, os.path.abspath("../..")) |
18 | 19 |
|
19 | 20 | import sphinx_rtd_theme |
20 | 21 |
|
21 | 22 |
|
22 | 23 | # -- Project information ----------------------------------------------------- |
23 | 24 |
|
24 | | -project = 'androidtv' |
25 | | -copyright = '2020, Jeff Irion' |
26 | | -author = 'Jeff Irion' |
| 25 | +project = "androidtv" |
| 26 | +copyright = "2020, Jeff Irion" |
| 27 | +author = "Jeff Irion" |
27 | 28 |
|
28 | 29 | # The short X.Y version |
29 | | -version = '0.0.75' |
| 30 | +version = "0.0.75" |
30 | 31 | # The full version, including alpha/beta/rc tags |
31 | | -release = '0.0.75' |
| 32 | +release = "0.0.75" |
32 | 33 |
|
33 | 34 |
|
34 | 35 | # -- General configuration --------------------------------------------------- |
|
41 | 42 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
42 | 43 | # ones. |
43 | 44 | extensions = [ |
44 | | - 'sphinx.ext.todo', |
45 | | - 'sphinx.ext.mathjax', |
46 | | - 'sphinx.ext.viewcode', |
47 | | - 'sphinx.ext.autodoc', |
48 | | - 'sphinx.ext.napoleon' |
| 45 | + "sphinx.ext.todo", |
| 46 | + "sphinx.ext.mathjax", |
| 47 | + "sphinx.ext.viewcode", |
| 48 | + "sphinx.ext.autodoc", |
| 49 | + "sphinx.ext.napoleon", |
49 | 50 | ] |
50 | 51 |
|
51 | 52 | # Add any paths that contain templates here, relative to this directory. |
52 | | -templates_path = ['_templates'] |
| 53 | +templates_path = ["_templates"] |
53 | 54 |
|
54 | 55 | # The suffix(es) of source filenames. |
55 | 56 | # You can specify multiple suffix as a list of string: |
56 | 57 | # |
57 | 58 | # source_suffix = ['.rst', '.md'] |
58 | | -source_suffix = '.rst' |
| 59 | +source_suffix = ".rst" |
59 | 60 |
|
60 | 61 | # The master toctree document. |
61 | | -master_doc = 'index' |
| 62 | +master_doc = "index" |
62 | 63 |
|
63 | 64 | # The language for content autogenerated by Sphinx. Refer to documentation |
64 | 65 | # for a list of supported languages. |
|
73 | 74 | exclude_patterns = [] |
74 | 75 |
|
75 | 76 | # The name of the Pygments (syntax highlighting) style to use. |
76 | | -pygments_style = 'sphinx' |
| 77 | +pygments_style = "sphinx" |
77 | 78 |
|
78 | | -autodoc_mock_imports = ['adb', 'adb_messenger'] |
| 79 | +autodoc_mock_imports = ["adb", "adb_messenger"] |
79 | 80 |
|
80 | | -autodoc_default_options = {'members': True, 'undoc-members': True, 'private-members': True, 'show-inheritance': True} |
| 81 | +autodoc_default_options = { |
| 82 | + "members": True, |
| 83 | + "undoc-members": True, |
| 84 | + "private-members": True, |
| 85 | + "show-inheritance": True, |
| 86 | +} |
81 | 87 |
|
82 | 88 | # -- Options for HTML output ------------------------------------------------- |
83 | 89 |
|
84 | 90 | # The theme to use for HTML and HTML Help pages. See the documentation for |
85 | 91 | # a list of builtin themes. |
86 | 92 | # |
87 | | -html_theme = 'sphinx_rtd_theme' |
| 93 | +html_theme = "sphinx_rtd_theme" |
88 | 94 |
|
89 | 95 | # Theme options are theme-specific and customize the look and feel of a theme |
90 | 96 | # further. For a list of options available for each theme, see the |
|
95 | 101 | # Add any paths that contain custom static files (such as style sheets) here, |
96 | 102 | # relative to this directory. They are copied after the builtin static files, |
97 | 103 | # so a file named "default.css" will overwrite the builtin "default.css". |
98 | | -html_static_path = ['_static'] |
| 104 | +html_static_path = ["_static"] |
99 | 105 |
|
100 | 106 | # Custom sidebar templates, must be a dictionary that maps document names |
101 | 107 | # to template names. |
|
111 | 117 | # -- Options for HTMLHelp output --------------------------------------------- |
112 | 118 |
|
113 | 119 | # Output file base name for HTML help builder. |
114 | | -htmlhelp_basename = 'androidtvdoc' |
| 120 | +htmlhelp_basename = "androidtvdoc" |
115 | 121 |
|
116 | 122 |
|
117 | 123 | # -- Options for LaTeX output ------------------------------------------------ |
|
120 | 126 | # The paper size ('letterpaper' or 'a4paper'). |
121 | 127 | # |
122 | 128 | # 'papersize': 'letterpaper', |
123 | | - |
124 | 129 | # The font size ('10pt', '11pt' or '12pt'). |
125 | 130 | # |
126 | 131 | # 'pointsize': '10pt', |
127 | | - |
128 | 132 | # Additional stuff for the LaTeX preamble. |
129 | 133 | # |
130 | 134 | # 'preamble': '', |
131 | | - |
132 | 135 | # Latex figure (float) alignment |
133 | 136 | # |
134 | 137 | # 'figure_align': 'htbp', |
|
138 | 141 | # (source start file, target name, title, |
139 | 142 | # author, documentclass [howto, manual, or own class]). |
140 | 143 | latex_documents = [ |
141 | | - (master_doc, 'androidtv.tex', 'androidtv Documentation', |
142 | | - 'Jeff Irion', 'manual'), |
| 144 | + (master_doc, "androidtv.tex", "androidtv Documentation", "Jeff Irion", "manual"), |
143 | 145 | ] |
144 | 146 |
|
145 | 147 |
|
146 | 148 | # -- Options for manual page output ------------------------------------------ |
147 | 149 |
|
148 | 150 | # One entry per manual page. List of tuples |
149 | 151 | # (source start file, name, description, authors, manual section). |
150 | | -man_pages = [ |
151 | | - (master_doc, 'androidtv', 'androidtv Documentation', |
152 | | - [author], 1) |
153 | | -] |
| 152 | +man_pages = [(master_doc, "androidtv", "androidtv Documentation", [author], 1)] |
154 | 153 |
|
155 | 154 |
|
156 | 155 | # -- Options for Texinfo output ---------------------------------------------- |
|
159 | 158 | # (source start file, target name, title, author, |
160 | 159 | # dir menu entry, description, category) |
161 | 160 | texinfo_documents = [ |
162 | | - (master_doc, 'androidtv', 'androidtv Documentation', |
163 | | - author, 'androidtv', 'One line description of project.', |
164 | | - 'Miscellaneous'), |
| 161 | + ( |
| 162 | + master_doc, |
| 163 | + "androidtv", |
| 164 | + "androidtv Documentation", |
| 165 | + author, |
| 166 | + "androidtv", |
| 167 | + "One line description of project.", |
| 168 | + "Miscellaneous", |
| 169 | + ), |
165 | 170 | ] |
166 | 171 |
|
167 | 172 |
|
|
0 commit comments