1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-04 18:58:50 +01:00

Merge pull request #64 from github/no-license-no-parents

First cut at adding a no-license description
This commit is contained in:
Phil Haack 2013-06-11 16:02:00 -07:00
commit 42e9887c9e
5 changed files with 74 additions and 6 deletions

View File

@ -55,3 +55,13 @@ rules:
no-sublicense:
description: You may not grant a sublicense to modify and distribute this software to third parties not included in the license.
label: Sublicensing
modifications:
description: This software may not be modified.
label: Modification
distribution:
description: You may not distribute this software.
label: Distribution
sublicense:
description: You may not grant a sublicense to modify and distribute this software to third parties not included in the license.
label: Sublicensing

View File

@ -241,25 +241,36 @@ strong {
display: inline-block;
padding-left: 80px;
padding-right: 80px;
font-weight: bold;
}
.see-more p:last-child {
margin-bottom: 0.3em;
}
.license-rules {
font-size: 13px;
line-height: 1.3;
margin-bottom: 40px;
width: 100%;
}
.license-rules th {
border-bottom: solid 1px #d9d7d2;
padding: 5px 10px;
padding: 5px 10px 12px 10px;
vertical-align: bottom;
}
.license-rules th.summary {
line-height: 1.4;
}
.license-rules .name {
border-right: solid 1px #d9d7d2;
width: 180px;
padding-left: 0;
width: 280px;
}
.license-rules .name a {
font-family: 'Chivo', 'Helvetica Neue', Helvetica, Arial, serif;
font-size: 28px;
font-weight: 900;
line-height: 1.1;
}
.license-rules .name small a {
font-size: 16px;

View File

@ -14,7 +14,7 @@ class: home
<a href="licenses/mit"><img height='57' src='images/three-arrows@2x.png' width='72'></a>
<h3><a href="licenses/mit">I want it simple and permissive.</a></h3>
<p>
The <a href="licenses/mit">MIT License</a> is a permissive license that is short and to the point. It doesnt include any warranties and lets people do anything they want with your code (with attribution back to you).
The <a href="licenses/mit">MIT License</a> is a permissive license that is short and to the point. It doesnt include any warranties and lets people do anything they want with your code (with attribution back to you).
</p>
<p>
<strong>jQuery</strong> and <strong>Rails</strong> use the MIT License.
@ -41,9 +41,11 @@ class: home
</p>
</li>
</ul>
<p class="see-more callout">
None of these work for me. <a href="licenses">Show me more licenses »</a>
</p>
<div class="see-more callout">
<p>What if none of these work for me or I want to retain all of my rights? <a href="licenses">More licenses are available</a>.</p>
<p>What if I don't want to choose a license</a>? <a href="no-license">You don't have to</a>.</p>
</div>
</div>
</body>
</html>

27
licenses/no-license.html Normal file
View File

@ -0,0 +1,27 @@
---
layout: license
permalink: no-license/
class: license-types
title: No License
description: You retain all rights and do not permit distribution, reproduction, or derivative works. You may grant some rights in cases where you publish your source code to a site that requires accepting terms of service. For example, publishing to GitHub requires you allow others to view and fork your code.
note: This option may be subject to the Terms Of Use of the site where you publish your source code.
how: Simply do nothing, though including a copyright notice is recommended.
required:
- include-copyright
permitted:
- private-use
- commercial-use
forbidden:
- modifications
- distribution
- sublicense
---
Copyright <<year>> <<fullname>>

18
no-license.html Normal file
View File

@ -0,0 +1,18 @@
---
layout: default
permalink: no-license/
---
<h1>No License</h1>
<p>
You're under no obligation to choose a license and it's your right not to include one with your code or project. But please note that opting out of open source licenses doesn't mean you're opting out of copyright law.
</p>
</p>
You'll have to check with your own legal counsel regarding your particular project, but generally speaking, the absence of a license means that default copyright laws apply. This means that you retain all rights to your source code and that nobody else may reproduce, distribute, or create derivative works from your work. This might not be what you intend.
</p>
<p>
Even in the absence of a license file, if you publish your source code in a public repository on GitHub, you have accepted the <a href="https://help.github.com/articles/github-terms-of-service">Terms of Service</a> which do allow other GitHub users some rights. Specifically, you allow others to view and fork your repository.
</p>
<p>
If you want to share your work with others, please consider choosing an open source license.
</p>