Skip to content

Commit 750b292

Browse files
committed
deploy: 8229e73
1 parent cb99f3f commit 750b292

File tree

63 files changed

+176
-50
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+176
-50
lines changed

.doctrees/TRANSLATING.doctree

0 Bytes
Binary file not shown.
5.78 KB
Binary file not shown.

.doctrees/environment.pickle

1.99 KB
Binary file not shown.

TRANSLATING.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_sources/documentation/repository-files/license-files.md.txt

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,42 @@ This would not be true with a GPL licensed package. `GPL-3` packages can include
130130

131131
## What about software citation?
132132

133-
While many permissive licenses do not require citation we STRONG encourage that you cite all software that you use in papers, blogs and other publications. You tell your users how to cite your package by using a [citation.cff file](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files). We will cover this topic when we talk about creating DOI's for your package using Zenodo.
133+
While many permissive licenses do not require citation, we strongly encourage that you cite all software that you use in papers, blogs, and other publications. You tell your users how to cite your package by using a [citation.cff file](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files).
134134

135-
<!-- TODO: add link when lesson is created - but also we don't yet know how citation.cff files work with Zenodo (do they work??) will the citation info update with a new Zenodo link
135+
### Citation.cff files: Making your software citable
136136

137-
These files - we need to understand if that date releases auto populates or forces zenodo to modify it's citation. If it's not dynamic it could be problematic
137+
A `CITATION.cff` file is a machine-readable file that provides citation information for your software package. The "cff" stands for "Citation File Format," which is a standardized format for software citation metadata.
138138

139-
-->
139+
#### What citation.cff files add to your repository
140+
141+
When you add a `CITATION.cff` file to your repository, GitHub automatically detects it and displays a "Cite this repository" button. This makes it easy for users to properly cite your software. The file contains standardized citation information that tools and services can automatically read and use. GitHub will generate both APA and BibTeX citation formats for users.
142+
143+
#### How dates are tracked in citation.cff files
144+
145+
The citation file tracks important dates for your software. The `date-released` field shows when the current version was released. The `date-published` field shows when the software was first made available. You also include a `version` field with the specific version number.
146+
147+
You should update these dates with each new release so people cite the correct version of your software.
148+
149+
#### Integration with Zenodo
150+
151+
Citation.cff files work well with Zenodo, which is a popular place to store research software and get DOIs. When you create a Zenodo release, it can automatically pull information from your citation file. This keeps your citation information the same between GitHub and Zenodo. You can also include your Zenodo DOI in the citation file. Each time you make a new GitHub release, it can create a new Zenodo version with updated citation information.
152+
153+
154+
Here's a basic example of what a `CITATION.cff` file might look like:
155+
156+
```yaml
157+
cff-version: 1.2.0
158+
message: "If you use this software, please cite it as below."
159+
authors:
160+
- family-names: "Your Last Name"
161+
given-names: "Your First Name"
162+
orcid: "https://orcid.org/0000-0000-0000-0000"
163+
title: "Your Package Name"
164+
version: 1.0.0
165+
doi: "10.5281/zenodo.1234"
166+
date-released: 2025-07-12
167+
url: "https://github.com/yourusername/your-package"
168+
```
140169

141170
# References
142171

documentation/repository-files/license-files.html

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -699,12 +699,38 @@ <h2>Important: make sure that you closely follow the guidelines outlines by the
699699
</section>
700700
<section id="what-about-software-citation">
701701
<h2>What about software citation?<a class="headerlink" href="#what-about-software-citation" title="Link to this heading">#</a></h2>
702-
<p>While many permissive licenses do not require citation we STRONG encourage that you cite all software that you use in papers, blogs and other publications. You tell your users how to cite your package by using a <a class="reference external" href="https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files">citation.cff file</a>. We will cover this topic when we talk about creating DOI’s for your package using Zenodo.</p>
703-
<!-- TODO: add link when lesson is created - but also we don't yet know how citation.cff files work with Zenodo (do they work??) will the citation info update with a new Zenodo link
704-
705-
These files - we need to understand if that date releases auto populates or forces zenodo to modify it's citation. If it's not dynamic it could be problematic
706-
707-
-->
702+
<p>While many permissive licenses do not require citation, we strongly encourage that you cite all software that you use in papers, blogs, and other publications. You tell your users how to cite your package by using a <a class="reference external" href="https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files">citation.cff file</a>.</p>
703+
<section id="citation-cff-files-making-your-software-citable">
704+
<h3>Citation.cff files: Making your software citable<a class="headerlink" href="#citation-cff-files-making-your-software-citable" title="Link to this heading">#</a></h3>
705+
<p>A <code class="docutils literal notranslate"><span class="pre">CITATION.cff</span></code> file is a machine-readable file that provides citation information for your software package. The “cff” stands for “Citation File Format,” which is a standardized format for software citation metadata.</p>
706+
<section id="what-citation-cff-files-add-to-your-repository">
707+
<h4>What citation.cff files add to your repository<a class="headerlink" href="#what-citation-cff-files-add-to-your-repository" title="Link to this heading">#</a></h4>
708+
<p>When you add a <code class="docutils literal notranslate"><span class="pre">CITATION.cff</span></code> file to your repository, GitHub automatically detects it and displays a “Cite this repository” button. This makes it easy for users to properly cite your software. The file contains standardized citation information that tools and services can automatically read and use. GitHub will generate both APA and BibTeX citation formats for users.</p>
709+
</section>
710+
<section id="how-dates-are-tracked-in-citation-cff-files">
711+
<h4>How dates are tracked in citation.cff files<a class="headerlink" href="#how-dates-are-tracked-in-citation-cff-files" title="Link to this heading">#</a></h4>
712+
<p>The citation file tracks important dates for your software. The <code class="docutils literal notranslate"><span class="pre">date-released</span></code> field shows when the current version was released. The <code class="docutils literal notranslate"><span class="pre">date-published</span></code> field shows when the software was first made available. You also include a <code class="docutils literal notranslate"><span class="pre">version</span></code> field with the specific version number.</p>
713+
<p>You should update these dates with each new release so people cite the correct version of your software.</p>
714+
</section>
715+
<section id="integration-with-zenodo">
716+
<h4>Integration with Zenodo<a class="headerlink" href="#integration-with-zenodo" title="Link to this heading">#</a></h4>
717+
<p>Citation.cff files work well with Zenodo, which is a popular place to store research software and get DOIs. When you create a Zenodo release, it can automatically pull information from your citation file. This keeps your citation information the same between GitHub and Zenodo. You can also include your Zenodo DOI in the citation file. Each time you make a new GitHub release, it can create a new Zenodo version with updated citation information.</p>
718+
<p>Here’s a basic example of what a <code class="docutils literal notranslate"><span class="pre">CITATION.cff</span></code> file might look like:</p>
719+
<div class="highlight-yaml notranslate"><div class="highlight"><pre><span></span><span class="nt">cff-version</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">1.2.0</span>
720+
<span class="nt">message</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;If</span><span class="nv"> </span><span class="s">you</span><span class="nv"> </span><span class="s">use</span><span class="nv"> </span><span class="s">this</span><span class="nv"> </span><span class="s">software,</span><span class="nv"> </span><span class="s">please</span><span class="nv"> </span><span class="s">cite</span><span class="nv"> </span><span class="s">it</span><span class="nv"> </span><span class="s">as</span><span class="nv"> </span><span class="s">below.&quot;</span>
721+
<span class="nt">authors</span><span class="p">:</span>
722+
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">family-names</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;Your</span><span class="nv"> </span><span class="s">Last</span><span class="nv"> </span><span class="s">Name&quot;</span>
723+
<span class="w"> </span><span class="nt">given-names</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;Your</span><span class="nv"> </span><span class="s">First</span><span class="nv"> </span><span class="s">Name&quot;</span>
724+
<span class="w"> </span><span class="nt">orcid</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;https://orcid.org/0000-0000-0000-0000&quot;</span>
725+
<span class="nt">title</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;Your</span><span class="nv"> </span><span class="s">Package</span><span class="nv"> </span><span class="s">Name&quot;</span>
726+
<span class="nt">version</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">1.0.0</span>
727+
<span class="nt">doi</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;10.5281/zenodo.1234&quot;</span>
728+
<span class="nt">date-released</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">2025-07-12</span>
729+
<span class="nt">url</span><span class="p">:</span><span class="w"> </span><span class="s">&quot;https://github.com/yourusername/your-package&quot;</span>
730+
</pre></div>
731+
</div>
732+
</section>
733+
</section>
708734
</section>
709735
</section>
710736
<section id="references">
@@ -787,7 +813,15 @@ <h1>References<a class="headerlink" href="#references" title="Link to this headi
787813
</ul>
788814
</li>
789815
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#important-make-sure-that-you-closely-follow-the-guidelines-outlines-by-the-license-that-you-chose">Important: make sure that you closely follow the guidelines outlines by the License that you chose</a></li>
790-
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#what-about-software-citation">What about software citation?</a></li>
816+
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#what-about-software-citation">What about software citation?</a><ul class="nav section-nav flex-column">
817+
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#citation-cff-files-making-your-software-citable">Citation.cff files: Making your software citable</a><ul class="nav section-nav flex-column">
818+
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#what-citation-cff-files-add-to-your-repository">What citation.cff files add to your repository</a></li>
819+
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#how-dates-are-tracked-in-citation-cff-files">How dates are tracked in citation.cff files</a></li>
820+
<li class="toc-h4 nav-item toc-entry"><a class="reference internal nav-link" href="#integration-with-zenodo">Integration with Zenodo</a></li>
821+
</ul>
822+
</li>
823+
</ul>
824+
</li>
791825
</ul>
792826
</li>
793827
<li class="toc-h1 nav-item toc-entry"><a class="reference internal nav-link" href="#references">References</a></li>

ja/.doctrees/CONTRIBUTING.doctree

0 Bytes
Binary file not shown.

ja/.doctrees/TRANSLATING.doctree

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)