mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
15 lines
370 B
Python
15 lines
370 B
Python
#!/bin/env python
|
|
|
|
import GithubObject
|
|
import GithubObjects
|
|
|
|
def generateDocumentation():
|
|
classes = [ getattr( GithubObjects, c ) for c in dir( GithubObjects ) if hasattr( getattr( GithubObjects, c ), "_autoDocument" ) ]
|
|
doc = ""
|
|
for c in classes:
|
|
doc += c._autoDocument()
|
|
return doc
|
|
|
|
if __name__ == "__main__":
|
|
print generateDocumentation()
|