clearer names for actions, and infer actions better
[monitor.git] / docs / DocBookLocal.py
1 #!/usr/bin/env python
2
3 # PATHS to be set by the build system
4 # this is in ..
5 from monitor_xmlrpc import MonitorXmlrpcServer as docobject
6 # in PLCAPI/doc
7 from DocBook import DocBook
8
9 def api_methods():
10     api_function_list = []
11     for func in dir(docobject):
12         try:
13             f = getattr(docobject,func)
14             if 'group' in f.__dict__.keys():
15                     api_function_list += [getattr(docobject,func)]
16         except:
17             pass
18     return api_function_list
19
20 DocBook(api_methods ()).Process()