diff --git a/docs/source/user/connecting.rst b/docs/source/user/connecting.rst index 1482c379..b86433fb 100644 --- a/docs/source/user/connecting.rst +++ b/docs/source/user/connecting.rst @@ -1,4 +1,4 @@ -.. _`connecting`: +.. _connecting: Connecting to your site ======================= @@ -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 ------------------- @@ -70,6 +70,8 @@ To print them to stdout: Errors are thrown as exceptions. All exceptions inherit :class:`mwclient.errors.MwClientError`. +.. _auth: + Authenticating -------------- @@ -98,7 +100,8 @@ 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-login: Old-school login ^^^^^^^^^^^^^^^^ @@ -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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -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 ^^^^^^^^^^^ diff --git a/docs/source/user/files.rst b/docs/source/user/files.rst index 1598304b..5c248240 100644 --- a/docs/source/user/files.rst +++ b/docs/source/user/files.rst @@ -1,4 +1,4 @@ -.. _`files`: +.. _files: Working with files ================== diff --git a/docs/source/user/implementation-notes.rst b/docs/source/user/implementation-notes.rst index 06e5ed17..25b10477 100644 --- a/docs/source/user/implementation-notes.rst +++ b/docs/source/user/implementation-notes.rst @@ -1,4 +1,4 @@ -.. _`implementation-notes`: +.. _implementation-notes: Implementation notes ==================== diff --git a/docs/source/user/page-ops.rst b/docs/source/user/page-ops.rst index 307a7448..d1780352 100644 --- a/docs/source/user/page-ops.rst +++ b/docs/source/user/page-ops.rst @@ -1,4 +1,4 @@ -.. _`page-ops`: +.. _page-ops: Page operations ===============