Commit 24be1f26 authored by Rashad Kanavath's avatar Rashad Kanavath

WIP: help url points to latest app doc on OTBCookBook

parent c745969b
......@@ -110,18 +110,9 @@ class OTBAlgorithm(QgsProcessingAlgorithm):
def initAlgorithm(self, config=None):
pass
#TODO:
def help(self):
#version = OTBUtils.getInstalledVersion()
# folder = OTBUtils.compatibleDescriptionPath(version)
# if folder is None:
# return False, None
# folder = os.path.join(folder, 'doc')
# helpfile = os.path.join(str(folder), self.appkey + ".html")
# if os.path.exists(helpfile):
# return False, helpfile
# else:
return False, None
#TODO: show version which is same as OTBAlgorithm rather than always latest.
def helpUrl(self):
return "https://www.orfeo-toolbox.org/CookBook/Applications/app_" + self.name() + ".html"
def defineCharacteristicsFromFile(self):
line = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment