mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 21:00:10 +01:00
83c39a345d
Based on feeedback from people looking for BSD licenses and wanting to use site as a reference. I'm not thrilled with any distraction from flow of choices that work for most on home page through spectrum covering range of open source licenses without redundant ones, but obviously some people prefer seeing everything in a table, so let them find it, accommodate use as reference and people whose learning style involes poring over a reference rather than being guided.
88 lines
3.3 KiB
Markdown
88 lines
3.3 KiB
Markdown
---
|
|
layout: default
|
|
permalink: /appendix/
|
|
title: Appendix
|
|
class: license-types
|
|
---
|
|
|
|
For reference, all licenses described in the choosealicense.com [repository](https://github.com/github/choosealicense.com), in a table.
|
|
|
|
If you're here to choose a license, **[start from the home page](/)** to see a few licenses that will work for most cases.
|
|
|
|
<table border style="font-size: xx-small">
|
|
{% assign types = "permissions|conditions|limitations" | split: "|" %}
|
|
<tr>
|
|
<th scope="col" style="text-align: center">License</th>
|
|
{% assign seen_tags = '' %}
|
|
{% for type in types %}
|
|
{% assign rules = site.data.rules[type] | sort: "label" %}
|
|
{% for rule_obj in rules %}
|
|
{% if seen_tags contains rule_obj.tag %}
|
|
{% continue %}
|
|
{% endif %}
|
|
{% capture seen_tags %}{{ seen_tags | append:rule_obj.tag }}{% endcapture %}
|
|
<th scope="col" style="text-align: center; width:7%"><a href="#{{ rule_obj.tag }}">{{ rule_obj.label }}</a></th>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</tr>
|
|
{% for license in site.licenses | sort: 'path' %}
|
|
<tr style="height: 3em"><th scope="row"><a href="{{ license.id }}">{{ license.title }}</a></th>
|
|
{% assign seen_tags = '' %}
|
|
{% for type in types %}
|
|
{% assign rules = site.data.rules[type] | sort: "label" %}
|
|
{% for rule_obj in rules %}
|
|
{% assign req = rule_obj.tag %}
|
|
{% if seen_tags contains req %}
|
|
{% continue %}
|
|
{% endif %}
|
|
{% capture seen_tags %}{{ seen_tags | append:req }}{% endcapture %}
|
|
{% assign seen_req = false %}
|
|
{% for t in types %}
|
|
{% if license[t] contains req %}
|
|
<td class="license-{{ t }}" style="text-align:center">
|
|
<span class="{{ req }}">
|
|
<span class="license-sprite {{ req }}"></span>
|
|
</span>
|
|
</td>
|
|
{% assign seen_req = true %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% unless seen_req %}
|
|
<td></td>
|
|
{% endunless %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
## Legend
|
|
|
|
<p>Open source licenses grant to the public <span class="license-permissions"><span class="license-sprite"></span></span> <b>permissions</b> to do things with licensed works copyright or other "intellectual property" laws might otherwise disallow.</p>
|
|
|
|
<p>Most open source licenses' grants of permissions are subject to compliance with <span class="license-conditions"><span class="license-sprite"></span></span> <b>conditions</b>.</p>
|
|
|
|
<p>Most open source licenses also have <span class="license-limitations"><span class="license-sprite"></span></span> <b>limitations</b> that usually disclaim warranty and liability and sometimes expressly exclude patent or trademark from licenses' grants.</p>
|
|
|
|
<dl>
|
|
{% assign seen_tags = '' %}
|
|
{% for type in types %}
|
|
{% assign rules = site.data.rules[type] | sort: "label" %}
|
|
{% for rule_obj in rules %}
|
|
{% assign req = rule_obj.tag %}
|
|
{% if seen_tags contains req %}
|
|
{% continue %}
|
|
{% endif %}
|
|
<dt id="{{ req }}">{{ rule_obj.label }}</dt>
|
|
{% capture seen_tags %}{{ seen_tags | append:req }}{% endcapture %}
|
|
{% for t in types %}
|
|
{% for r in site.data.rules[t] | sort: "label" %}
|
|
{% if r.tag == req %}
|
|
<dd class="license-{{t}}"><span class="license-sprite"></span> {{ r.description }}</dd>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</dl>
|