Changeset 2029 for trunk/docs


Ignore:
Timestamp:
Oct 28, 2015 10:04:15 PM (6 years ago)
Author:
toby
Message:

try RTFD build again

Location:
trunk/docs
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/source/conf.py

    r2027 r2029  
    1212
    1313import sys, os
     14# dummy packages for misc imports not on readthedocs
     15from mock import Mock as MagicMock
     16
     17class Mock(MagicMock):
     18    @classmethod
     19    def __getattr__(cls, name):
     20            return Mock()
     21
     22MOCK_MODULES = ['wx', 'numpy', 'scipy', 'pypowder', 'pyspg', 'pytexture']
     23sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
    1424
    1525# If extensions (or modules to document with autodoc) are in another directory,
Note: See TracChangeset for help on using the changeset viewer.