From: vsv Date: Fri, 10 Aug 2018 14:03:38 +0000 (+0300) Subject: Take scripts based plug-ins into account for documents generation X-Git-Tag: SHAPER_V9_1_0RC1~80 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f343df4c305c220f112bba738ca3405ec3874464;p=modules%2Fshaper.git Take scripts based plug-ins into account for documents generation --- diff --git a/doc/gui/build_index.py b/doc/gui/build_index.py index 72967d200..343634f6a 100644 --- a/doc/gui/build_index.py +++ b/doc/gui/build_index.py @@ -40,6 +40,9 @@ aDomObj = parse(aConfigPath) aPluginsList = aDomObj.getElementsByTagName("plugin") for plugin in aPluginsList: aLibName = plugin.getAttribute("library") + if not aLibName: + aLibName = plugin.getAttribute("script") + if aLibName: aPluginDocDir = aSrcPath + os.sep + aLibName + os.sep + "doc" aDocDist = aBuildDir + os.sep + aLibName