8000 add ModelChain tutorial, nbsphinx extension (#362) · UtkuAy/pvlib-python@95fe1f6 · GitHub
[go: up one dir, main page]

8000
Skip to content

Commit 95fe1f6

Browse files
authored
add ModelChain tutorial, nbsphinx extension (pvlib#362)
* add modelchain.ipynb using nbsphinx * fix code block overrun * update whatsnew * fix some references, minor edits
1 parent da4f4d6 commit 95fe1f6

File tree

6 files changed

+747
-6
lines changed

6 files changed

+747
-6
lines changed

docs/environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ dependencies:
2222
- hdf4=4.2.12
2323
- sphinx_rtd_theme
2424
- docutils
25+
- nbsphinx

docs/sphinx/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def __getattr__(cls, name):
5959
'sphinx.ext.autosummary',
6060
'IPython.sphinxext.ipython_directive',
6161
'IPython.sphinxext.ipython_console_highlighting',
62+
'nbsphinx'
6263
]
6364

6465
# Add any paths that contain templates here, relative to this directory.
@@ -100,7 +101,7 @@ def __getattr__(cls, name):
100101

101102
# List of patterns, relative to source directory, that match files and
102103
# directories to ignore when looking for source files.
103-
exclude_patterns = ['whatsnew/*']
104+
exclude_patterns = ['whatsnew/*', '**.ipynb_checkpoints']
104105

105106
# The reST default role (used for this markup: `text`) to use for all
106107
# documents.
@@ -316,3 +317,4 @@ def setup(app):
316317
'numpy': ('http://docs.scipy.org/doc/numpy/', None),
317318
}
318319

320+
nbsphinx_allow_errors = True

docs/sphinx/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Contents
7474
whatsnew
7575
installation
7676
contributing
77+
modelchain
7778
timetimezones
7879
clearsky
7980
forecasts

0 commit comments

Comments
 (0)
0