Changeset 2802 for trunk/docs


Ignore:
Timestamp:
Apr 23, 2017 9:30:38 PM (5 years ago)
Author:
toby
Message:

updates for doc build

Location:
trunk/docs/source
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/docs/source/GSASIIscripts.rst

    r2027 r2802  
    1414    :members:
    1515
     16.. automodule:: makeBat
     17    :members:
     18
    1619.. automodule:: unit_tests
    1720    :members:
  • trunk/docs/source/conf.py

    r2764 r2802  
    3636        class colourselect(MagicMock): pass
    3737        class resizewidget(MagicMock): pass
    38 
    39 sys.modules.update({'wx':wx()})
    40 sys.modules.update({'wx.aui':wx.aui()})
    41 sys.modules.update({'wx.html':wx.html()})
    42 sys.modules.update({'wx.grid':wx.grid()})
    43 sys.modules.update({'wx.lib':wx.lib()})
    44 sys.modules.update({'wx.wizard':wx.grid()})
    45 sys.modules.update({'wx.glcanvas':wx.lib()})
    46 sys.modules.update({'wx.lib.scrolledpanel':wx.lib.scrolledpanel()})
    47 sys.modules.update({'wx.lib.gridmovers':wx.lib.gridmovers()})
    48 sys.modules.update({'wx.lib.colourselect':wx.lib.gridmovers()})
    49 sys.modules.update({'wx.lib.resizewidget':wx.lib.resizewidget()})
     38        class mixins(MagicMock):
     39            class listctrl(MagicMock):
     40                ListCtrlAutoWidthMixin = object
     41                TextEditMixin = object
     42
     43sys.modules.update({'wx':wx(),
     44    'wx.aui':wx.aui(),
     45    'wx.html':wx.html(),
     46        'wx.grid':wx.grid(),
     47        'wx.lib':wx.lib(),
     48        'wx.wizard':wx.grid(),
     49        'wx.glcanvas':wx.lib(),
     50        'wx.lib.scrolledpanel':wx.lib.scrolledpanel(),
     51        'wx.lib.gridmovers':wx.lib.gridmovers(),
     52        'wx.lib.colourselect':wx.lib.gridmovers(),
     53        'wx.lib.resizewidget':wx.lib.resizewidget(),
     54        'wx.lib.mixins':wx.lib.mixins(),
     55        'wx.lib.mixins.listctrl':wx.lib.mixins.listctrl()})
     56wx.aui.AUI_NB_TOP = 0
     57wx.aui.AUI_NB_SCROLL_BUTTONS = 0
    5058
    5159class numpy(MagicMock):
     
    6876sys.modules.update({'scipy.special':scipy.optimize()})
    6977sys.modules.update({'scipy.misc':scipy.optimize()})
     78sys.modules.update({'scipy.signal':scipy.optimize()})
     79sys.modules.update({'scipy.cluster':scipy.optimize()})
     80sys.modules.update({'scipy.cluster.vq':scipy.optimize()})
    7081
    7182class OpenGL(MagicMock):
     
    8495MOCK_MODULES = [
    8596                'pypowder', 'pyspg', 'pytexture', 'polymask', 'fellipse',
    86                 'matplotlib', 'matplotlib.backends', 'matplotlib.backends.backend_wx',
    87                 'matplotlib.backends.backend_wxagg','pylab',
     97                'matplotlib', 'matplotlib.backends', 'matplotlib.backends.backend_wx',
     98                'matplotlib.colors',
     99                'matplotlib.backends.backend_wxagg','pylab','matplotlib.collections',
    88100                'mpl_toolkits', 'mpl_toolkits.mplot3d', 'mpl_toolkits.mplot3d.axes3d',
     101                'winreg','unpack_cbf','h5py'
    89102                ]
    90103sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
  • trunk/docs/source/imports.rst

    r2087 r2802  
    223223    :synopsis: Reads phase information from a CIF
    224224
     225.. automodule:: G2phase_INS
     226    :members:
     227
     228
     229
    225230Powder Data Import Routines
    226231---------------------------------------------
     
    248253    :members:
    249254    :synopsis: Reads powder data from a CIF
     255
     256.. automodule:: G2pwd_BrukerRAW
     257    :members:
     258    :synopsis: Reads powder data from a Brucker .raw file
     259
     260.. automodule:: G2pwd_FP
     261    :members:
     262
     263.. automodule:: G2pwd_Panalytical
     264    :members:
     265
     266.. automodule:: G2pwd_csv
     267    :members:
     268
     269.. automodule:: G2pwd_rigaku
     270    :members:
     271
     272
    250273
    251274Single Crystal Data Import Routines
     
    315338.. automodule:: G2img_CheMin
    316339    :members:
     340
     341.. automodule:: G2img_CBF
     342    :members:
     343
     344.. automodule:: G2img_HDF5
     345    :members:
     346
     347PDF Import Routines
     348-----------------------------------------------------
     349PDF import routines are classes derived from
     350:class:`GSASIIIO.ImportPDFData`.
     351See :ref:`Writing a Import Routine<Import_Routines>` for general information on importers.
     352
     353The distributed routines are:
     354
     355.. automodule:: G2pdf_gr
     356    :members:
     357
     358Reflectometry Import Routines
     359-----------------------------------------------------
     360Reflectometry import routines are classes derived from
     361:class:`GSASIIIO.ImportReflectometryData`.
     362See :ref:`Writing a Import Routine<Import_Routines>` for general information on importers.
     363
     364The distributed routines are:
     365
     366.. automodule:: G2rfd_xye
     367    :members:
     368
     369
Note: See TracChangeset for help on using the changeset viewer.