Skip to content

Commit 7e07548

Browse files
committed
fix: Better whitespace control...
1 parent 67589bf commit 7e07548

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

{{cookiecutter.name}}/docs/conf.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,20 @@
9494
'sphinx': ('https://www.sphinx-doc.org/en/master', None),
9595
'jinja': ('https://jinja.palletsprojects.com/en/latest/', None),
9696
}
97-
98-
{# sphinxnotes-comboroles should eat its dog food -#}
99-
{% if cookiecutter.name != 'comboroles' -%}
97+
{#- sphinxnotes-comboroles should eat its dog food #}
98+
{% if cookiecutter.name != 'comboroles' %}
10099
extensions.append('sphinxnotes.comboroles')
101100
comboroles_roles = {
102101
'parsed_literal': (['literal'], True),
103102
}
104103
{% endif %}
105-
{# sphinxnotes-{project,any} should eat its dog food -#}
106-
{% if cookiecutter.name not in ['project', 'any'] -%}
104+
{#- sphinxnotes-{project,any} should eat its dog food #}
105+
{%- if cookiecutter.name not in ['project', 'any'] %}
107106
extensions.append('sphinxnotes.project')
108107
primary_domain = 'any'
109108
{% endif %}
110-
{# demo has no src directory -#}
111-
{% if cookiecutter.name != 'demo' -%}
109+
{#- demo has no src directory #}
110+
{%- if cookiecutter.name != 'demo' %}
112111
# -- Eat your own dog food --------------------------------------------------
113112

114113
# If extensions (or modules to document with autodoc) are in another directory,

0 commit comments

Comments
 (0)