mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 03:41:08 +00:00
First draft of generated documentation (issue #82)
1) ./generateDocstrings.py 2) cd doc 3) make html 4) open doc/build/html/index.html
This commit is contained in:
@@ -20,3 +20,8 @@ Indices and tables
|
||||
* :ref:`modindex`
|
||||
* :ref:`search`
|
||||
|
||||
.. automodule:: github.Github
|
||||
:members:
|
||||
|
||||
.. automodule:: github.Organization
|
||||
:members:
|
||||
|
||||
@@ -48,7 +48,8 @@ class Generator():
|
||||
elif memberName in classDescription.methods:
|
||||
return [
|
||||
"Please edit this generated docstring for method " + className + "." + memberName + ".",
|
||||
"Calls " + ( classDescription.methods[ memberName ].verb or "WTF" ) + " " + ( classDescription.methods[ memberName ].url or "WTF" )
|
||||
"Calls " + ( classDescription.methods[ memberName ].verb or "WTF" ) + " " + ( classDescription.methods[ memberName ].url or "WTF" ),
|
||||
"",
|
||||
] + [
|
||||
":param " + parameterName + ": " + parameterType for parameterName, parameterType in classDescription.methods[ memberName ].parameters.items()
|
||||
] + [
|
||||
|
||||
Reference in New Issue
Block a user