Changes in / [1ee0772:573e7034] in sasview


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/guiframe/documentation_window.py

    r69032d4 r9afc543  
    99else: 
    1010    import wx.html as html 
     11from gui_manager import get_app_dir 
    1112 
    12     
     13PATH_APP = get_app_dir()  
     14 
    1315class DocumentationWindow(Frame): 
    1416    def __init__(self, parent, id, path, title, size=(850, 540)): 
     
    1921            docs_path = os.path.join(os.environ[SPHINX_DOC_ENV]) 
    2022        else: 
    21             docs_path = os.path.join(PATH_APP, "..", "..", "doc") 
     23            # For the installer, docs are in a top-level directory.  We're not 
     24            # bothering to worry about docs when running using the old 
     25            # (non - run.py) way. 
     26            docs_path = os.path.join(PATH_APP, "doc") 
    2227 
    23         if (not os.path.exists(docs_path)): 
    24             print "logging" 
     28        if not os.path.exists(docs_path): 
    2529            logging.error("Could not find Sphinx documentation at %s \ 
    2630            -- has it been built?", docs_path) 
Note: See TracChangeset for help on using the changeset viewer.