Skip to content

Commit c1751d3

Browse files
committed
💚 pass staging test
1 parent 856b7ad commit c1751d3

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

templates/docs/conf.py_t

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ release = u'{{ release_str }}'
4848
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4949
# ones.
5050
extensions = [
51-
{% for ext in extensions %}
51+
{%- for ext in extensions %}
5252
'{{ ext }}',
53-
{% endfor %}
53+
{%- endfor %}
5454
]
5555

5656
# Add any paths that contain templates here, relative to this directory.
@@ -70,7 +70,7 @@ master_doc = '{{ master_str }}'
7070
#
7171
# This is also used if you do content translation via gettext catalogs.
7272
# Usually you set "language" from the command line for these cases.
73-
language = '{{ language }}'
73+
language = {{ language | repr }}
7474

7575
# List of patterns, relative to source directory, that match files and
7676
# directories to ignore when looking for source files.
@@ -165,16 +165,12 @@ texinfo_documents = [
165165
author, '{{ project_fn }}', 'One line description of project.',
166166
'Miscellaneous'),
167167
]
168-
{%- if epub %}
169168

170169

171170
# -- Options for Epub output -------------------------------------------------
172171

173172
# Bibliographic Dublin Core info.
174173
epub_title = project
175-
epub_author = author
176-
epub_publisher = author
177-
epub_copyright = copyright
178174

179175
# The unique identifier of the text. This can be a ISBN number
180176
# or the project homepage.
@@ -187,7 +183,6 @@ epub_copyright = copyright
187183

188184
# A list of files that should not be packed into the epub file.
189185
epub_exclude_files = ['search.html']
190-
{%- endif %}
191186
{%- if extensions %}
192187

193188

0 commit comments

Comments
 (0)