Skip to content

Commit

Permalink
Simplify doc environment on ReadTheDocs (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion committed Jan 12, 2019
1 parent e6aa409 commit 544797c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
6 changes: 0 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,6 @@
except ImportError:
pass

# If we are on a proper oggm install, we should be able to import all modules
import oggm # noqa: E402
import oggm.utils # noqa: E402
import oggm.tasks # noqa: E402
print("oggm: %s, %s" % (oggm.__version__, oggm.__file__))

# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down
9 changes: 1 addition & 8 deletions docs/environment.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
name: oggmedudocs
name: edudocs
channels:
- oggm
- conda-forge
dependencies:
- python=3.6
- oggm-deps
- numpy>=1.15.1
- rasterio>=1.0
- numpydoc
- ipython
- sphinx
- pip:
- git+https://github.com/fmaussion/salem.git
- git+https://github.com/OGGM/oggm.git

0 comments on commit 544797c

Please sign in to comment.