Changeset 4793 for trunk


Ignore:
Timestamp:
Feb 3, 2021 10:32:14 AM (2 years ago)
Author:
toby
Message:

work on docs

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4790 r4793  
    132132    from scipy.ndimage.interpolation import map_coordinates
    133133except (ImportError, ValueError):
    134     pass
     134    # avoid "duplicate base class _MockObject" error in class G2LstCtrl():
     135    # where listmix.ListCtrlAutoWidthMixin, listmix.ColumnSorterMixin are same
     136    # in docs build
     137    class Placeholder(object):
     138        def __init__(self):
     139            self.Dialog = object
     140    class Placeholder1(object): pass
     141    listmix = Placeholder()
     142    listmix.ListCtrlAutoWidthMixin = Placeholder()
     143    listmix.ColumnSorterMixin = Placeholder1()
    135144import GSASIIpath
    136145Clip_on = GSASIIpath.GetConfigValue('Clip_on',True)
  • trunk/docs/source/index.rst

    r4791 r4793  
    1616and pages referenced there.
    1717
    18 Contents
    19 ---------
    2018
    2119.. toctree::
     
    4341    G2tools.rst
    4442    indices.rst
     43
     44
     45---------
Note: See TracChangeset for help on using the changeset viewer.