@@ -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.
@@ -62,23 +62,25 @@ templates_path = ['{{ dot }}templates']
62
62
# source_suffix = ['.rst', '.md']
63
63
source_suffix = '{{ suffix }}'
64
64
65
+ {% if master_doc != 'index' -%}
65
66
# The master toctree document.
66
67
master_doc = '{{ master_str }}'
67
68
69
+ {% endif -%}
68
70
# The language for content autogenerated by Sphinx. Refer to documentation
69
71
# for a list of supported languages.
70
72
#
71
73
# This is also used if you do content translation via gettext catalogs.
72
74
# Usually you set "language" from the command line for these cases.
73
- language = ' {{ language }}'
75
+ language = {{ language | repr }}
74
76
75
77
# List of patterns, relative to source directory, that match files and
76
78
# directories to ignore when looking for source files.
77
79
# This pattern also affects html_static_path and html_extra_path.
78
80
exclude_patterns = [{{ exclude_patterns }}]
79
81
80
82
# The name of the Pygments (syntax highlighting) style to use.
81
- pygments_style = 'sphinx'
83
+ pygments_style = None
82
84
83
85
84
86
# -- Options for HTML output -------------------------------------------------
0 commit comments