Skip to content

Commit

Permalink
readthedocs does not like .. code-block:: with no empty line after
Browse files Browse the repository at this point in the history
  • Loading branch information
halcy committed Nov 25, 2016
1 parent d3cd460 commit 4a3e2d2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Returns a single toot dict for the given status.
.. automethod:: Mastodon.status_context

.. code-block:: python
mastodon.status_context(<numerical id>)
# Returns
{
Expand Down Expand Up @@ -115,7 +116,9 @@ their relationships.
.. automethod:: Mastodon.account_verify_credentials

These methods return an account dict:

.. code-block:: python
mastodon.account(<numerical id>)
# Returns
{
Expand Down Expand Up @@ -157,7 +160,9 @@ interact with already posted statuses.
.. automethod:: Mastodon.status_unfavourite
These methods return a toot dict:
.. code-block:: python
mastodon.toot("Hello from Python")
# Returns the following dictionary:
{
Expand All @@ -180,7 +185,9 @@ These methods return a toot dict:
.. automethod:: Mastodon.status_delete
Returns an empty dict:
.. code-block:: python
mastodon.delete_status(<numerical id>)
# Returns
{}
Expand All @@ -191,7 +198,9 @@ These functions allow you to interact with other accounts: To (un)follow and
(un)block.
They return a relationship dict:
.. code-block:: python
mastodon.account_follow(<numerical id>)
# Returns
{
Expand All @@ -215,7 +224,9 @@ to attach media to statuses.
.. automethod:: Mastodon.media_post
Returns a media dict:
.. code-block:: python
mastodon.media_post("image.jpg", "image/jpeg")
# Returns
{
Expand Down

0 comments on commit 4a3e2d2

Please sign in to comment.