Skip to content

Commit

Permalink
Fixed: all broken newlines.
Browse files Browse the repository at this point in the history
  • Loading branch information
NilsCarstensen committed Nov 4, 2021
1 parent 555616d commit 32c819e
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions src/templates/readme.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{{ descriptionBlock(items) }}
{%- endfor %}
 

{%- if tableOfContents == true %}
# Table of Contents
{%- if requirements == true %}
Expand All @@ -27,10 +26,9 @@
- [Outputs](#outputs)
{%- endif %}
- [Contributing](#contributing)
{%- endif -%}

{% if requirements == true %}
{%- endif %}
 
{%- if requirements == true %}
# Requirements
| Software | Version | Source |
| :-------- | :-------- | :----- |
Expand All @@ -39,12 +37,10 @@
{%- endmacro -%}
{% for items in versions %}
{{ buildRequirements(items.name, items.version, items.source) }}
{%- endfor %}
{%- endif -%}
{% if resourcesStatement == true %}

{% if gettingStarted == true %}
{%- endfor -%}
{%- endif %}
 
{%- if gettingStarted == true %}
# Getting Started
## Basic usage
{%- macro basicUsage(line) -%}
Expand All @@ -62,6 +58,7 @@
{%- endfor %}
{%- endif %}
 
{%- if resourcesStatement == true %}
# Resources
| Resource |
| :------- |
Expand All @@ -71,10 +68,9 @@
{% for items in resources %}
{{ buildResources(items) }}
{%- endfor %}
{%- endif -%}
{% if varsstatement == true %}

{%- endif %}
 
{%- if varsstatement == true %}
# Variables
| Variable | Type | Default | Description | Sensitive |
| :------- | :--: | :------ | :---------- | :-------- |
Expand All @@ -84,10 +80,9 @@
{% for items in variables %}
{{ buildVars(items.name, items.type, items.default, items.description, items.sensitive) }}
{%- endfor %}
{%- endif -%}
{% if outsstatement == true %}

{%- endif %}
 
{%- if outsstatement == true %}
# Outputs
| Output | Description |
| :----- | :---------- |
Expand All @@ -97,7 +92,7 @@
{% for items in outputs %}
{{ buildOuts(items.name, items.description) }}
{%- endfor %}
{%- endif -%}
{%- endif %}
 
## Contributing
{%- if contribute == True %}
Expand Down

0 comments on commit 32c819e

Please sign in to comment.