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 Zenodo DOI to recommended citation #297

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions acknowledging.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,19 @@
Year = 2018,
Bdsk-Url-1 = {https://doi.org/10.3847/1538-3881/aabc4f}}`;

var zenodo = `@misc{astropy:zenodo,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any way to automate this? I run into the issue so many places of the zenodo entry being so far behind the actual release that it would be superb not to end up there with astropy.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not easily but we should just make it part of the release process

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can write some instructions for the dev docs

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah wait did you mean uploading to Zenodo, or updating this page?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I meant this bibtex here. Creating the zenodo entry is doable automatically afaik (or at least was with GH services)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I'm with Brigitta here. The copy-and-paste mechanism seems problematic if it gets you whatever the last one is the web site actually got updated to show.

author = {The Astropy Collaboration},
title = {{astropy v3.0.4: a core python package for
astronomy}},
month = aug,
year = 2018,
doi = {10.5281/zenodo.1461593},
url = {https://doi.org/10.5281/zenodo.1461593}
}`

var $temp = $("<textarea>");
$("body").append($temp);
$temp.val(bibtex2013 + '\r\n\r\n' + bibtex2018).select();
$temp.val(bibtex2013 + '\r\n\r\n' + bibtex2018 + '\r\n\r\n' + zenodo).select();
document.execCommand("copy");
$temp.remove();
}
Expand Down Expand Up @@ -123,7 +133,7 @@ <h1>Acknowledging or Citing Astropy</h1>

<h2>In Publications</h2>

<p>If you use Astropy for work/research presented in a publication (whether directly, or as a dependency to another package), we ask that you please cite the Astropy papers:
<p>If you use Astropy for work/research presented in a publication (whether directly, or as a dependency to another package), we ask that you please cite the Astropy papers. We also recommend that you cite the Zenodo record for the version of Astropy that you use:
<ul>
<li><a href="https://arxiv.org/abs/1801.02634" target="_blank">Astropy Paper II</a>
(<a href="http://adsabs.harvard.edu/abs/2018arXiv180102634T" target="_blank">ADS</a> -
Expand All @@ -133,10 +143,12 @@ <h2>In Publications</h2>
(<a href="http://adsabs.harvard.edu/abs/2013A%26A...558A..33A" target="_blank">ADS</a> -
<a href="http://adsabs.harvard.edu/cgi-bin/nph-bib_query?bibcode=2013A%26A...558A..33A&amp;data_type=BIBTEX&amp;db_key=AST&amp;nocookieset=1" target="_blank">BibTeX</a>)
</li>
<li>Latest software version: <a href="https://doi.org/10.5281/zenodo.1461536"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.1461536.svg" alt="DOI"></a>
</li>
</ul>
</p>

<a class="button" onclick="copyBibtex()">Copy BibTeX to clipboard</a>
<a class="button" onclick="copyBibtex()">Copy all BibTeX to clipboard</a>

<p>
We provide the following LaTeX/BibTeX acknowledgment if there is no specific place to cite the papers:
Expand Down