Skip to content

Commit 1d1a371

Browse files
Add Zenodo DOI badges and citation instructions (#4544)
1 parent 70e2527 commit 1d1a371

File tree

2 files changed

+16
-6
lines changed

2 files changed

+16
-6
lines changed

README.rst

+10-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
:alt: PyMC3 logo
44
:align: center
55

6-
|Build Status| |Coverage| |NumFOCUS_badge| |Binder| |Dockerhub|
6+
|Build Status| |Coverage| |NumFOCUS_badge| |Binder| |Dockerhub| |DOIzenodo|
77

88
PyMC3 is a Python package for Bayesian statistical modeling and Probabilistic Machine Learning
99
focusing on advanced Markov chain Monte Carlo (MCMC) and variational inference (VI)
@@ -74,10 +74,16 @@ To install PyMC3 on your system, follow the instructions on the appropriate inst
7474

7575
Citing PyMC3
7676
============
77+
Please choose from the following:
7778

78-
Salvatier J., Wiecki T.V., Fonnesbeck C. (2016) Probabilistic programming
79-
in Python using PyMC3. PeerJ Computer Science 2:e55
80-
`DOI: 10.7717/peerj-cs.55 <https://doi.org/10.7717/peerj-cs.55>`__.
79+
- |DOIpaper| *Probabilistic programming in Python using PyMC3*, Salvatier J., Wiecki T.V., Fonnesbeck C. (2016)
80+
- |DOIzenodo| A DOI for all versions.
81+
- DOIs for specific versions are shown on Zenodo and under `Releases <https://github.com/pymc-devs/pymc3/releases>`_
82+
83+
.. |DOIpaper| image:: https://img.shields.io/badge/DOI-10.7717%2Fpeerj--cs.55-blue
84+
:target: https://doi.org/10.7717/peerj-cs.55
85+
.. |DOIzenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4603970.svg
86+
:target: https://doi.org/10.5281/zenodo.4603970
8187

8288
Contact
8389
=======

docs/source/index.rst

+6-2
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,12 @@
115115

116116
<div class="ui vertical segment">
117117
<h2 class="ui dividing header">Citing PyMC3</h2>
118-
<p>Salvatier J., Wiecki T.V., Fonnesbeck C. (2016) Probabilistic programming in Python using PyMC3. PeerJ
119-
Computer Science 2:e55 <a href="https://doi.org/10.7717/peerj-cs.55">DOI: 10.7717/peerj-cs.55</a>.</p>
118+
<p>Please choose from the following:</p>
119+
<ul>
120+
<li><a href="https://doi.org/10.7717/peerj-cs.55" rel="nofollow"><img alt="DOIpaper" src="https://camo.githubusercontent.com/6a7e1c555ea828c2f9253f7cff0868debe9fdc711694424b913bf95f6d2da9dd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f444f492d31302e37373137253246706565726a2d2d63732e35352d626c7565" data-canonical-src="https://img.shields.io/badge/DOI-10.7717%2Fpeerj--cs.55-blue" style="max-width:100%;"></a> <em>Probabilistic programming in Python using PyMC3</em>, Salvatier J., Wiecki T.V., Fonnesbeck C. (2016)</li>
121+
<li><a href="https://doi.org/10.5281/zenodo.4603970" rel="nofollow"><img alt="DOIzenodo" src="https://camo.githubusercontent.com/2b33f91dc16d9e7ad37aede0119d197776fbef41b8080c7e38a3629df3d9c201/68747470733a2f2f7a656e6f646f2e6f72672f62616467652f444f492f31302e353238312f7a656e6f646f2e343630333937302e737667" data-canonical-src="https://zenodo.org/badge/DOI/10.5281/zenodo.4603970.svg" style="max-width:100%;"></a> A DOI for all versions.</li>
122+
<li>DOIs for specific versions are shown on Zenodo and under <a href="https://github.com/pymc-devs/pymc3/releases">Releases</a></li>
123+
</ul>
120124
<p>See <a href="https://scholar.google.de/scholar?oi=bibs&hl=en&authuser=1&cites=6936955228135731011">Google Scholar</a> for a continuously updated list of papers citing PyMC3.</p>
121125
</div>
122126

0 commit comments

Comments
 (0)