Skip to content

Commit aa7b7a0

Browse files
authored
docs fix: add badges to __init__ so that docs include the badges (#1522)
1 parent 17ec374 commit aa7b7a0

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

docs/bibliography.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,8 @@
766766
},
767767
"https://doi.org/10.1016/B978-0-444-42225-5.50008-5": {
768768
"usages": [
769-
"examples/PySDM_examples/Gonfiantini_1986/fig_3_1.ipynb"
769+
"examples/PySDM_examples/Gonfiantini_1986/fig_3_1.ipynb",
770+
"examples/PySDM_examples/Gonfiantini_1986/__init__.py"
770771
],
771772
"title": "Environmental isotopes in lake stadies",
772773
"label": "Gonfiantini 1986 (The Terrestrial Environment, B)"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# pylint: disable=invalid-name
2+
"""
3+
Formulae-only example depicting Rayleigh fractionation from a flat surface of water
4+
at different humidities for Oxygen-18 and Deuterium, based on
5+
[Gonfiantini 1986](https://doi.org/10.1016/B978-0-444-42225-5.50008-5)
6+
7+
fig_3_1.ipynb:
8+
.. include:: ./fig_3_1.ipynb.badges.md
9+
"""

0 commit comments

Comments
 (0)