Skip to content

Commit

Permalink
Docs: Improve anchors in user/connecting.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
waldyrious committed Feb 3, 2020
1 parent 472ceb8 commit 9079e64
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/source/user/connecting.rst
@@ -1,4 +1,4 @@
.. _`connecting`:
.. _connecting:

Connecting to your site
=======================
Expand Down Expand Up @@ -53,7 +53,7 @@ Note that MwClient appends its own user agent to the end of your string.

.. _Wikimedia User-Agent policy: https://meta.wikimedia.org/wiki/User-Agent_policy

.. _auth:
.. _errors:

Errors and warnings
-------------------
Expand All @@ -70,6 +70,8 @@ To print them to stdout:
Errors are thrown as exceptions. All exceptions inherit
:class:`mwclient.errors.MwClientError`.

.. _auth:

Authenticating
--------------

Expand Down Expand Up @@ -98,6 +100,7 @@ called *consumer key*), the *consumer secret*, the *access token* and the


.. _owner-only consumer: https://www.mediawiki.org/wiki/OAuth/Owner-only_consumers

.. _old_login:

Old-school login
Expand Down Expand Up @@ -126,6 +129,8 @@ based on the :class:`requests.auth.AuthBase`, such as Digest authentication:
>>> from requests.auth import HTTPDigestAuth
>>> site = Site('awesome.site', httpauth=HTTPDigestAuth('my_username', 'my_password'))

.. _ssl-auth:

SSL client certificate authentication
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand All @@ -142,6 +147,8 @@ Please note that the private key must not be encrypted.

.. _cert: http://docs.python-requests.org/en/master/user/advanced/#ssl-cert-verification

.. _logout:

Logging out
^^^^^^^^^^^

Expand Down

0 comments on commit 9079e64

Please sign in to comment.