mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 04:40:09 +01:00
re-add 'featured' field
was unused for choosealicense.com display after https://github.com/github/choosealicense.com/pull/386 but choosealicense.com is vendored into licensee which eventually is used in GitHub; 'featured' determines what is highlighted in license drop-down eg at https://github.com/new
This commit is contained in:
parent
79f893e4a8
commit
213c5400bc
@ -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
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user