Skip to content

Commit 35722c1

Browse files
committed
now suggests a first name automatically, and last name is no longer the full name
1 parent 056252b commit 35722c1

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

{{cookiecutter.project_name}}/.github/next_steps/04_citation.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ The repository has been set up with a [GitHub action](https://github.com/marketp
3434

3535
It is likely that your `CITATION.cff` currently doesn't pass validation. The error messages you get from `cffconvert` are unfortunately a bit cryptic, but doing the following likely helps:
3636

37-
- [ ] Fill in your given name for `given-name`
38-
- [ ] Check if the `family-name` key needs updating. If your last name has a name particle like `von` or `van` or `de`, use the `name-particle` key; if your name has a suffix like `Sr` or `IV`, use `name-suffix`. For details, refer to the schema description: https://github.com/citation-file-format/citation-file-format
37+
- [ ] Check if the `given-name` and `family-name` keys need updating. If your family name has a name particle like `von` or `van` or `de`, use the `name-particle` key; if your name has a suffix like `Sr` or `IV`, use `name-suffix`. For details, refer to the schema description: https://github.com/citation-file-format/citation-file-format
3938
- [ ] Update the value of the `orcid` key. If you do not have an orcid yet, you can get one here [https://orcid.org/](https://orcid.org/).
4039
- [ ] Update `date-released` using the YYYY-MM-DD format.
4140
- [ ] Update the `doi` key with the conceptDOI for your repository (see [https://help.zenodo.org](https://help.zenodo.org/) for more information on what a conceptDOI is). If your project doesn't have a DOI yet, you can use the string `10.0000/FIXME` to pass validation.

{{cookiecutter.project_name}}/CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ cff-version: "1.1.0"
44
title: "{{ cookiecutter.project_name }}"
55
authors:
66
-
7-
family-names: {{ cookiecutter.full_name }}
8-
given-names:
7+
family-names: {{ cookiecutter.full_name.split(' ')[-1] }}
8+
given-names: {{ cookiecutter.full_name.split(' ')[0] }}
99
orcid: "https://orcid.org/0000-0000-0000-0000"
1010
date-released: 20??-MM-DD
1111
doi: <insert your DOI here>

0 commit comments

Comments
 (0)