-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support CC0 1.0 license #431
Comments
Currently only the licenses available at https://creativecommons.org/licenses/?lang=en are supported Lines 137 to 145 in dcfab66
For the one you suggest, the URL is different so we would need a special handling Is there a list of other licenses like CC0 we may need to add ? I believe CC0 is a special case right ? Is there any other you know off ? |
The CC 4.0 licenses and the CC0 1.0 are the ones available via Creative Commons' License Chooser, so that should already cover most cases. CC also offers the Public Domain Mark, but that is designed for indicating that something is already in the public domain, rather than for putting it into it. Among other licenses the GNU Free Documentation License could be considered. I am not so sure about software licenses (GPLv3, AGPLv3, LGPLv3, MPL 2.0, MIT, Apache 2.0), R Markdown documents are software to some extent. But they would require a different key than Also note that the canonical URIs for CC licenses linked via More info on canonical URIs
URI-wise, yes. Note that the canonical URI is For CC 4.0 and CC0 1.0 licenses I have written a utility function, maybe it is of some use to you: https://gitlab.com/fkohrt/bachelorarbeit-code/-/blob/1fe83030/R/functions.R#L57-138 |
So let's add the CC0. Do you want to make a PR for this tweaking the two places I shared above ? Otherwise I'll do it next time I work on distill Regarding other licenses, we could bring support if needed but that would be another feature as not the same YAML key. |
The text displayed in the appendix would need to change as well, as CC0 does not require attribution: Lines 89 to 98 in dcfab66
I don't have the capacities right now, so feel free to tackle this. Still, if find time, I will write a short note here. |
dev version now has support for CC0 remotes::install_github("rstudio/distill") Thanks for the suggestion ! |
It would be nice if the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication would be supported as well for the
creative_commons
metadata key.The text was updated successfully, but these errors were encountered: