Skip to content

Commit 6a41299

Browse files
authored
enable forecasting doc page build on readthedocs (#300)
* try new doc env config * pin more packages * fix warnings * fix variable name
1 parent 8d56b2e commit 6a41299

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

docs/environment.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
name: pvlibdocs
22
channels:
3+
- conda-forge
34
- defaults
4-
# - conda-forge # needed for siphon, but causes path too short problems on rtd
55
dependencies:
66
- python=2.7
77
- mock # needed for local python 2.7 builds
8-
- numpy
8+
- numpy=1.11.2
99
- scipy
10-
- pandas
10+
- pandas=0.19.1
1111
- pytz
1212
- ephem
1313
- numba
1414
- ipython=4.0.1
1515
- ipywidgets
1616
- numpydoc
17-
- matplotlib
18-
- seaborn
19-
# - siphon
20-
- sphinx=1.3.5 # same versions as rtd
21-
- sphinx_rtd_theme=0.1.7
22-
- docutils=0.12
17+
- matplotlib=1.5.3
18+
- seaborn=0.7.1
19+
- siphon=0.4.0
20+
- sphinx=1.4.8
21+
- netCDF4=1.2.4
22+
- hdf4=4.2.12
23+
- sphinx_rtd_theme
24+
- docutils

docs/sphinx/source/forecasts.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,9 +448,7 @@ for details.
448448
mc = ModelChain(system, fx_model.location)
449449
450450
# extract relevant data for model chain
451-
irradiance = fx_data[['ghi', 'dni', 'dhi']]
452-
weather = fx_data[['wind_speed', 'temp_air']]
453-
mc.run_model(fx_data.index, irradiance=irradiance, weather=weather);
451+
mc.run_model(fx_data.index, weather=fx_data);
454452
455453
Now we plot a couple of modeling intermediates and the forecast power.
456454
Here's the forecast plane of array irradiance...

docs/sphinx/source/whatsnew/v0.3.0.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Enhancements
4848
* :ref:`contributing` (:issue:`46`)
4949
* :ref:`timetimezones` (:issue:`47`)
5050
* :ref:`variables_style_rules` (:issue:`102`)
51-
* :ref:`classes` (:issue:`93`)
51+
* Classes (:issue:`93`) (Moved to :ref:`api` in :issue:`258`)
5252

5353
* Adds support for Appveyor, a Windows continuous integration service.
5454
(:issue:`111`)

docs/sphinx/source/whatsnew/v0.4.4.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Documentation
1111
~~~~~~~~~~~~~
1212

1313
* Fixes the Forecasting page's broken links to the tutorials.
14+
* Fixes the Forecasting page's broken examples. (:issue:`299`)
15+
* Fixes broken Classes link in the v0.3.0 documentation.
1416

1517

1618
Contributors

0 commit comments

Comments
 (0)