Skip to content

Commit

Permalink
[processing] use QGIS user manual as help source for all algorithms by
Browse files Browse the repository at this point in the history
default.

NOTE: URL scheme should be adopted when documentation team decided how
manual will be scructured.
  • Loading branch information
alexbruy committed Jun 6, 2017
1 parent 0773e54 commit d859399
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions python/plugins/processing/core/GeoAlgorithm.py
Expand Up @@ -25,6 +25,9 @@

__revision__ = '$Format:%H$'

from builtins import str
from builtins import object

import os.path
import traceback
import subprocess
Expand All @@ -39,9 +42,8 @@
QgsProcessingUtils,
QgsProcessingParameterDefinition,
QgsMessageLog)
from qgis.gui import QgsHelp

from builtins import str
from builtins import object
from processing.core.ProcessingConfig import ProcessingConfig
from processing.core.GeoAlgorithmExecutionException import GeoAlgorithmExecutionException
from processing.core.parameters import ParameterRaster, ParameterVector, ParameterMultipleInput, ParameterTable, Parameter
Expand Down Expand Up @@ -392,4 +394,5 @@ def executeAlgorithm(alg, parameters, context=None, feedback=None, model=None):
#raise GeoAlgorithmExecutionException(str(e) + self.tr('\nSee log for more details'), lines, e)

def helpUrl(self):
return None
return QgsHelp.helpUrl("processing_algs/{}/{}".format(
self.provider().id(), self.id())).toString()

0 comments on commit d859399

Please sign in to comment.