Fix internal references in docs/as-module

Further, document all attributes that are referred to, and ensure that there
will be no broken references again by letting Travis call Sphinx with -W -n.
This commit is contained in:
Alexander Graf
2018-05-14 10:10:36 +02:00
parent be43ebb5c5
commit d19dd2c9d4
5 changed files with 31 additions and 10 deletions

View File

@@ -73,7 +73,7 @@ metadata of a Profile. :class:`Profile` instances can be created with:
profile = Profile.from_username(L.context, USERNAME)
- :meth:`Profile_from_userid`
- :meth:`Profile.from_id`
given its User ID. This allows to easily lookup a Profile's username given
its ID::
@@ -116,15 +116,12 @@ Additionally, the following trivial structures are defined:
.. autoclass:: PostSidecarNode
:no-show-inheritance:
:no-members:
.. autoclass:: PostComment
:no-show-inheritance:
:no-members:
.. autoclass:: PostLocation
:no-show-inheritance:
:no-members:
User Stories
""""""""""""
@@ -154,9 +151,15 @@ to/from JSON files.
Exceptions
^^^^^^^^^^
.. currentmodule:: instaloader.exceptions
.. autoexception:: InstaloaderException
:no-show-inheritance:
.. autoexception:: ConnectionException
.. currentmodule:: instaloader
.. autoexception:: QueryReturnedBadRequestException
.. autoexception:: QueryReturnedNotFoundException
@@ -177,8 +180,6 @@ Exceptions
.. autoexception:: BadCredentialsException
.. autoexception:: ConnectionException
.. autoexception:: TooManyRequestsException
``InstaloaderContext`` (Low-level functions)