Commit b0473dd7 authored by FulcrandG's avatar FulcrandG
Browse files

Testing with issue limit at 1

parent 687227c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ MKDOCS_PLACEHOLDER_FILE = "placeholder.md"
JOB_CHANGELOG_DIR = "versions"
JOB_DESCRIPTION_FILE = "README.md"
JOB_METADATA_FILE = "job.yml"
ISSUES_LIMIT = 5
ISSUES_LIMIT = 1

# Requests variables
GITLAB_BASE_URL = "https://gitlab.com/"
+12 −12
Original line number Diff line number Diff line
{{ readme }}

{% if linked_issues %}
## Linked Issues

  {% for issue in linked_issues[:linked_issues_limit] %}
- [#{{issue.iid}} - {{ issue.name }}]({{ issue.url }})
  {% endfor %}
  {% if linked_issues[linked_issues_limit] %}
- [...](linked_issues_url)
  {% endif %}
{% endif %}

??? "License: {{ license_name }}"
{%- for line in license -%}
  {%- if line %}
@@ -29,14 +40,3 @@
{%- if code_owner %}
-- 🔨 Maintainer: <img src='{{ gitlab_image }}' alt='avatar' style='width: 20px; height: 20px; border-radius: 50%'> [{{ code_owner_name }}]({{ code_owner_url }}) @{{ code_owner }}
{%- endif %}
 No newline at end of file

{% if linked_issues %}
## Linked Issues

  {% for issue in linked_issues[:linked_issues_limit] %}
- [#{{issue.iid}} - {{ issue.name }}]({{ issue.url }})
  {% endfor %}
  {% if linked_issues[linked_issues_limit] %}
- [...](linked_issues_url)
  {% endif %}
{% endif %}
 No newline at end of file