Skip to content

Commit

Permalink
add module / class stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
halcy authored and halcy committed Nov 27, 2022
1 parent 10d48d7 commit bd3db97
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/01_general.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
General information
===================
.. py:module:: mastodon
.. py:class: Mastodon
Rate limiting
-------------
Expand Down
2 changes: 2 additions & 0 deletions docs/02_return_values.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Return values
=============
.. py:module:: mastodon
.. py:class: Mastodon
Unless otherwise specified, all data is returned as Python dictionaries, matching
the JSON format used by the API. Dates returned by the API are in ISO 8601 format
Expand Down
3 changes: 3 additions & 0 deletions docs/03_errors.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Error handling
==============
.. py:module:: mastodon
.. py:class: Mastodon
When Mastodon.py encounters an error, it will raise an exception, generally with
some text included to tell you what went wrong.

Expand Down
2 changes: 2 additions & 0 deletions docs/04_auth.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
App registration and user authentication
========================================
.. py:module:: mastodon
.. py:class: Mastodon
Before you can use the Mastodon API, you have to register your
application (which gets you a client key and client secret)
Expand Down

0 comments on commit bd3db97

Please sign in to comment.