Skip to content
Permalink
Browse files

[processing] add method for generating help for single algorithm

  • Loading branch information
alexbruy committed Feb 25, 2015
1 parent e0e77c6 commit 42a8d8eced6cd7fad89e40f3be33bb4273820066
Showing with 7 additions and 2 deletions.
  1. +7 −2 python/plugins/processing/tools/help.py
@@ -31,7 +31,7 @@
from processing.tools.system import mkdir


def createBaseHelpFile(alg, folder):
def baseHelpForAlgorithm(alg, folder):
baseDir = os.path.join(folder, alg.provider.getName().lower())
mkdir(baseDir)

@@ -109,4 +109,9 @@ def createBaseHelpFiles(folder):
continue

for alg in provider.algs:
createBaseHelpFile(alg, folder)
baseHelpForAlgorithm(alg, folder)


def createAlgorithmHelp(algName, folder):
alg = Processing.getAlgorithm(algName)
baseHelpForAlgorithm(alg, folder)

0 comments on commit 42a8d8e

Please sign in to comment.
You can’t perform that action at this time.