Skip to content

Commit 8af3419

Browse files
committed
add website reference example
also full stops (required except in the case of ending with a URL)
1 parent 3a6738a commit 8af3419

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

docs/sphinx/source/contributing/style_guide.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,28 +109,32 @@ using the IEEE style in a docstring::
109109
are also some conference papers linked to pvlib, for example [2]_.
110110
111111
Other types of reference you may find in the pvlib-python documentation
112-
include books [3]_ and technical reports [4]_.
112+
include books [3]_, technical reports [4]_, and websites [5]_.
113113

114114
References
115115
----------
116116
.. [1] K. Anderson, C. Hansen, W. Holmgren, A. Jensen, M. Mikofski,
117117
and A Driesse. "pvlib python: 2023 project update." J. Open Source
118118
Softw. vol. 8, no. 92, pp. 5994, Dec 2023,
119-
:doi:`10.21105/joss.05994`
119+
:doi:`10.21105/joss.05994`.
120120

121121
.. [2] J. S. Stein, "The Photovoltaic Performance Modeling Collaborative
122122
(PVPMC)," In Proc. 38th IEEE Photovoltaic Specialists Conference
123123
(PVSC), Austin, TX, USA, 2012, pp. 3048-3052,
124-
:doi:`10.1109/PVSC.2012.6318225`
124+
:doi:`10.1109/PVSC.2012.6318225`.
125125

126126
.. [3] J. A. Duffie and W. A. Beckman, "Solar Radiation" in Solar
127127
Engineering of Thermal Processes, 3rd ed, New York, USA, J. Wiley
128-
and Sons, 2006, ch. 1, sec. 1.5, pp.9-11
128+
and Sons, 2006, ch. 1, sec. 1.5, pp.9-11.
129129

130130
.. [4] R. Bird and C. Riordan, "Simple solar spectral model for direct and
131131
diffuse irradiance on horizontal and tilted planes at the earth’s
132132
surface for cloudless atmospheres", NREL, Golden, CO, USA, Technical
133-
Report TR-215-2436, 1984, :doi:`10.2172/5986936`
133+
Report TR-215-2436, 1984, :doi:`10.2172/5986936`.
134+
135+
.. [5] "PVPMC Home." Sandia National Laboratories PV Performance Modeling
136+
Collaborative. Accessed: Oct. 17, 2024. [Online.] Available:
137+
<https://pvpmc.sandia.gov/>_
134138

135139
Things to note:
136140

0 commit comments

Comments
 (0)