From 4ad3bf98c280fc816035fa41e8099cb37cfea788 Mon Sep 17 00:00:00 2001 From: Mike Linksvayer Date: Mon, 9 May 2016 12:12:38 -0700 Subject: [PATCH] Appendix/table of all repo licenses; closes #388 --- about.md | 4 +++- appendix.md | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 appendix.md diff --git a/about.md b/about.md index 4ee7bdb..55a32a0 100644 --- a/about.md +++ b/about.md @@ -10,7 +10,9 @@ If you already know what you're doing and have a license you prefer to use, that ## 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 diff --git a/appendix.md b/appendix.md new file mode 100644 index 0000000..1fef9f3 --- /dev/null +++ b/appendix.md @@ -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. + + + +{% assign types = "permissions|conditions|limitations" | split: "|" %} +{% for type in types %} + {% assign rules = site.data.rules[type] | sort: "label" %} + {% for rule_obj in rules %} + + {% endfor %} +{% endfor %} + +{% for license in site.licenses | sort: 'path' %} + + {% for type in types %} + {% assign rules = site.data.rules[type] | sort: "label" %} + {% for rule_obj in rules %} + + {% endfor %} + {% endfor %} + +{% endfor %} +
License{{ rule_obj.label }}
{{ license.title }}{% assign req = rule_obj.tag %} + {% if license[type] contains req %} + + {% endif %}