|
33 | 33 | # This lets us ensure that the source package is imported, and that its |
34 | 34 | # version is used. |
35 | 35 |
|
36 | | -if platform.system() == 'Darwin': |
| 36 | +if platform.system() == "Darwin": |
37 | 37 | sys.path.insert(0, project_root) |
38 | 38 |
|
39 | 39 | import selectolax |
|
46 | 46 | # Add any Sphinx extension module names here, as strings. They can be |
47 | 47 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
48 | 48 | extensions = [ |
49 | | - 'sphinx.ext.autodoc', |
50 | | - 'sphinx.ext.viewcode', |
51 | | - 'numpydoc', |
52 | | - 'sphinxext.opengraph', |
53 | | - 'sphinx_copybutton' |
| 49 | + "sphinx.ext.autodoc", |
| 50 | + "sphinx.ext.viewcode", |
| 51 | + "numpydoc", |
| 52 | + "sphinxext.opengraph", |
| 53 | + "sphinx_copybutton", |
54 | 54 | ] |
55 | 55 |
|
56 | 56 | # Add any paths that contain templates here, relative to this directory. |
57 | | -templates_path = ['_templates'] |
| 57 | +templates_path = ["_templates"] |
58 | 58 |
|
59 | 59 | # The suffix of source filenames. |
60 | | -source_suffix = '.rst' |
| 60 | +source_suffix = ".rst" |
61 | 61 |
|
62 | 62 | # The encoding of source files. |
63 | 63 | # source_encoding = 'utf-8-sig' |
64 | 64 |
|
65 | 65 | # The master toctree document. |
66 | | -master_doc = 'index' |
| 66 | +master_doc = "index" |
67 | 67 |
|
68 | 68 | # General information about the project. |
69 | | -project = u'selectolax' |
70 | | -copyright = u"2018-2025, Artem Golubin" |
| 69 | +project = "selectolax" |
| 70 | +copyright = "2018-2026, Artem Golubin" |
71 | 71 |
|
72 | 72 | # The version info for the project you're documenting, acts as replacement |
73 | 73 | # for |version| and |release|, also used in various other places throughout |
|
90 | 90 |
|
91 | 91 | # List of patterns, relative to source directory, that match files and |
92 | 92 | # directories to ignore when looking for source files. |
93 | | -exclude_patterns = ['_build'] |
| 93 | +exclude_patterns = ["_build"] |
94 | 94 |
|
95 | 95 | # The reST default role (used for this markup: `text`) to use for all |
96 | 96 | # documents. |
|
108 | 108 | # show_authors = False |
109 | 109 |
|
110 | 110 | # The name of the Pygments (syntax highlighting) style to use. |
111 | | -pygments_style = 'sphinx' |
| 111 | +pygments_style = "sphinx" |
112 | 112 |
|
113 | 113 | # A list of ignored prefixes for module index sorting. |
114 | 114 | # modindex_common_prefix = [] |
|
123 | 123 | # The theme to use for HTML and HTML Help pages. See the documentation for |
124 | 124 | # a list of builtin themes. |
125 | 125 | # html_theme = 'default' |
126 | | -html_theme = 'furo' |
| 126 | +html_theme = "furo" |
127 | 127 |
|
128 | 128 | # Theme options are theme-specific and customize the look and feel of a |
129 | 129 | # theme further. For a list of options available for each theme, see the |
|
204 | 204 | # html_file_suffix = None |
205 | 205 |
|
206 | 206 | # Output file base name for HTML help builder. |
207 | | -htmlhelp_basename = 'selectolaxdoc' |
| 207 | +htmlhelp_basename = "selectolaxdoc" |
208 | 208 |
|
209 | 209 | # -- Options for LaTeX output ------------------------------------------ |
210 | 210 |
|
211 | 211 | latex_elements = { |
212 | 212 | # The paper size ('letterpaper' or 'a4paper'). |
213 | 213 | # 'papersize': 'letterpaper', |
214 | | - |
215 | 214 | # The font size ('10pt', '11pt' or '12pt'). |
216 | 215 | # 'pointsize': '10pt', |
217 | | - |
218 | 216 | # Additional stuff for the LaTeX preamble. |
219 | 217 | # 'preamble': '', |
220 | 218 | } |
|
223 | 221 | # (source start file, target name, title, author, documentclass |
224 | 222 | # [howto/manual]). |
225 | 223 | latex_documents = [ |
226 | | - ('index', 'selectolax.tex', |
227 | | - u'selectolax Documentation', |
228 | | - u'Artem Golubin', 'manual'), |
| 224 | + ("index", "selectolax.tex", "selectolax Documentation", "Artem Golubin", "manual"), |
229 | 225 | ] |
230 | 226 |
|
231 | 227 | # The name of an image file (relative to this directory) to place at |
|
253 | 249 |
|
254 | 250 | # One entry per manual page. List of tuples |
255 | 251 | # (source start file, name, description, authors, manual section). |
256 | | -man_pages = [ |
257 | | - ('index', 'selectolax', |
258 | | - u'selectolax Documentation', |
259 | | - [u'Artem Golubin'], 1) |
260 | | -] |
| 252 | +man_pages = [("index", "selectolax", "selectolax Documentation", ["Artem Golubin"], 1)] |
261 | 253 |
|
262 | 254 | # If true, show URL addresses after external links. |
263 | 255 | # man_show_urls = False |
|
269 | 261 | # (source start file, target name, title, author, |
270 | 262 | # dir menu entry, description, category) |
271 | 263 | texinfo_documents = [ |
272 | | - ('index', 'selectolax', |
273 | | - u'selectolax Documentation', |
274 | | - u'Artem Golubin', |
275 | | - 'selectolax', |
276 | | - 'One line description of project.', |
277 | | - 'Miscellaneous'), |
| 264 | + ( |
| 265 | + "index", |
| 266 | + "selectolax", |
| 267 | + "selectolax Documentation", |
| 268 | + "Artem Golubin", |
| 269 | + "selectolax", |
| 270 | + "One line description of project.", |
| 271 | + "Miscellaneous", |
| 272 | + ), |
278 | 273 | ] |
279 | 274 |
|
280 | 275 | # Documents to append as an appendix to all manuals. |
|
0 commit comments