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

Group licenses together

This commit is contained in:
Haacked 2013-10-28 16:10:43 -07:00
parent bb0906b575
commit 95d34dc9bd
14 changed files with 25 additions and 7 deletions

View File

@ -243,7 +243,7 @@ strong {
.license-rules .name { .license-rules .name {
border-right: solid 1px #d9d7d2; border-right: solid 1px #d9d7d2;
padding-left: 0; padding-left: 0;
width: 280px; width: 140px;
} }
.license-rules .name a { .license-rules .name a {
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif; font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;

View File

@ -12,7 +12,7 @@ class: license-types
<table class='license-rules'> <table class='license-rules'>
<tr> <tr>
<th class='name'> <th class='name'>
<a href="{{ page.permalink }}">{{ page.title }}</a> <a href="{{ page.permalink }}">{% if page.family-title %}{{ page.family-title }}{% else %}{{ page.title }}{% endif %}</a>
</th> </th>
<th class='summary'> <th class='summary'>
{{ page.description }} <a href="{{ page.permalink }}">View full license »</a> {{ page.description }} <a href="{{ page.permalink }}">View full license »</a>
@ -44,11 +44,11 @@ class: license-types
{% for page in site.pages %} {% for page in site.pages %}
{% if page.layout == "license" %} {% if page.layout == "license" %}
{% if page.featured != true %} {% if page.featured != true and page.hide-from-license-list != true %}
<table class='license-rules'> <table class='license-rules'>
<tr> <tr>
<th class='name'> <th class='name'>
<a href="{{ page.permalink }}">{{ page.title }}</a> <a href="{{ page.permalink }}">{% if page.family-title %}{{ page.family-title }}{% else %}{{ page.title }}{% endif %}</a>
</th> </th>
<th class='summary'> <th class='summary'>
{{ page.description }} <a href="{{ page.permalink }}">View full license »</a> {{ page.description }} <a href="{{ page.permalink }}">View full license »</a>

View File

@ -1,5 +1,7 @@
--- ---
title: Affero GPL title: Affero GPL
family-title: GPL
hide-from-license-list: true
layout: license layout: license
permalink: /licenses/agpl/ permalink: /licenses/agpl/
source: http://www.gnu.org/licenses/agpl-3.0.txt source: http://www.gnu.org/licenses/agpl-3.0.txt

View File

@ -1,5 +1,6 @@
--- ---
title: Apache v2 License title: Apache v2 License
family-title: Apache
layout: license layout: license
permalink: /licenses/apache/ permalink: /licenses/apache/

View File

@ -1,6 +1,7 @@
--- ---
layout: license layout: license
title: Artistic License 2.0 title: Artistic License 2.0
family-title: Artistic
permalink: /licenses/artistic/ permalink: /licenses/artistic/
source: http://www.perlfoundation.org/attachment/legal/artistic-2_0.txt source: http://www.perlfoundation.org/attachment/legal/artistic-2_0.txt

View File

@ -1,6 +1,8 @@
--- ---
layout: license layout: license
title: BSD (3-Clause) License title: BSD (3-Clause) License
family-title: BSD
hide-from-license-list: true
permalink: /licenses/bsd-3-clause/ permalink: /licenses/bsd-3-clause/
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace {organization} with the organization, if any, that sponsors this work. how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace {organization} with the organization, if any, that sponsors this work.

View File

@ -1,6 +1,8 @@
--- ---
layout: license layout: license
title: BSD 2-Clause license title: BSD 2-Clause license
family-title: BSD
hide-from-license-list: false
permalink: /licenses/bsd/ permalink: /licenses/bsd/
description: A permissive license that comes in two variants, the <a href="/licenses/bsd">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause">BSD 3-Clause</a>. Both have very minute differences to the MIT license. description: A permissive license that comes in two variants, the <a href="/licenses/bsd">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause">BSD 3-Clause</a>. Both have very minute differences to the MIT license.

View File

@ -1,6 +1,7 @@
--- ---
layout: license layout: license
title: Eclipse Public License v1.0 title: Eclipse Public License v1.0
family-title: Eclipse
permalink: /licenses/eclipse/ permalink: /licenses/eclipse/
description: This commercially-friendly copyleft license provides the ability to commercially license binaries; a modern royalty-free patent license grant; and the ability for linked works to use other licenses, including commercial ones. description: This commercially-friendly copyleft license provides the ability to commercially license binaries; a modern royalty-free patent license grant; and the ability for linked works to use other licenses, including commercial ones.

View File

@ -1,9 +1,13 @@
--- ---
title: GPL v2 title: GPL v2
family-title: GPL
hide-from-license-list: false
layout: license layout: license
permalink: /licenses/gpl-v2/ permalink: /licenses/gpl-v2/
source: http://www.gnu.org/licenses/gpl-2.0.txt source: http://www.gnu.org/licenses/gpl-2.0.txt
description: GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license. There are multiple variants of the GPL each with different requirements, <a href="gpl-v2/">GPL v2</a>, <a href="gpl-v3/">GPL v3</a>, and <a href="agpl/">Affero GPL</a>.
featured: true featured: true
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.

View File

@ -1,11 +1,11 @@
--- ---
title: GPL v3 title: GPL v3
family-title: GPL
hide-from-license-list: true
layout: license layout: license
permalink: /licenses/gpl-v3/ permalink: /licenses/gpl-v3/
source: http://www.gnu.org/licenses/gpl-3.0.txt source: http://www.gnu.org/licenses/gpl-3.0.txt
description: GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license.
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license. note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.

View File

@ -1,10 +1,11 @@
--- ---
layout: license layout: license
title: LGPL v2.1 title: LGPL v2.1
family-title: LGPL
permalink: /licenses/lgpl-v2.1/ permalink: /licenses/lgpl-v2.1/
source: http://www.gnu.org/licenses/lgpl-2.1.txt source: http://www.gnu.org/licenses/lgpl-2.1.txt
description: Primarily used for software libraries, LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction. description: Primarily used for software libraries, LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction. There are two commonly used versions of the LGPL: <a href="lgpl-v2/">LGPL v2.1</a> and <a href="lgpl-v3/">LGPL v3</a>.
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.

View File

@ -1,6 +1,8 @@
--- ---
layout: license layout: license
title: LGPL v3 title: LGPL v3
family-title: LGPL
hide-from-license-list: true
permalink: /licenses/lgpl-v3/ permalink: /licenses/lgpl-v3/
source: http://www.gnu.org/licenses/lgpl-3.0.txt source: http://www.gnu.org/licenses/lgpl-3.0.txt

View File

@ -1,6 +1,7 @@
--- ---
layout: license layout: license
title: MIT License title: MIT License
family-title: Apache
permalink: /licenses/mit/ permalink: /licenses/mit/
source: http://opensource.org/licenses/MIT source: http://opensource.org/licenses/MIT

View File

@ -1,6 +1,7 @@
--- ---
layout: license layout: license
title: Mozilla Public License Version 2.0 title: Mozilla Public License Version 2.0
family-title: Mozilla
permalink: /licenses/mozilla/ permalink: /licenses/mozilla/
source: http://www.mozilla.org/MPL/2.0/ source: http://www.mozilla.org/MPL/2.0/