mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
Restore documentation of methods dynamically added by plug-ins to the Mesh class, killed by previous integration
This commit is contained in:
parent
a64d2ab318
commit
2611ba88e3
@ -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 ; \
|
||||
|
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user