Skip to content

Commit fe98cc1

Browse files
committed
Added explanation about needing a LICENSE, improved org page to list PIDs.
1 parent 9b51e83 commit fe98cc1

2 files changed

Lines changed: 20 additions & 1 deletion

File tree

_layouts/org.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
{% include data.html %}
2+
{% assign urlparts = page.url|split:"/" %}
3+
{% assign orgname = urlparts[2] %}
4+
{% assign ourpids = pids|where:"owner",orgname %}
15
<!DOCTYPE html>
26
<html>
37
{% include head.html %}
@@ -13,6 +17,21 @@ <h1 class="h2">{{page.title}}</h1>
1317
</header>
1418
<article class="post-content">
1519
{{ content }}
20+
21+
<h2>Allocated PIDs</h2>
22+
<table>
23+
<thead>
24+
<tr><th>VID</th><th>PID</th><th>Device</th></tr>
25+
</thead>
26+
{% for pid in ourpids %}
27+
{% assign pidurlparts = pid.url|split:"/" %}
28+
<tr>
29+
<th><a href="/{{pidurlparts[1]}}/">{{pidurlparts[1]}}</a></th>
30+
<th><a href="{{pid.url}}">{{pidurlparts[2]}}</a></th>
31+
<td>{{page.title}} {{pid.title}}</td>
32+
</tr>
33+
{% endfor %}
34+
</table>
1635
</article>
1736
</div>
1837
</div>

howto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ If your project does not meet the following criteria, your pull request **will**
88

99
- Publicly available source code repository...
1010
- Containing schematics or source code for a device with a USB interface...
11-
- Licensed under a recognized open source or open source hardware license.
11+
- Licensed under a recognized open source or open source hardware license. Your source code repository must contain a LICENSE file attesting to this fact.
1212

1313
If your project doesn't yet meet these requirements, please hold off requesting a PID until it does. Don't worry, we're not likely to run out of PIDs soon.
1414

0 commit comments

Comments
 (0)