@@ -48,9 +48,9 @@ release = u'{{ release_str }}'
48
48
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
49
49
# ones.
50
50
extensions = [
51
- {% for ext in extensions %}
51
+ {%- for ext in extensions %}
52
52
'{{ ext }}',
53
- {% endfor %}
53
+ {%- endfor %}
54
54
]
55
55
56
56
# Add any paths that contain templates here, relative to this directory.
@@ -70,7 +70,7 @@ master_doc = '{{ master_str }}'
70
70
#
71
71
# This is also used if you do content translation via gettext catalogs.
72
72
# Usually you set "language" from the command line for these cases.
73
- language = ' {{ language }}'
73
+ language = {{ language | repr }}
74
74
75
75
# List of patterns, relative to source directory, that match files and
76
76
# directories to ignore when looking for source files.
@@ -165,16 +165,12 @@ texinfo_documents = [
165
165
author, '{{ project_fn }}', 'One line description of project.',
166
166
'Miscellaneous'),
167
167
]
168
- {%- if epub %}
169
168
170
169
171
170
# -- Options for Epub output -------------------------------------------------
172
171
173
172
# Bibliographic Dublin Core info.
174
173
epub_title = project
175
- epub_author = author
176
- epub_publisher = author
177
- epub_copyright = copyright
178
174
179
175
# The unique identifier of the text. This can be a ISBN number
180
176
# or the project homepage.
@@ -187,7 +183,6 @@ epub_copyright = copyright
187
183
188
184
# A list of files that should not be packed into the epub file.
189
185
epub_exclude_files = ['search.html']
190
- {%- endif %}
191
186
{%- if extensions %}
192
187
193
188
0 commit comments