Jelajahi Sumber

Configuring documentation for other modules besides github.py

David Leonard 10 tahun lalu
induk
melakukan
0d3dc1562e

+ 2 - 0
hackathon_starter/hackathon/scripts/twilioapi.py

@@ -7,5 +7,7 @@ auth_token  = "1ad0315f3cc7a154aaaef048f1304f71"
 client = TwilioRestClient(account_sid, auth_token)
  
 def sendSMS(body, to, sender):
+	'''Sends a message to a given number'''
+	
 	message = client.messages.create(body=body, to=to, from_=sender) 
 	return

+ 20 - 0
hackathon_starter/index.rst

@@ -16,6 +16,26 @@ Github
 .. automodule:: github
 	:members:
 
+Instagram
+=========
+.. automodule:: instagram
+	:members:
+
+Steam
+=====
+.. automodule:: steam
+	:members:
+
+Tumblr
+======
+.. automodule:: tumblr
+	:members:
+
+Twilio
+======
+.. automodule:: twilioapi
+	:members:
+
 
 Indices and tables
 ==================