Changes in src/sas/sasgui/guiframe/documentation_window.py [d7ee5866:959eb01] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/documentation_window.py
rd7ee5866 r959eb01 20 20 import urllib 21 21 import sys 22 23 logger = logging.getLogger(__name__) 22 24 23 25 SPHINX_DOC_ENV = "SASVIEW_DOC_PATH" … … 71 73 72 74 if not os.path.exists(file_path): 73 logg ing.error("Could not find Sphinx documentation at %s \75 logger.error("Could not find Sphinx documentation at %s \ 74 76 -- has it been built?", file_path) 75 #Commenting following 5 lines, so default browser is forced 76 #This is due to CDN mathjax discontinuation of service, intenal help 77 #browser should be back with qt version 78 #Note added by Wojtek Potrzebowski, July 4th 2017 79 # elif WX_SUPPORTS_HTML2: 80 # # Complete HTML/CSS support! 81 # self.view = html.WebView.New(self) 82 # self.view.LoadURL(url) 83 # self.Show() 77 elif WX_SUPPORTS_HTML2: 78 # Complete HTML/CSS support! 79 self.view = html.WebView.New(self) 80 self.view.LoadURL(url) 81 self.Show() 84 82 else: 85 logg ing.error("No html2 support, popping up a web browser")83 logger.error("No html2 support, popping up a web browser") 86 84 #For cases that do not build against current version dependency 87 85 # Wx 3.0 we provide a webbrowser call - this is particularly for
Note: See TracChangeset
for help on using the changeset viewer.