1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 21:00:10 +01:00

Appendix/table of all repo licenses; closes #388

This commit is contained in:
Mike Linksvayer 2016-05-09 12:12:38 -07:00
parent 0b0ff8fdba
commit 4ad3bf98c2
2 changed files with 36 additions and 1 deletions

View File

@ -10,7 +10,9 @@ If you already know what you're doing and have a license you prefer to use, that
## Not comprehensive ## Not comprehensive
This site is not a comprehensive directory of open source licenses. We think there are too many options, which adds to the confusion. On the homepage, we break it down into just three licenses. The vast majority of projects will likely be fine choosing from one of these three. Just in case you have specific needs not covered by those three, we also highlight a [few other licenses to consider](/licenses/). This site is not a comprehensive directory of open source licenses. We think there are too many options, which adds to the confusion. On the [homepage](/), we break it down into just three licenses. The vast majority of projects will likely be fine choosing from one of these three. Just in case you have specific needs not covered by those three, we also highlight a [few other licenses to consider](/licenses/), and have a page about [licenses for non-software projects](/non-software/).
See our [appendix](/appendix) for a table of all of the licenses cataloged in the choosealicense.com repository and the links below for *even more licenses* that you **do not** need to learn about when choosing a license for your project.
### Additional resources ### Additional resources

33
appendix.md Normal file
View File

@ -0,0 +1,33 @@
---
layout: default
permalink: /appendix/
title: Appendix
class: license-types
---
All licenses described in the choosealicense.com [repository](https://github.com/github/choosealicense.com), in a table.
<table border style="font-size: xx-small">
<tr><th>License</th>
{% assign types = "permissions|conditions|limitations" | split: "|" %}
{% for type in types %}
{% assign rules = site.data.rules[type] | sort: "label" %}
{% for rule_obj in rules %}
<th style="text-align: center; width:7%">{{ rule_obj.label }}</th>
{% endfor %}
{% endfor %}
</tr>
{% for license in site.licenses | sort: 'path' %}
<tr style="height: 3em"><td><a href="{{ license.id }}">{{ license.title }}</a></td>
{% for type in types %}
{% assign rules = site.data.rules[type] | sort: "label" %}
{% for rule_obj in rules %}
<td class="license-{{ type }}" style="text-align:center">{% assign req = rule_obj.tag %}
{% if license[type] contains req %}
<span class="license-sprite {{ req }}"></span>
{% endif %}</td>
{% endfor %}
{% endfor %}
</tr>
{% endfor %}
</table>