Skip to content
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

Add license/copyright field to narratives #1061

Merged
merged 1 commit into from
Apr 15, 2020

Conversation

sidneymbell
Copy link
Contributor

@sidneymbell sidneymbell commented Apr 14, 2020

Description of proposed changes

Adds a field for a license, copyright, etc. This uses the same function as the previous parseContributors, renamed to parseAttributions to be a bit more generic. This will probably be used for a single string +/- link most of the time, but allowing arrays enables adding both a license and a copyright.

Testing

Usage:

license: "CC-BY"  
licenseLink: "https://creativecommons.org/licenses/by/4.0/"

Yields:
image

@jameshadfield jameshadfield temporarily deployed to auspice-narratives-lice-dvyar7 April 14, 2020 00:32 Inactive
@sidneymbell sidneymbell marked this pull request as draft April 14, 2020 00:32
@sidneymbell sidneymbell requested a review from cassiawag April 14, 2020 00:32
@sidneymbell sidneymbell marked this pull request as ready for review April 14, 2020 00:58
@jameshadfield
Copy link
Member

@sidneymbell this looks fine to me. Could you rebase onto master now that most of the changes in this PR have gone in via another PR?

@sidneymbell sidneymbell force-pushed the narratives-license-copyright-field branch from bca0681 to 9531544 Compare April 15, 2020 16:03
@jameshadfield jameshadfield temporarily deployed to auspice-narratives-lice-dvyar7 April 15, 2020 16:04 Inactive
@sidneymbell sidneymbell merged commit 80fafcf into master Apr 15, 2020
@sidneymbell sidneymbell deleted the narratives-license-copyright-field branch April 15, 2020 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants