mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 21:00:10 +01:00
213c5400bc
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
53 lines
1.3 KiB
YAML
53 lines
1.3 KiB
YAML
# Each license has YAML front matter describing the license's properties.
|
|
# The available fields are:
|
|
|
|
- name: title
|
|
description: The SPDX-compliant, human-readable license name
|
|
required: true
|
|
|
|
- name: source
|
|
description: The URL to the license source text
|
|
required: true
|
|
|
|
- name: description
|
|
description: A human-readable description of the license
|
|
required: true
|
|
|
|
- name: how
|
|
description: Instructions on how to implement the license
|
|
required: true
|
|
|
|
- name: conditions
|
|
description: Bulleted list of required rules
|
|
required: true
|
|
|
|
- name: permissions
|
|
description: Bulleted list of permitted rules
|
|
required: true
|
|
|
|
- name: limitations
|
|
description: Bulleted list of limited rules
|
|
required: true
|
|
|
|
# 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
|
|
|
|
- name: using
|
|
description: 'A list of notable projects using the license in the form of `project_name: "url"`'
|
|
required: false
|
|
|
|
- name: redirect_from
|
|
description: Relative path(s) to redirect to the license from, to prevent breaking old URLs
|
|
required: false
|
|
|
|
- name: nickname
|
|
description: A shorter, human-readable license name where the SPDX license name (`title` above) is long
|
|
required: false
|