|
1 | | -# -*- coding: utf-8 -*- |
2 | 1 | # |
3 | 2 | # Configuration file for the Sphinx documentation builder. |
4 | 3 | # |
|
19 | 18 |
|
20 | 19 | # -- Project information ----------------------------------------------------- |
21 | 20 |
|
22 | | -project = 'pyevmasm' |
23 | | -copyright = '2018, Trail of Bits' |
24 | | -author = 'Trail of Bits' |
| 21 | +project = "pyevmasm" |
| 22 | +copyright = "2018, Trail of Bits" |
| 23 | +author = "Trail of Bits" |
25 | 24 |
|
26 | 25 | # The short X.Y version |
27 | | -version = '' |
| 26 | +version = "" |
28 | 27 | # The full version, including alpha/beta/rc tags |
29 | | -release = '' |
| 28 | +release = "" |
30 | 29 |
|
31 | 30 |
|
32 | 31 | # -- General configuration --------------------------------------------------- |
|
38 | 37 | # Add any Sphinx extension module names here, as strings. They can be |
39 | 38 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
40 | 39 | # ones. |
41 | | -extensions = [ |
42 | | - 'sphinx.ext.todo', 'sphinx.ext.viewcode', 'sphinx.ext.autodoc' |
43 | | -] |
| 40 | +extensions = ["sphinx.ext.todo", "sphinx.ext.viewcode", "sphinx.ext.autodoc"] |
44 | 41 |
|
45 | 42 | # Add any paths that contain templates here, relative to this directory. |
46 | | -templates_path = ['_templates'] |
| 43 | +templates_path = ["_templates"] |
47 | 44 |
|
48 | 45 | # The suffix(es) of source filenames. |
49 | 46 | # You can specify multiple suffix as a list of string: |
50 | 47 | # |
51 | 48 | # source_suffix = ['.rst', '.md'] |
52 | | -source_suffix = '.rst' |
| 49 | +source_suffix = ".rst" |
53 | 50 |
|
54 | 51 | # The master toctree document. |
55 | | -master_doc = 'index' |
| 52 | +master_doc = "index" |
56 | 53 |
|
57 | 54 | # The language for content autogenerated by Sphinx. Refer to documentation |
58 | 55 | # for a list of supported languages. |
|
64 | 61 | # List of patterns, relative to source directory, that match files and |
65 | 62 | # directories to ignore when looking for source files. |
66 | 63 | # This pattern also affects html_static_path and html_extra_path . |
67 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 64 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
68 | 65 |
|
69 | 66 | # The name of the Pygments (syntax highlighting) style to use. |
70 | | -pygments_style = 'sphinx' |
| 67 | +pygments_style = "sphinx" |
71 | 68 |
|
72 | 69 |
|
73 | 70 | # -- Options for HTML output ------------------------------------------------- |
74 | 71 |
|
75 | 72 | # The theme to use for HTML and HTML Help pages. See the documentation for |
76 | 73 | # a list of builtin themes. |
77 | 74 | # |
78 | | -html_theme = 'alabaster' |
| 75 | +html_theme = "alabaster" |
79 | 76 |
|
80 | 77 | # Theme options are theme-specific and customize the look and feel of a theme |
81 | 78 | # further. For a list of options available for each theme, see the |
|
86 | 83 | # Add any paths that contain custom static files (such as style sheets) here, |
87 | 84 | # relative to this directory. They are copied after the builtin static files, |
88 | 85 | # so a file named "default.css" will overwrite the builtin "default.css". |
89 | | -html_static_path = ['_static'] |
| 86 | +html_static_path = ["_static"] |
90 | 87 |
|
91 | 88 | # Custom sidebar templates, must be a dictionary that maps document names |
92 | 89 | # to template names. |
|
102 | 99 | # -- Options for HTMLHelp output --------------------------------------------- |
103 | 100 |
|
104 | 101 | # Output file base name for HTML help builder. |
105 | | -htmlhelp_basename = 'pyevmasmdoc' |
| 102 | +htmlhelp_basename = "pyevmasmdoc" |
106 | 103 |
|
107 | 104 |
|
108 | 105 | # -- Options for LaTeX output ------------------------------------------------ |
|
111 | 108 | # The paper size ('letterpaper' or 'a4paper'). |
112 | 109 | # |
113 | 110 | # 'papersize': 'letterpaper', |
114 | | - |
115 | 111 | # The font size ('10pt', '11pt' or '12pt'). |
116 | 112 | # |
117 | 113 | # 'pointsize': '10pt', |
118 | | - |
119 | 114 | # Additional stuff for the LaTeX preamble. |
120 | 115 | # |
121 | 116 | # 'preamble': '', |
122 | | - |
123 | 117 | # Latex figure (float) alignment |
124 | 118 | # |
125 | 119 | # 'figure_align': 'htbp', |
|
129 | 123 | # (source start file, target name, title, |
130 | 124 | # author, documentclass [howto, manual, or own class]). |
131 | 125 | latex_documents = [ |
132 | | - (master_doc, 'pyevmasm.tex', 'pyevmasm Documentation', |
133 | | - 'Trail of Bits', 'manual'), |
| 126 | + (master_doc, "pyevmasm.tex", "pyevmasm Documentation", "Trail of Bits", "manual"), |
134 | 127 | ] |
135 | 128 |
|
136 | 129 |
|
137 | 130 | # -- Options for manual page output ------------------------------------------ |
138 | 131 |
|
139 | 132 | # One entry per manual page. List of tuples |
140 | 133 | # (source start file, name, description, authors, manual section). |
141 | | -man_pages = [ |
142 | | - (master_doc, 'pyevmasm', 'pyevmasm Documentation', |
143 | | - [author], 1) |
144 | | -] |
| 134 | +man_pages = [(master_doc, "pyevmasm", "pyevmasm Documentation", [author], 1)] |
145 | 135 |
|
146 | 136 |
|
147 | 137 | # -- Options for Texinfo output ---------------------------------------------- |
|
150 | 140 | # (source start file, target name, title, author, |
151 | 141 | # dir menu entry, description, category) |
152 | 142 | texinfo_documents = [ |
153 | | - (master_doc, 'pyevmasm', 'pyevmasm Documentation', |
154 | | - author, 'pyevmasm', 'One line description of project.', |
155 | | - 'Miscellaneous'), |
| 143 | + ( |
| 144 | + master_doc, |
| 145 | + "pyevmasm", |
| 146 | + "pyevmasm Documentation", |
| 147 | + author, |
| 148 | + "pyevmasm", |
| 149 | + "One line description of project.", |
| 150 | + "Miscellaneous", |
| 151 | + ), |
156 | 152 | ] |
0 commit comments