Fri, 25 Jan 2013 18:13:50 +0100
Changed the eric API documentation start page to the qthelp variant.
Documentation/Help/source.qch | file | annotate | diff | comparison | revisions | |
UI/UserInterface.py | file | annotate | diff | comparison | revisions |
--- a/UI/UserInterface.py Fri Jan 25 18:04:03 2013 +0100 +++ b/UI/UserInterface.py Fri Jan 25 18:13:50 2013 +0100 @@ -4517,11 +4517,13 @@ """ Private slot to show the Eric documentation. """ - home = Utilities.normjoinpath(getConfig('ericDocDir'), - "Source", "index.html") +## home = Utilities.normjoinpath(getConfig('ericDocDir'), +## "Source", "index.html") + home = "qthelp://org.eric5.ide/eric5/index.html" if not home.startswith("http://") and \ - not home.startswith("https://"): + not home.startswith("https://") and \ + not home.startswith("qthelp://"): if not os.path.exists(home): E5MessageBox.warning(self, self.trUtf8("Documentation Missing"), @@ -4529,11 +4531,11 @@ """ "<b>{0}</b>" could not be found.</p>""")\ .format(home)) return - - if Utilities.isWindowsPlatform(): - home = "file:///" + Utilities.fromNativeSeparators(home) - else: - home = "file://" + home + + if Utilities.isWindowsPlatform(): + home = "file:///" + Utilities.fromNativeSeparators(home) + else: + home = "file://" + home hvType = Preferences.getHelp("HelpViewerType") if hvType == 1: