28 May, 2024 - About 1 minute
CITATION.cff
Intro
When producing software, especially in the open-source space, it is common for articles to reference that work, much like how books or articles are cited in academic papers. GitHub provides a way for you to specify how you would like others to cite your work.
How
You need to include a CITATION.cff
file on your repo
Example
The following example is shared on the reference documentation page.
cff-version: 1.2.0 |
What does this provide
When you add a CITATION.cff
file to the default branch of your repository, a link is automatically added to the repository landing page in the right sidebar, with the label “Cite this repository.” This makes it easy for other users to cite your software project, using the information you’ve provided.
You could cite other resources like datasets for instance
NOTE: The file must exist on the root folder of your repository
Check the original article if you would like to know more.