Skip to content
Permalink
Browse files

[processing] use QGIS user manual as help source for all algorithms by

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 d859399ce5855bf25c74616ef45675c96ed49e7c
Showing with 6 additions and 3 deletions.
  1. +6 −3 python/plugins/processing/core/GeoAlgorithm.py
@@ -25,6 +25,9 @@

__revision__ = '$Format:%H$'

from builtins import str
from builtins import object

import os.path
import traceback
import subprocess
@@ -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
@@ -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.
You can’t perform that action at this time.