]> SALOME platform Git repositories - modules/smesh.git/commitdiff
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 463b91e2ffeeeb2fbe1d1766c3ee7f7000a60271..32df83656c0f7211182a0c021866d3fe42e66c43 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 ab26414c8e3a35e02c69e57b0dcad8f64639f69c..8f524bc2defe200d4e7d2a9f237816befe330e7c 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 )