Skip to content

Commit 518c4bc

Browse files
authored
Merge pull request #673 from github/sideids
Make sidebar info bits directly linkable
2 parents 75df8e8 + 0a67070 commit 518c4bc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

_includes/sidebar.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ <h3 id="suggest-this-license">Suggest this license</h3>
1111
</div>
1212

1313
<div class="how-to-apply">
14-
<h3>How to apply this license</h3>
14+
<h3 id="how-to-apply">How to apply this license</h3>
1515
<p>
1616
{{ page.how | markdownify | remove: '<p>' | remove: '</p>' }}
1717
</p>
1818
<div class="note">
19-
<h4>Optional steps</h4>
19+
<h4 id="optional-steps">Optional steps</h4>
2020
{% if page.note %}
2121
<p>
2222
{{ page.note | markdownify | remove: '<p>' | remove: '</p>' }}
2323
</p>
2424
{% endif %}
2525
{% assign xgpl = false %}
2626
{% if page.spdx-id contains 'GPL' %}{% assign xgpl = true %}{% endif %}
27-
<p>Add <strong><code>{{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}</code></strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}-only</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="https://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
27+
<p id="package-metadata">Add <strong><code>{{ page.spdx-id }}{% if xgpl %}-or-later{% endif %}</code></strong>{% if xgpl %} (or <strong><code>{{ page.spdx-id }}-only</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="https://guides.rubygems.org/specification-reference/#license=">Ruby</a>, and <a href="https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata">Rust</a>). This will ensure the license is displayed in package directories.</p>
2828
{% if page.spdx-id contains 'GPL-2' %}
29-
<p>If you would like your project to adopt the GPL-3.0's cure provision, add the <a href="https://github.com/gplcc/gplcc/blob/master/Project/COMMITMENT">text</a> of the <a href="https://gplcc.github.io/gplcc/">GPL Cooperation Commitment</a> to a file named <code>COMMITMENT</code> in the same directory as your {{ page.spdx-id }} license file.</p>
29+
<p id="gplcc">If you would like your project to adopt the GPL-3.0's cure provision, add the <a href="https://github.com/gplcc/gplcc/blob/master/Project/COMMITMENT">text</a> of the <a href="https://gplcc.github.io/gplcc/">GPL Cooperation Commitment</a> to a file named <code>COMMITMENT</code> in the same directory as your {{ page.spdx-id }} license file.</p>
3030
{% endif %}
3131
</div>
3232
</div>

0 commit comments

Comments
 (0)