Salome HOME
Restore documentation of methods dynamically added by plug-ins to the Mesh class...
authorvsr <vsr@opencascade.com>
Fri, 5 Apr 2013 09:24:23 +0000 (09:24 +0000)
committervsr <vsr@opencascade.com>
Fri, 5 Apr 2013 09:24:23 +0000 (09:24 +0000)
doc/salome/gui/SMESH/Makefile.am
doc/salome/gui/SMESH/collect_mesh_methods.py

index 463b91e..32df836 100755 (executable)
@@ -36,7 +36,7 @@ DOC_LD_LIBRARY_PATH=$(prefix)lib/salome:${MED_ROOT_DIR}/lib/salome:${GEOM_ROOT_D
 DOC_SMESH_MeshersList=StdMeshers
 
 tmp/smeshBuilder.py: $(top_srcdir)/src/SMESH_SWIG/StdMeshersBuilder.py $(srcdir)/collect_mesh_methods.py
-       mkdir -p tmp && PYTHONPATH=$(DOC_PYTHONPATH):${PYTHONPATH} LD_LIBRARY_PATH=$(DOC_LD_LIBRARY_PATH):${LD_LIBRARY_PATH} SMESH_MeshersList=$(DOC_SMESH_MeshersList) $(PYTHON) $(srcdir)/collect_mesh_methods.py -o $@ StdMeshers
+       @mkdir -p tmp && PYTHONPATH=$(DOC_PYTHONPATH):${PYTHONPATH} LD_LIBRARY_PATH=$(DOC_LD_LIBRARY_PATH):${LD_LIBRARY_PATH} SMESH_MeshersList=$(DOC_SMESH_MeshersList) $(PYTHON) $(srcdir)/collect_mesh_methods.py -o $@ StdMeshers
 
 usr_docs: doxyfile_py doxyfile tmp/smeshBuilder.py
        @$(DOXYGEN) doxyfile_py ;                                               \
index ab26414..8f524bc 100755 (executable)
@@ -51,7 +51,11 @@ import sys
 def main(plugin_name, dummymeshhelp = True, output_file = "smeshBuilder.py"):
     plugin_module_name  = plugin_name + "Builder"
     plugin_module       = "salome.%s.%s" % (plugin_name, plugin_module_name)
-    plugin_module_short = "SMESH_SWIG.%s" % (plugin_module_name)
+    if dummymeshhelp:
+        namespace = plugin_name
+    else:
+        namespace = "SMESH_SWIG"
+    plugin_module_short = "%s.%s" % (namespace, plugin_module_name)
     try:
         exec( "from salome.smesh.smeshBuilder import *")
         exec( "import %s" % plugin_module )