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

34 Commits

Author SHA1 Message Date
Mike Linksvayer
63b0bb8629 Remove obsolete if page.source
Pointed out by @benbalter at https://github.com/github/choosealicense.com/pull/601#discussion_r224079208
2018-10-10 13:23:06 -07:00
Mike Linksvayer
325806b42a rm source metadata, defer to SPDX record 2018-08-04 14:07:24 -07:00
Mike Linksvayer
9f263936b2 http->https for misc links outside of license texts
artistic-2.0 source changed because perlfoundation website timing out
2018-05-22 13:39:44 -07:00
Mike Linksvayer
bcdc73826e
Merge branch 'gh-pages' into only-or-later 2018-01-27 15:33:16 -08:00
Mike Linksvayer
2b16dbd1e2
Update rust package license metadata link
As noted by @wking at https://github.com/github/choosealicense.com/pull/563/files#r160834170
2018-01-10 17:31:01 -08:00
Mike Linksvayer
f3988a7faa SPDX license list 3.0 uses -or-later and -only over + and no modifier
Reflect that in sidebar instructions for *GPL as seen e.g. at
https://choosealicense.com/licenses/agpl-3.0/
2017-12-31 10:03:56 -08:00
Mike Linksvayer
f09d10922f reword, emphasize optional 2016-06-02 12:17:20 -07:00
Mike Linksvayer
2e7b84b816 reword: note optional, mention effect; make slightly less prominent 2016-06-02 11:57:32 -07:00
Mike Linksvayer
6b2eaebac5 add '+' to spdx id if _GPL 2016-05-30 18:34:51 -07:00
Mike Linksvayer
37e3a00efb add spdx id w/hint about adding to pkg description to sidebar 2016-05-30 18:20:45 -07:00
git
78aac74fb2 Restructure individual license pages, added styles to improve alignment 2016-04-26 16:43:40 -07:00
Mike Linksvayer
850a5c2b06 make lonely h5 a h3 https://github.com/github/choosealicense.com/pull/382#issuecomment-204634348 2016-04-04 10:58:44 -07:00
Leo F
bfd43e2d04 Display description and nickname in sidebar (#355)
Added if for nickname since some of the licenses may not have a nickname.
2016-04-01 19:17:56 -07:00
Mike Linksvayer
b4979b3dd4 remove <p> and </p> added by markdownify 2016-03-10 20:09:35 -08:00
Mike Linksvayer
e0299c5521 markdownify filter on fields for which markdown is OK
as suggested by @benbalter in / fixes #367

also use markdown to make EUPL boilerplate linked
2016-03-10 09:36:33 -08:00
Mike Linksvayer
810eeb5618 rename/order license properties better reflect how licenses work
and are structured

grant (permissions)
conditioned on (conditions)
with limitations

Permissions coming first combats mistaken but apparently widespread
impression that licenses impose conditions, even such that without
a license, there would be no conditions/work would be in the public
domain.

Requirements->Conditions emphasizes that they are pertinent if one
wants to take advantage of permissions.

Forbiddens->Limitations is more accurate: in most cases licenses
don't give permission to hold licensors liable, in some cases to
use licensors' trademarks or patents, but a licensee does not lose
the permissions granted by the license if the licensee holds licensor
liable, etc. Also emphasizes that there are limitatations on the
license grant, not that the license imposes prohibitions.

The most concise place to see both the rename and reorder is in
_includes/license-overview.html

I did not reorder the appearance of the groups of properties in
license source files (.txt files in _licenses) as those orderings
are not used to render anything on the webiste. Might do so later.
2016-03-01 13:33:15 -08:00
Waldir Pimenta
b2eed043eb make sidebar template match the new format of the 'using' list 2015-11-02 16:36:55 +00:00
Alexis Tyler
bf4f854060 Replaced zeroclipboard with clipboard.js 2015-10-25 15:17:13 +10:30
Ben Balter
22cc77f12b first pass at jekyll2ification 2014-07-31 12:36:56 -04:00
Aidan Feldman
49e50f6390 Don't ignore all '#' URLs when running HTML::Proofer
Explicitly ignore the clipboard button from proofing, which was why the
:href_ignore was there in the first place.  Per
https://github.com/github/choosealicense.com/pull/104/files#r7311111.
2013-12-18 03:28:01 -05:00
XhmikosR
22eae2af38 Use a CSS sprite for the license images.
-3 HTTP requests.
2013-12-16 10:13:32 +02:00
XhmikosR
db22e94170 Use double quotes. 2013-12-14 21:45:03 +02:00
XhmikosR
322a1b0c74 _includes/sidebar.html: fix indentation. 2013-12-08 18:18:36 +02:00
Aidan Feldman
8ff2565f0b sort rules by label 2013-11-29 20:57:35 -05:00
XhmikosR
c1c291b379 Use double quotes consistently. 2013-10-30 20:39:55 +02:00
Aidan Feldman
1b5debd6bf fix 'using' display in sidebar 2013-10-22 23:58:31 -07:00
Andreas Renberg (IQAndreas)
800d8bbdb8 Only include link to source if one has been provided
Not all licenses have provided a `source` property, so this check just
prevent an empty `href` in such cases.
2013-10-23 07:37:32 +02:00
Jason Long
85755edd74 put license text in lighter container for better contrast 2013-09-25 08:58:07 -04:00
Ben Lavender
1cdd11eb01 Whitespace rules everything around me. 2013-07-18 11:08:24 -05:00
Ben Lavender
b080b5e2fe Don't replace on how fields; no longer needed 2013-07-17 17:30:55 -05:00
Jeff King
62066749b5 sidebar: convert <</>> into brackets in page.how
We already do this in the license bodies, and we need to
match here (currently we just print junk like `replace <>
with ...` because we end up with garbled HTML.

This replacement should arguably be factored out, as it
would want to be the same everywhere (and we might want to
make it bold everywhere or something).
2013-06-15 04:13:13 -04:00
Benjamin J. Balter
892de8ba4f Open "Who's using" links in new tab.
Otherwise, people browsing licenses are forced to leave the site.
2013-05-21 15:17:09 -07:00
Benjamin J. Balter
fdc6142aeb Fix for "Who's Using" links
Liquid was not properly iterating through the using_hash.
Needed to add a second for loop.

See: http://stackoverflow.com/questions/8206869/iterate-over-hashes-in-liquid-templates
2013-05-21 15:17:08 -07:00
Benjamin J. Balter
caa47fb00c First pass at Jekylification
* Move licenses to license template
* Move home / about to page template
* Move annotations to config file, included via annotations.js
* Move license metadata to YML Front matter
* Automate the presentation of license metadata
* Move sidebar to include
* Add _site to gitignore
2013-05-21 15:17:07 -07:00