Skip to content

Use conda on readthedocs #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jan 15, 2016
Merged
Show file tree
Hide file tree
Changes from all 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
14 changes: 14 additions & 0 deletions docs/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: pvlib
dependencies:
- python=2.7
- numpy
- scipy
- pandas
- pytz
- ephem
- numba
- ipython
- sphinx
- numpydoc
- matplotlib
- seaborn
7 changes: 4 additions & 3 deletions docs/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ class Mock(MagicMock):
def __getattr__(cls, name):
return Mock()

MOCK_MODULES = ['scipy', 'scipy.io', 'numpy', 'ephem', 'pandas',
'pvlib.spa_c_files.spa_py', 'dateutil']
MOCK_MODULES = []
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

# If extensions (or modules to document with autodoc) are in another directory,
Expand All @@ -50,7 +49,9 @@ def __getattr__(cls, name):
'sphinx.ext.viewcode',
'sphinx.ext.extlinks',
'numpydoc',
'sphinx.ext.autosummary'
'sphinx.ext.autosummary',
'IPython.sphinxext.ipython_directive',
'IPython.sphinxext.ipython_console_highlighting',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
11 changes: 0 additions & 11 deletions docs/sphinx/sphinxext/README.rst

This file was deleted.

27 changes: 0 additions & 27 deletions docs/sphinx/sphinxext/ipython_console_highlighting.py

This file was deleted.

Loading