Changeset 67cd7c0 in sasview


Ignore:
Timestamp:
Oct 24, 2011 2:48:15 PM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
c0d873f
Parents:
bce8148
Message:

add invariant docs

Location:
sansinvariant/docs/sphinx
Files:
39 added
5 edited

Legend:

Unmodified
Added
Removed
  • sansinvariant/docs/sphinx/api/index.rst

    rad4053a r67cd7c0  
    1515 
    1616   invariant.rst 
     17   invariant_mapper.rst 
  • sansinvariant/docs/sphinx/api/invariant.rst

    rad4053a r67cd7c0  
    1313   :inherited-members: 
    1414   :show-inheritance: 
     15   :special-members: 
     16   :private-members: 
    1517 
  • sansinvariant/docs/sphinx/api/invariant_mapper.rst

    r5f696f8 r67cd7c0  
    1313   :inherited-members: 
    1414   :show-inheritance: 
     15   :special-members: 
     16   :private-members: 
    1517 
  • sansinvariant/docs/sphinx/conf.py

    rad4053a r67cd7c0  
    1717# add these directories to sys.path here. If the directory is relative to the 
    1818# documentation root, use os.path.abspath to make it absolute, like shown here. 
    19 sys.path.append(os.path.abspath(os.path.dirname('../../invariant'))) 
     19sys.path.append(os.path.abspath(os.path.dirname(os.path.join('..', 
     20                                                             '..', 'src')))) 
    2021sys.path.append(os.path.abspath('_extensions')) 
    2122# -- General configuration ----------------------------------------------------- 
  • sansinvariant/docs/sphinx/genmods.py

    rad4053a r67cd7c0  
    1616   :inherited-members: 
    1717   :show-inheritance: 
     18   :special-members: 
     19   :private-members: 
    1820 
    1921""" 
     
    5254 
    5355 
    54 modules=[ 
    55     ('invariant', 'invariant'), 
    56 ] 
     56modules = [] 
     57path = os.path.dirname(os.path.join('..', '..', 'sansinvariant')) 
     58path = os.path.join(path, 'src', 'sans','invariant') 
     59list = os.listdir(path) 
     60for item in list: 
     61    if os.path.isfile(os.path.join(path, item)): 
     62        toks = os.path.splitext(os.path.basename(item)) 
     63        if toks[1]=='.py' and toks[0] not in ["__init__", "setup"]: 
     64            exec "module = ('%s', '%s')"%(toks[0], toks[0]) 
     65            modules.append(module) 
    5766package="sans.invariant" 
    5867package_name='Reference' 
Note: See TracChangeset for help on using the changeset viewer.