mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-05 14:55:15 +02:00
More...
This commit is contained in:
parent
173375fec3
commit
70222278a1
1 changed files with 2 additions and 1 deletions
|
|
@ -322,6 +322,7 @@ def skip(app, what, name, obj, skip, options):
|
|||
def setup(app):
|
||||
app.connect("autodoc-skip-member", skip)
|
||||
|
||||
|
||||
#############################################################################
|
||||
#
|
||||
# Mock out imports with C dependencies because ReadTheDocs can't build them.
|
||||
|
|
@ -344,7 +345,7 @@ class Mock(object):
|
|||
return Mock()
|
||||
|
||||
MOCK_MODULES = ['matplotlib', 'matplotlib.pyplot',
|
||||
'numpy', 'numpy.linalg', 'pylab'
|
||||
'pylab'
|
||||
]
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = Mock()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue