@@ -48,9 +48,9 @@ release = u'{{ release_str }}'
4848# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
4949# ones.
5050extensions = [
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.
@@ -62,23 +62,25 @@ templates_path = ['{{ dot }}templates']
6262# source_suffix = ['.rst', '.md']
6363source_suffix = '{{ suffix }}'
6464
65+ {% if master_doc != 'index' -%}
6566# The master toctree document.
6667master_doc = '{{ master_str }}'
6768
69+ {% endif -%}
6870# The language for content autogenerated by Sphinx. Refer to documentation
6971# for a list of supported languages.
7072#
7173# This is also used if you do content translation via gettext catalogs.
7274# Usually you set "language" from the command line for these cases.
73- language = ' {{ language }}'
75+ language = {{ language | repr }}
7476
7577# List of patterns, relative to source directory, that match files and
7678# directories to ignore when looking for source files.
7779# This pattern also affects html_static_path and html_extra_path.
7880exclude_patterns = [{{ exclude_patterns }}]
7981
8082# The name of the Pygments (syntax highlighting) style to use.
81- pygments_style = 'sphinx'
83+ pygments_style = None
8284
8385
8486# -- Options for HTML output -------------------------------------------------
0 commit comments