mirror of
https://github.com/github/choosealicense.com
synced 2024-11-05 11:18:50 +01:00
commit
a00903196b
17
_includes/using-sentence.html
Normal file
17
_includes/using-sentence.html
Normal file
@ -0,0 +1,17 @@
|
||||
{% assign id = "/licenses/" | append: include.license-id %}
|
||||
{% assign licenses = site.licenses | where:"id", id %}
|
||||
{% for license in licenses %}
|
||||
{% assign using = license.using %}
|
||||
{% if using.size > 0 %}
|
||||
{% for used in using limit: 3 %}
|
||||
{% assign last = forloop.last %}
|
||||
{% if last %}
|
||||
and
|
||||
{% endif %}
|
||||
{% for hash in used %}
|
||||
<a href="{{ hash[1] }}">{{ hash[0] }}</a>{% if last == false %},{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
use the {% if license.nickname %}{{ license.nickname }}{% else %}{{ license.title }}{% endif %}.
|
||||
{% endif %}
|
||||
{% endfor %}
|
@ -10,6 +10,11 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
|
||||
|
||||
note: The Apache Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice at the very end of the license in the appendix.
|
||||
|
||||
using:
|
||||
- Android: https://github.com/android/platform_system_core/blob/master/NOTICE
|
||||
- Apache: https://svn.apache.org/viewvc/httpd/httpd/trunk/LICENSE?view=markup
|
||||
- Swift: https://github.com/apple/swift/blob/master/LICENSE.txt
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
|
@ -12,6 +12,10 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
|
||||
|
||||
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.
|
||||
|
||||
using:
|
||||
- Linux: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/COPYING
|
||||
- WordPress: https://github.com/WordPress/WordPress/blob/master/license.txt
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
|
@ -12,6 +12,11 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
|
||||
|
||||
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.
|
||||
|
||||
using:
|
||||
- Bash: http://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
|
||||
- GIMP: https://git.gnome.org/browse/gimp/tree/COPYING
|
||||
- Privacy Badger: https://github.com/EFForg/privacybadgerfirefox/blob/master/LICENSE
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
- document-changes
|
||||
|
@ -1,12 +1,17 @@
|
||||
---
|
||||
title: MIT License
|
||||
featured: true
|
||||
source: http://opensource.org/licenses/MIT
|
||||
source: https://opensource.org/licenses/MIT
|
||||
|
||||
description: A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.
|
||||
|
||||
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.
|
||||
|
||||
using:
|
||||
- jQuery: https://github.com/jquery/jquery/blob/master/LICENSE.txt
|
||||
- .NET Core: https://github.com/dotnet/corefx/blob/master/LICENSE
|
||||
- Rails: https://github.com/rails/rails/blob/master/activerecord/MIT-LICENSE
|
||||
|
||||
conditions:
|
||||
- include-copyright
|
||||
|
||||
|
@ -21,7 +21,7 @@ permalink: /
|
||||
The <a href="licenses/mit">MIT License</a> is a permissive license that is short and to the point. It lets people do anything they want with your code as long as they provide attribution back to you and don’t hold you liable.
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://github.com/jquery/jquery/blob/master/LICENSE.txt">jQuery</a>, <a href="https://github.com/rails/rails/blob/master/activerecord/MIT-LICENSE">Rails</a> and <a href="https://github.com/dotnet/corefx/blob/master/LICENSE">.NET Core</a> use the MIT License.
|
||||
{% include using-sentence.html license-id="mit" %}
|
||||
</p>
|
||||
</li>
|
||||
<li class="patents">
|
||||
@ -33,7 +33,7 @@ permalink: /
|
||||
The <a href="licenses/apache-2.0/">Apache License 2.0</a> is a permissive license similar to the MIT License, but also provides an express grant of patent rights from contributors to users.
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://svn.apache.org/viewvc/httpd/httpd/trunk/LICENSE?view=markup">Apache</a>, <a href="https://github.com/apple/swift/blob/master/LICENSE.txt">Swift</a>, and <a href="https://github.com/android/platform_system_core/blob/master/NOTICE">Android</a> use the Apache License 2.0.
|
||||
{% include using-sentence.html license-id="apache-2.0" %}
|
||||
</p>
|
||||
</li>
|
||||
<li class="copyleft">
|
||||
@ -42,10 +42,10 @@ permalink: /
|
||||
<h3>I care about sharing improvements.</h3>
|
||||
</a>
|
||||
<p>
|
||||
The GNU GPL (<a href="licenses/gpl-2.0/">V2</a> or <a href="licenses/gpl-3.0/">V3</a>) is a copyleft license that requires anyone who distributes your code or a derivative work to make the source available under the same terms. V3 is similar to V2, but further restricts use in hardware that forbids software alterations.
|
||||
The <a href="licenses/gpl-3.0/">GNU GPLv3</a> is a copyleft license that requires anyone who distributes your code or a derivative work to make the source available under the same terms, and also provides an express grant of patent rights from contributors to users.
|
||||
</p>
|
||||
<p>
|
||||
<a href="https://github.com/WordPress/WordPress/blob/master/license.txt">WordPress</a>, <a href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/COPYING">Linux</a>, and <a href="http://git.savannah.gnu.org/cgit/bash.git/tree/COPYING">Bash</a> use the GNU GPL.
|
||||
{% include using-sentence.html license-id="gpl-3.0" %}
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user