Skip to content

Commit 8561104

Browse files
committed
Merge branch 'gh-pages' into home-reform
2 parents 77094c2 + 67677fe commit 8561104

15 files changed

Lines changed: 90 additions & 4 deletions

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ Licenses sit in the `/_licenses` folder. Each license has YAML front matter desc
5151
#### Optional fields
5252

5353
* `featured` - Whether the license should be featured on the main page (defaults to false)
54+
* `hidden` - Whether the license is hidden from the license list (defaults to true)
5455
* `nickname` - Customary short name if applicable (e.g, GPLv3)
5556
* `note` - Additional information about the licenses
56-
* `using` - A list of notable projects using the license in the form of `project_name: "url"`
57+
* `using` - A list of up to 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that can be detected by [licensee](https://github.com/benbalter/licensee) in the form of `project_name: license_file_url`
5758
* `redirect_from` - Relative path(s) to redirect to the license from, to prevent breaking old URLs
5859

5960
### Auto-populated fields

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ defaults:
1616
path: ""
1717
type: "licenses"
1818
values:
19+
hidden: true
1920
layout: license
2021

2122
exclude:

_data/meta.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
description: Whether the license should be featured on the main page (defaults to false)
4040
required: false
4141

42+
- name: hidden
43+
description: Whether the license is hidden from the license list (defaults to true)
44+
required: false
45+
4246
- name: nickname
4347
description: Customary short name if applicable (e.g, GPLv3)
4448
required: false
@@ -48,7 +52,7 @@
4852
required: false
4953

5054
- name: using
51-
description: 'A list of notable projects using the license in the form of `project_name: "url"`'
55+
description: 'A list of up to 3 notable projects using the license with straightforward LICENSE files which serve as examples newcomers can follow and that can be detected by [licensee](https://github.com/benbalter/licensee) in the form of `project_name: license_file_url`'
5256
required: false
5357

5458
- name: redirect_from

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
Creative Commons Attribution 3.0 Unported License</a>.
99
</p>
1010
<div class="with-love">
11-
Curated with &lt;3 by <a href="https://github.com">GitHub, Inc.</a>
11+
Curated with &lt;3 by <a href="https://github.com">GitHub, Inc.</a> and <a href="https://github.com/github/choosealicense.com">You!</a>
1212
</div>
1313
</footer>
1414

_licenses/agpl-3.0.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ spdx-id: AGPL-3.0
44
nickname: GNU AGPLv3
55
redirect_from: /licenses/agpl/
66
source: http://www.gnu.org/licenses/agpl-3.0.txt
7+
hidden: false
78

89
description: Permissions of this strongest copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. When a modified version is used to provide a service over a network, the complete source code of the modified version must be made available.
910

_licenses/apache-2.0.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Apache License 2.0
33
spdx-id: Apache-2.0
44
redirect_from: /licenses/apache/
55
source: http://www.apache.org/licenses/LICENSE-2.0.html
6+
hidden: false
67

78
description: A permissive license whose main conditions require preservation of copyright and license notices. Contributors provide an express grant of patent rights. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
89

_licenses/gpl-3.0.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ nickname: GNU GPLv3
55
redirect_from: /licenses/gpl-v3/
66
source: http://www.gnu.org/licenses/gpl-3.0.txt
77
featured: true
8+
hidden: false
89

910
description: Permissions of this strong copyleft license are conditioned on making available complete source code of licensed works and modifications, which include larger works using a licensed work, under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights.
1011

_licenses/lgpl-3.0.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ spdx-id: LGPL-3.0
44
nickname: GNU LGPLv3
55
redirect_from: /licenses/lgpl-v3/
66
source: http://www.gnu.org/licenses/lgpl-3.0.txt
7+
hidden: false
78

89
description: Permissions of this copyleft license are conditioned on making available complete source code of licensed works and modifications under the same license or the GNU GPLv3. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work through interfaces provided by the licensed work may be distributed under different terms and without source code for the larger work.
910

_licenses/mit.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: MIT License
33
spdx-id: MIT
44
source: https://opensource.org/licenses/MIT
55
featured: true
6+
hidden: false
67

78
description: A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
89

_licenses/mpl-2.0.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Mozilla Public License 2.0
33
spdx-id: MPL-2.0
44
redirect_from: /licenses/mozilla/
55
source: https://www.mozilla.org/media/MPL/2.0/index.txt
6+
hidden: false
67

78
description: Permissions of this weak copyleft license are conditioned on making available source code of licensed files and modifications of those files under the same license (or in certain cases, one of the GNU licenses). Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. However, a larger work using the licensed work may be distributed under different terms and without source code for files added in the larger work.
89

0 commit comments

Comments
 (0)