Changes in / [1ee0772:573e7034] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/guiframe/documentation_window.py
r69032d4 r9afc543 9 9 else: 10 10 import wx.html as html 11 from gui_manager import get_app_dir 11 12 12 13 PATH_APP = get_app_dir() 14 13 15 class DocumentationWindow(Frame): 14 16 def __init__(self, parent, id, path, title, size=(850, 540)): … … 19 21 docs_path = os.path.join(os.environ[SPHINX_DOC_ENV]) 20 22 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") 22 27 23 if (not os.path.exists(docs_path)): 24 print "logging" 28 if not os.path.exists(docs_path): 25 29 logging.error("Could not find Sphinx documentation at %s \ 26 30 -- has it been built?", docs_path)
Note: See TracChangeset
for help on using the changeset viewer.