X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5ed37babb2fa9097abe82df299c0aa259ed84d5a..3bc13df867552bbd935afcd07b7e3d1494c4de4f:/docs/find-missing.py diff --git a/docs/find-missing.py b/docs/find-missing.py index 57344b173d..d9d3849992 100755 --- a/docs/find-missing.py +++ b/docs/find-missing.py @@ -48,7 +48,6 @@ xml_files = [ 'build/xml/host_8h.xml', 'build/xml/link_8h.xml', 'build/xml/mailbox_8h.xml', - 'build/xml/msg_8h.xml', 'build/xml/mutex_8h.xml', 'build/xml/semaphore_8h.xml', 'build/xml/vm_8h.xml', @@ -101,8 +100,11 @@ def handle_python_module(fullname, englobing, elm): continue # print("Recurse on {}.{}".format(fullname, name)) handle_python_module("{}.{}".format(fullname, name), elm, data) + elif inspect.isclass(type(elm)): + found_decl("enumvalue", fullname) + print('.. autoenumvalue:: {}'.format(fullname)) else: - print('UNHANDLED TYPE {} : {!r} Type: {}'.format(fullname, elm, type(elm))) + print('UNHANDLED TYPE {} : {!r} Type: {} Englobing: {} str: {} Members: \n{}\n'.format(fullname, elm, type(elm), englobing, str(elm), inspect.getmembers(elm))) # Start the recursion on the provided Python modules for name in python_modules: