Skip to content
Merged
Show file tree
Hide file tree
Changes from 17 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
11 changes: 11 additions & 0 deletions docs/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,22 @@
'sphinx_gallery.gen_gallery',
'sphinx_toggleprompt',
'sphinx_favicon',
'hoverxref.extension',
]

mathjax3_config = {'chtml': {'displayAlign': 'left',
'displayIndent': '2em'}}

# Enable hover tooltips
hoverxref_auto_ref = True
hoverxref_roles = [
'term',
'ref',
'py:func',
'py:class',
'py:meth',
]

napoleon_use_rtype = False # group rtype on same line together with return

# Add any paths that contain templates here, relative to this directory.
Expand Down
2 changes: 1 addition & 1 deletion pvlib/irradiance.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def beam_component(surface_tilt, surface_azimuth, solar_zenith, solar_azimuth,
solar_azimuth : numeric
Solar azimuth angle.
dni : numeric
Direct Normal Irradiance
Direct normal irradiance, see :term:`dni`. [Wm⁻²]

Returns
-------
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ doc = [
'sphinx-toggleprompt == 0.5.2',
'sphinx-favicon',
'solarfactors',
'sphinx-hoverxref',
]
test = [
'pytest',
Expand Down
Loading