Skip to content

Commit 6c6685a

Browse files
authored
convert modelchain.ipynb to rst, remove nbsphinx (#568)
* convert modelchain.ipynb to rst, remove nbsphinx * some clean up * remove ipywidgets and docutils from doc env * remove outdated section * hacks to make other pages compile * other doc clean up * 3 spaces for directive options * use bare .. ipython:: (no python) * enabled install option on rtd. now removing previously added output
1 parent 710e27e commit 6c6685a

File tree

8 files changed

+439
-751
lines changed

8 files changed

+439
-751
lines changed

docs/environment.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,10 @@ dependencies:
1313
- ephem
1414
- numba
1515
- ipython=6.3
16-
- ipywidgets
1716
- numpydoc
1817
- matplotlib=2.2.2
1918
- siphon=0.7.0
2019
- sphinx=1.7.2
2120
- netCDF4=1.3.1
2221
- hdf4=4.2.12
2322
- sphinx_rtd_theme
24-
- docutils
25-
- nbsphinx

docs/sphinx/source/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ def __getattr__(cls, name):
5858
'numpydoc',
5959
'sphinx.ext.autosummary',
6060
'IPython.sphinxext.ipython_directive',
61-
'IPython.sphinxext.ipython_console_highlighting',
62-
'nbsphinx'
61+
'IPython.sphinxext.ipython_console_highlighting'
6362
]
6463

6564
# Add any paths that contain templates here, relative to this directory.
@@ -312,7 +311,7 @@ def setup(app):
312311

313312
# Example configuration for intersphinx: refer to the Python standard library.
314313
intersphinx_mapping = {
315-
'python': ('https://docs.python.org/3.5/', None),
314+
'python': ('https://docs.python.org/3.7/', None),
316315
'pandas': ('http://pandas.pydata.org/pandas-docs/stable/', None),
317316
'numpy': ('http://docs.scipy.org/doc/numpy/', None),
318317
}

0 commit comments

Comments
 (0)