Nobody told me using RTD would be this hard

This commit is contained in:
Adiv Paradise committed 2020-12-08 14:00:49 -05:00
1 parent eeeba0a32d
commit 7d06aa2c32
4 files changed
+17 -8

No files matched your search

+5 -5
View File
@@ -12,12 +12,12 @@
#
import os
import sys
sys.path.insert(0, os.path.abspath('../..'))
sys.path.insert(0, os.path.abspath('../exoplasim'))
import mock, sys
MOCK_MODULES = ['exoplasim','exoplasim.gcmt','netCDF4','numpy']
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()
#import mock, sys
#MOCK_MODULES = ['exoplasim','exoplasim.gcmt','netCDF4','numpy']
#for mod_name in MOCK_MODULES:
#sys.modules[mod_name] = mock.Mock()
# -- Project information -----------------------------------------------------
project = 'ExoPlaSim'
+1 -1
View File
@@ -1,4 +1,4 @@
# docs/requirements.txt
sphinx==3.3.1
sphinx_rtd_theme==0.5.0
-e .
-e ..
+9
View File
@@ -11,6 +11,15 @@ exoplasim.gcmt module
:members:
:undoc-members:
:show-inheritance:
exoplasim.randomcontinents module
---------------------
.. automodule:: exoplasim.randomcontinents
:members:
:undoc-members:
:show-inheritance:
Module contents
---------------
+2 -2
View File
@@ -2732,8 +2732,8 @@ class Earthlike(Model):
timestep, snapshot output reporting every 480 timesteps, and
a model top pinned to 50 mbar. All these defaults can be overridden.
"""
def configure(self,timestep=45.0,snapshots=480,**kwargs):
super(Earthlike,self).configure(vtype=4,modeltop=50.0,timestep=timestep,
def configure(self,timestep=45.0,snapshots=480,vtype=4,modeltop=50.0,**kwargs):
super(Earthlike,self).configure(vtype=vtype,modeltop=modeltop,timestep=timestep,
snapshots=snapshots,**kwargs)
class TLmodel(Model):