Enable autosummary ext

This commit is contained in:
Dan 2018-01-25 13:47:05 +01:00
parent a0e7a19805
commit ec7bf5d614
2 changed files with 38 additions and 1 deletions

View File

@ -36,7 +36,8 @@ sys.path.insert(0, os.path.abspath('../..'))
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.napoleon'
'sphinx.ext.napoleon',
'sphinx.ext.autosummary'
]
# Don't show source files on docs

View File

@ -1,5 +1,41 @@
Client
======
.. currentmodule:::: pyrogram.Client
.. autoclass:: pyrogram.Client
:members:
**Available methods**
.. autosummary::
:nosignatures:
start
stop
idle
set_update_handler
send
get_me
send_message
forward_messages
send_photo
send_audio
send_document
send_video
send_voice
send_video_note
send_location
send_venue
send_contact
send_chat_action
get_user_profile_photos
edit_message_text
edit_message_caption
delete_messages
join_chat
leave_chat
export_chat_invite_link
enable_cloud_password
change_cloud_password
remove_cloud_password