Changeset 9afc543 in sasview for src/sas/guiframe
- Timestamp:
- Feb 18, 2015 8:12:03 AM (10 years ago)
- 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:
- 573e7034
- Parents:
- 25ab07c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/guiframe/documentation_window.py
ra4340d1 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='Help', 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.