|
9 | 9 | from setuptools_scm import get_version |
10 | 10 |
|
11 | 11 | extensions = [ |
12 | | - 'sphinx.ext.autodoc', |
13 | | - 'sphinx.ext.autosummary', |
14 | | - 'sphinx.ext.coverage', |
15 | | - 'sphinx.ext.viewcode', |
16 | | - 'sphinx.ext.intersphinx', |
| 12 | + "sphinx.ext.autodoc", |
| 13 | + "sphinx.ext.autosummary", |
| 14 | + "sphinx.ext.coverage", |
| 15 | + "sphinx.ext.viewcode", |
| 16 | + "sphinx.ext.intersphinx", |
17 | 17 | ] |
18 | 18 |
|
19 | | -autodoc_member_order = 'bysource' |
20 | | -templates_path = ['_templates'] |
21 | | -source_suffix = '.rst' |
22 | | -master_doc = 'index' |
23 | | -project = 'pyvcd' |
24 | | -copyright = '2021, Western Digital Corporation' |
25 | | -author = 'Peter Grayson and Steven Sprouse' |
26 | | -version = get_version(root='..', relative_to=__file__) |
| 19 | +autodoc_member_order = "bysource" |
| 20 | +templates_path = ["_templates"] |
| 21 | +source_suffix = ".rst" |
| 22 | +master_doc = "index" |
| 23 | +project = "pyvcd" |
| 24 | +copyright = "2021, Western Digital Corporation" |
| 25 | +author = "Peter Grayson and Steven Sprouse" |
| 26 | +version = get_version(root="..", relative_to=__file__) |
27 | 27 | # release = '0.0.1' |
28 | | -language = 'en' |
29 | | -exclude_patterns = ['_build'] |
30 | | -pygments_style = 'sphinx' |
| 28 | +language = "en" |
| 29 | +exclude_patterns = ["_build"] |
| 30 | +pygments_style = "sphinx" |
31 | 31 | todo_include_todos = False |
32 | 32 |
|
33 | 33 | # Options for HTML output |
34 | | -html_theme = 'sphinx_rtd_theme' |
| 34 | +html_theme = "sphinx_rtd_theme" |
35 | 35 | # html_static_path = ['_static'] |
36 | | -htmlhelp_basename = 'pyvcddoc' |
| 36 | +htmlhelp_basename = "pyvcddoc" |
37 | 37 |
|
38 | 38 | # Options for LaTeX output |
39 | 39 |
|
40 | 40 | latex_elements = {} |
41 | 41 | latex_documents = [ |
42 | 42 | ( |
43 | 43 | master_doc, |
44 | | - 'pyvcd.tex', |
45 | | - 'pyvcd Documentation', |
46 | | - 'Peter Grayson and Steven Sprouse', |
47 | | - 'manual', |
| 44 | + "pyvcd.tex", |
| 45 | + "pyvcd Documentation", |
| 46 | + "Peter Grayson and Steven Sprouse", |
| 47 | + "manual", |
48 | 48 | ), |
49 | 49 | ] |
50 | 50 |
|
51 | 51 | # Options for manual page output |
52 | | -man_pages = [(master_doc, 'pyvcd', 'pyvcd Documentation', [author], 1)] |
| 52 | +man_pages = [(master_doc, "pyvcd", "pyvcd Documentation", [author], 1)] |
53 | 53 |
|
54 | 54 | # Options for Texinfo output |
55 | 55 | texinfo_documents = [ |
56 | 56 | ( |
57 | 57 | master_doc, |
58 | | - 'pyvcd', |
59 | | - 'pyvcd Documentation', |
| 58 | + "pyvcd", |
| 59 | + "pyvcd Documentation", |
60 | 60 | author, |
61 | | - 'pyvcd', |
62 | | - 'One line description of project.', |
63 | | - 'Miscellaneous', |
| 61 | + "pyvcd", |
| 62 | + "One line description of project.", |
| 63 | + "Miscellaneous", |
64 | 64 | ), |
65 | 65 | ] |
0 commit comments