Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 09b75bd

Browse files
authored
Merge pull request #7698 from magento/ds_upd-whatsup
Add a contributor to What's New entries
2 parents 505145f + 62a3e4f commit 09b75bd

File tree

2 files changed

+36
-11
lines changed

2 files changed

+36
-11
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ GEM
153153
unicode-display_width (1.7.0)
154154
verbal_expressions (0.1.5)
155155
wdm (0.1.1)
156-
whatsup_github (0.3.0)
156+
whatsup_github (0.3.1)
157157
netrc (~> 0.10)
158158
octokit (~> 4.14)
159159
thor (~> 0.20)

src/whats-new.md

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,39 @@ title: What's new on DevDocs
1919

2020
## {{ group.name }}
2121

22-
Description | Versions | Type | Date
23-
---|---|---|---{% for item in group.items %}
24-
{{ item.description }} | {{ item.versions }} | {{ item.type }} |
25-
{%- if item.link -%}
26-
[{{ item.date | date: "%B %e" }}]({{ item.link }})
27-
{%- else -%}
28-
{{ item.date | date: "%B %e" }}
29-
{%- endif -%}
30-
{% endfor %}
22+
<table>
23+
<thead>
24+
<tr>
25+
<th>Description</th>
26+
<th>Versions</th>
27+
<th>Type</th>
28+
<th>Date</th>
29+
</tr>
30+
</thead>
31+
<tbody>
32+
{% for item in group.items %}
33+
<tr>
34+
<td><p>
35+
{{ item.description | markdownify }}
36+
</p>
37+
{%- if item.contributor -%}
38+
<p>
39+
Contributed by <a href="{{ item.profile }}">{{ item.contributor }}</a>.
40+
</p>
41+
{% endif %}
42+
</td>
43+
<td>{{ item.versions }}</td>
44+
<td>{{ item.type }}</td>
45+
<td>
46+
{%- if item.link -%}
47+
<a href="{{ item.link }}">{{ item.date | date: "%B&nbsp;%e" }}</a>
48+
{%- else -%}
49+
{{ item.date | date: "%B&nbsp;%e" }}
50+
{%- endif -%}
51+
</td>
52+
</tr>
53+
{% endfor %}
54+
</tbody>
55+
</table>
3156

32-
{% endfor %}
57+
{% endfor %}

0 commit comments

Comments
 (0)