mirror of
https://github.com/github/choosealicense.com
synced 2025-01-18 17:37:48 +01:00
Merge pull request #421 from github/package-metadata
License identifiers and package descriptions hint
This commit is contained in:
commit
3b8047917e
@ -12,7 +12,11 @@
|
|||||||
<strong>Note: </strong> {{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
|
<strong>Note: </strong> {{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% assign xgpl = false %}
|
||||||
|
{% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %}
|
||||||
|
<p class="note"><strong>Optional: </strong> Add <strong><code>{{ page.spdx-id }}</code>{% if xgpl %}+{% endif %}</strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}</code></strong> to disallow future versions){% endif %} to your project's package description, if applicable (e.g., <a href="https://docs.npmjs.com/files/package.json#license">Node.js</a>, <a href="http://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="http://doc.crates.io/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if page.source %}
|
{% if page.source %}
|
||||||
<div class="source">
|
<div class="source">
|
||||||
<a href="{{ page.source }}">
|
<a href="{{ page.source }}">
|
||||||
|
@ -286,6 +286,10 @@ strong {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note {
|
||||||
|
color: #687072;
|
||||||
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
-webkit-border-radius: 3px;
|
-webkit-border-radius: 3px;
|
||||||
-moz-border-radius: 3px;
|
-moz-border-radius: 3px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user