mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-27 00:07:16 -05:00
[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.
This commit is contained in:
parent
0773e549f2
commit
d859399ce5
@ -25,6 +25,9 @@ __copyright__ = '(C) 2012, Victor Olaya'
|
|||||||
|
|
||||||
__revision__ = '$Format:%H$'
|
__revision__ = '$Format:%H$'
|
||||||
|
|
||||||
|
from builtins import str
|
||||||
|
from builtins import object
|
||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
import traceback
|
import traceback
|
||||||
import subprocess
|
import subprocess
|
||||||
@ -39,9 +42,8 @@ from qgis.core import (QgsProcessingFeedback,
|
|||||||
QgsProcessingUtils,
|
QgsProcessingUtils,
|
||||||
QgsProcessingParameterDefinition,
|
QgsProcessingParameterDefinition,
|
||||||
QgsMessageLog)
|
QgsMessageLog)
|
||||||
|
from qgis.gui import QgsHelp
|
||||||
|
|
||||||
from builtins import str
|
|
||||||
from builtins import object
|
|
||||||
from processing.core.ProcessingConfig import ProcessingConfig
|
from processing.core.ProcessingConfig import ProcessingConfig
|
||||||
from processing.core.GeoAlgorithmExecutionException import GeoAlgorithmExecutionException
|
from processing.core.GeoAlgorithmExecutionException import GeoAlgorithmExecutionException
|
||||||
from processing.core.parameters import ParameterRaster, ParameterVector, ParameterMultipleInput, ParameterTable, Parameter
|
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)
|
#raise GeoAlgorithmExecutionException(str(e) + self.tr('\nSee log for more details'), lines, e)
|
||||||
|
|
||||||
def helpUrl(self):
|
def helpUrl(self):
|
||||||
return None
|
return QgsHelp.helpUrl("processing_algs/{}/{}".format(
|
||||||
|
self.provider().id(), self.id())).toString()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user