Skip to content

Commit 991471d

Browse files
committed
Fix sphinx issues according to numydoc documentation
1 parent f718f66 commit 991471d

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
# Add any paths that contain custom static files (such as style sheets) here,
158158
# relative to this directory. They are copied after the builtin static files,
159159
# so a file named "default.css" will overwrite the builtin "default.css".
160-
html_static_path = ['_static']
160+
html_static_path = []
161161

162162
# Add any extra paths that contain custom files (such as robots.txt or
163163
# .htaccess) here, relative to this directory. These files are copied

windpowerlib/wind_farm.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ class WindFarm(object):
5858
hub_height : float
5959
The calculated mean hub height of the wind farm. See
6060
:py:func:`mean_hub_height` for more information.
61-
nominal_power : float
62-
The nominal power is the sum of the nominal power of all turbines in
63-
the wind farm in W.
6461
power_curve : :pandas:`pandas.DataFrame<frame>` or None
6562
The calculated power curve of the wind farm. See
6663
:py:func:`assign_power_curve` for more information.
@@ -210,9 +207,7 @@ def __repr__(self):
210207
@property
211208
def nominal_power(self):
212209
r"""
213-
The nominal power of the wind farm.
214-
215-
See :attr:`~.wind_farm.WindFarm.nominal_power` for further information.
210+
The nominal power is the sum of the nominal power of all turbines.
216211
217212
Returns
218213
-------

windpowerlib/wind_turbine_cluster.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ class WindTurbineCluster(object):
3535
hub_height : float
3636
The calculated average hub height of the wind turbine cluster. See
3737
:py:func:`mean_hub_height` for more information.
38-
nominal_power : float
39-
The nominal power is the sum of the nominal power of all turbines in
40-
the wind turbine cluster in W.
4138
power_curve : :pandas:`pandas.DataFrame<frame>` or None
4239
The calculated power curve of the wind turbine cluster. See
4340
:py:func:`assign_power_curve` for more information.
@@ -65,15 +62,13 @@ def __repr__(self):
6562
@property
6663
def nominal_power(self):
6764
r"""
68-
The nominal power of the wind turbine cluster.
69-
70-
See :attr:`~.wind_turbine_cluster.WindTurbineCluster.nominal_power`
71-
for further information.
65+
The nominal power is the sum of the nominal power of all turbines in
66+
the wind turbine cluster.
7267
7368
Returns
7469
-------
7570
float
76-
Nominal power of the wind turbine cluster in w.
71+
Nominal power of the wind turbine cluster in W.
7772
7873
"""
7974
if not self._nominal_power:

0 commit comments

Comments
 (0)