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

Merge pull request #398 from github/re-featured

re-add 'featured' field
This commit is contained in:
Mike Linksvayer 2016-04-27 12:12:06 -07:00
commit 9b41aa3353
5 changed files with 8 additions and 0 deletions

View File

@ -49,6 +49,7 @@ Licenses sit in the `/_licenses` folder. Each license has YAML front matter desc
#### Optional fields
* `featured` - Whether the license should be featured on the main page (defaults to false)
* `note` - Additional information about the licenses
* `using` - A list of notable projects using the license in the form of `project_name: "url"`
* `redirect_from` - Relative path(s) to redirect to the license from, to prevent breaking old URLs

View File

@ -31,6 +31,10 @@
# Optional fields
- name: featured
description: Whether the license should be featured on the main page (defaults to false)
required: false
- name: note
description: Additional information about the licenses
required: false

View File

@ -2,6 +2,7 @@
title: Apache License 2.0
redirect_from: /licenses/apache/
source: http://www.apache.org/licenses/LICENSE-2.0.html
featured: true
description: A permissive license that also provides an express grant of patent rights from contributors to users.

View File

@ -3,6 +3,7 @@ title: GNU General Public License v3.0
nickname: GNU GPLv3
redirect_from: /licenses/gpl-v3/
source: http://www.gnu.org/licenses/gpl-3.0.txt
featured: true
description: The GNU 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.

View File

@ -1,6 +1,7 @@
---
title: MIT License
source: https://opensource.org/licenses/MIT
featured: true
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.