Changeset 2029 for trunk/docs
- Timestamp:
- Oct 28, 2015 10:04:15 PM (8 years ago)
- Location:
- trunk/docs
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/source/conf.py
r2027 r2029 12 12 13 13 import sys, os 14 # dummy packages for misc imports not on readthedocs 15 from mock import Mock as MagicMock 16 17 class Mock(MagicMock): 18 @classmethod 19 def __getattr__(cls, name): 20 return Mock() 21 22 MOCK_MODULES = ['wx', 'numpy', 'scipy', 'pypowder', 'pyspg', 'pytexture'] 23 sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) 14 24 15 25 # If extensions (or modules to document with autodoc) are in another directory,
Note: See TracChangeset
for help on using the changeset viewer.