|
20 | 20 | # If your extensions are in another directory, add it here. If the directory |
21 | 21 | # is relative to the documentation root, use os.path.abspath to make it |
22 | 22 | # absolute, like shown here. |
23 | | -#sys.path.append(os.path.abspath('.')) |
24 | | -sys.path.insert(0, os.path.abspath('../..')) |
| 23 | +# sys.path.append(os.path.abspath('.')) |
| 24 | +sys.path.insert(0, os.path.abspath("../..")) |
25 | 25 |
|
26 | 26 | # General configuration |
27 | 27 | # --------------------- |
28 | 28 |
|
29 | 29 | # Add any Sphinx extension module names here, as strings. They can be extensions |
30 | 30 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
31 | | -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest'] |
| 31 | +extensions = ["sphinx.ext.autodoc", "sphinx.ext.doctest"] |
32 | 32 |
|
33 | 33 | # Add any paths that contain templates here, relative to this directory. |
34 | 34 | templates_path = [] |
35 | 35 |
|
36 | 36 | # The suffix of source filenames. |
37 | | -source_suffix = '.rst' |
| 37 | +source_suffix = ".rst" |
38 | 38 |
|
39 | 39 | # The encoding of source files. |
40 | | -#source_encoding = 'utf-8' |
| 40 | +# source_encoding = 'utf-8' |
41 | 41 |
|
42 | 42 | # The master toctree document. |
43 | | -master_doc = 'index' |
| 43 | +master_doc = "index" |
44 | 44 |
|
45 | 45 | # General information about the project. |
46 | | -project = 'GitPython' |
47 | | -copyright = 'Copyright (C) 2008, 2009 Michael Trier and contributors, 2010-2015 Sebastian Thiel' |
| 46 | +project = "GitPython" |
| 47 | +copyright = "Copyright (C) 2008, 2009 Michael Trier and contributors, 2010-2015 Sebastian Thiel" |
48 | 48 |
|
49 | 49 | # The version info for the project you're documenting, acts as replacement for |
50 | 50 | # |version| and |release|, also used in various other places throughout the |
51 | 51 | # built documents. |
52 | 52 | # |
53 | 53 | # The short X.Y version. |
54 | | -with open(os.path.join(os.path.dirname(__file__), "..", "..", 'VERSION')) as fd: |
| 54 | +with open(os.path.join(os.path.dirname(__file__), "..", "..", "VERSION")) as fd: |
55 | 55 | VERSION = fd.readline().strip() |
56 | 56 | version = VERSION |
57 | 57 | # The full version, including alpha/beta/rc tags. |
58 | 58 | release = VERSION |
59 | 59 |
|
60 | 60 | # The language for content autogenerated by Sphinx. Refer to documentation |
61 | 61 | # for a list of supported languages. |
62 | | -#language = None |
| 62 | +# language = None |
63 | 63 |
|
64 | 64 | # There are two options for replacing |today|: either, you set today to some |
65 | 65 | # non-false value, then it is used: |
66 | | -#today = '' |
| 66 | +# today = '' |
67 | 67 | # Else, today_fmt is used as the format for a strftime call. |
68 | | -#today_fmt = '%B %d, %Y' |
| 68 | +# today_fmt = '%B %d, %Y' |
69 | 69 |
|
70 | 70 | # List of documents that shouldn't be included in the build. |
71 | | -#unused_docs = [] |
| 71 | +# unused_docs = [] |
72 | 72 |
|
73 | 73 | # List of directories, relative to source directory, that shouldn't be searched |
74 | 74 | # for source files. |
75 | | -exclude_trees = ['build'] |
| 75 | +exclude_trees = ["build"] |
76 | 76 |
|
77 | 77 | # The reST default role (used for this markup: `text`) to use for all documents. |
78 | | -#default_role = None |
| 78 | +# default_role = None |
79 | 79 |
|
80 | 80 | # If true, '()' will be appended to :func: etc. cross-reference text. |
81 | | -#add_function_parentheses = True |
| 81 | +# add_function_parentheses = True |
82 | 82 |
|
83 | 83 | # If true, the current module name will be prepended to all description |
84 | 84 | # unit titles (such as .. function::). |
85 | | -#add_module_names = True |
| 85 | +# add_module_names = True |
86 | 86 |
|
87 | 87 | # If true, sectionauthor and moduleauthor directives will be shown in the |
88 | 88 | # output. They are ignored by default. |
89 | | -#show_authors = False |
| 89 | +# show_authors = False |
90 | 90 |
|
91 | 91 | # The name of the Pygments (syntax highlighting) style to use. |
92 | | -pygments_style = 'sphinx' |
| 92 | +pygments_style = "sphinx" |
93 | 93 |
|
94 | 94 |
|
95 | 95 | # Options for HTML output |
96 | 96 | # ----------------------- |
97 | 97 |
|
98 | | -html_theme = 'sphinx_rtd_theme' |
99 | | -html_theme_options = { |
100 | | -} |
| 98 | +html_theme = "sphinx_rtd_theme" |
| 99 | +html_theme_options = {} |
101 | 100 |
|
102 | 101 | # The name for this set of Sphinx documents. If None, it defaults to |
103 | 102 | # "<project> v<release> documentation". |
104 | | -#html_title = None |
| 103 | +# html_title = None |
105 | 104 |
|
106 | 105 | # A shorter title for the navigation bar. Default is the same as html_title. |
107 | | -#html_short_title = None |
| 106 | +# html_short_title = None |
108 | 107 |
|
109 | 108 | # The name of an image file (relative to this directory) to place at the top |
110 | 109 | # of the sidebar. |
111 | | -#html_logo = None |
| 110 | +# html_logo = None |
112 | 111 |
|
113 | 112 | # The name of an image file (within the static path) to use as favicon of the |
114 | 113 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
115 | 114 | # pixels large. |
116 | | -#html_favicon = None |
| 115 | +# html_favicon = None |
117 | 116 |
|
118 | 117 | # Add any paths that contain custom static files (such as style sheets) here, |
119 | 118 | # relative to this directory. They are copied after the builtin static files, |
|
122 | 121 |
|
123 | 122 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
124 | 123 | # using the given strftime format. |
125 | | -#html_last_updated_fmt = '%b %d, %Y' |
| 124 | +# html_last_updated_fmt = '%b %d, %Y' |
126 | 125 |
|
127 | 126 | # If true, SmartyPants will be used to convert quotes and dashes to |
128 | 127 | # typographically correct entities. |
129 | | -#html_use_smartypants = True |
| 128 | +# html_use_smartypants = True |
130 | 129 |
|
131 | 130 | # Custom sidebar templates, maps document names to template names. |
132 | | -#html_sidebars = {} |
| 131 | +# html_sidebars = {} |
133 | 132 |
|
134 | 133 | # Additional templates that should be rendered to pages, maps page names to |
135 | 134 | # template names. |
136 | | -#html_additional_pages = {} |
| 135 | +# html_additional_pages = {} |
137 | 136 |
|
138 | 137 | # If false, no module index is generated. |
139 | | -#html_use_modindex = True |
| 138 | +# html_use_modindex = True |
140 | 139 |
|
141 | 140 | # If false, no index is generated. |
142 | | -#html_use_index = True |
| 141 | +# html_use_index = True |
143 | 142 |
|
144 | 143 | # If true, the index is split into individual pages for each letter. |
145 | | -#html_split_index = False |
| 144 | +# html_split_index = False |
146 | 145 |
|
147 | 146 | # If true, the reST sources are included in the HTML build as _sources/<name>. |
148 | | -#html_copy_source = True |
| 147 | +# html_copy_source = True |
149 | 148 |
|
150 | 149 | # If true, an OpenSearch description file will be output, and all pages will |
151 | 150 | # contain a <link> tag referring to it. The value of this option must be the |
152 | 151 | # base URL from which the finished HTML is served. |
153 | | -#html_use_opensearch = '' |
| 152 | +# html_use_opensearch = '' |
154 | 153 |
|
155 | 154 | # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). |
156 | | -#html_file_suffix = '' |
| 155 | +# html_file_suffix = '' |
157 | 156 |
|
158 | 157 | # Output file base name for HTML help builder. |
159 | | -htmlhelp_basename = 'gitpythondoc' |
| 158 | +htmlhelp_basename = "gitpythondoc" |
160 | 159 |
|
161 | 160 |
|
162 | 161 | # Options for LaTeX output |
163 | 162 | # ------------------------ |
164 | 163 |
|
165 | 164 | # The paper size ('letter' or 'a4'). |
166 | | -#latex_paper_size = 'letter' |
| 165 | +# latex_paper_size = 'letter' |
167 | 166 |
|
168 | 167 | # The font size ('10pt', '11pt' or '12pt'). |
169 | | -#latex_font_size = '10pt' |
| 168 | +# latex_font_size = '10pt' |
170 | 169 |
|
171 | 170 | # Grouping the document tree into LaTeX files. List of tuples |
172 | 171 | # (source start file, target name, title, author, document class [howto/manual]). |
173 | 172 | latex_documents = [ |
174 | | - ('index', 'GitPython.tex', r'GitPython Documentation', |
175 | | - r'Michael Trier', 'manual'), |
| 173 | + ("index", "GitPython.tex", r"GitPython Documentation", r"Michael Trier", "manual"), |
176 | 174 | ] |
177 | 175 |
|
178 | 176 | # The name of an image file (relative to this directory) to place at the top of |
179 | 177 | # the title page. |
180 | | -#latex_logo = None |
| 178 | +# latex_logo = None |
181 | 179 |
|
182 | 180 | # For "manual" documents, if this is true, then toplevel headings are parts, |
183 | 181 | # not chapters. |
184 | | -#latex_use_parts = False |
| 182 | +# latex_use_parts = False |
185 | 183 |
|
186 | 184 | # Additional stuff for the LaTeX preamble. |
187 | | -#latex_preamble = '' |
| 185 | +# latex_preamble = '' |
188 | 186 |
|
189 | 187 | # Documents to append as an appendix to all manuals. |
190 | | -#latex_appendices = [] |
| 188 | +# latex_appendices = [] |
191 | 189 |
|
192 | 190 | # If false, no module index is generated. |
193 | | -#latex_use_modindex = True |
| 191 | +# latex_use_modindex = True |
0 commit comments