Fix a couple more malformed :meth: and :class: links
authorDavid Pursehouse <david.pursehouse@sonymobile.com>
Fri, 18 Jul 2014 06:03:29 +0000 (15:03 +0900)
committerDavid Pursehouse <david.pursehouse@sonymobile.com>
Fri, 18 Jul 2014 06:15:54 +0000 (15:15 +0900)
Change-Id: Ie38844a40ec7a483e6ce5e56077be344242bcd99

docs/user/authentication.rst
docs/user/quickstart.rst

index af43bd29dd7d11178d01c14f031cc29d06a6f313..dd0bf2b8193cd3f02c92285dcc3155f5b92a0c69 100644 (file)
@@ -99,7 +99,7 @@ If you can't find a good implementation of the form of authentication you
 want, you can implement it yourself. Requests makes it easy to add your own
 forms of authentication.
 
-To do so, subclass :class:`requests.auth.AuthBase` and implement the
+To do so, subclass :class:`AuthBase <requests.auth.AuthBase>` and implement the
 ``__call__()`` method::
 
     >>> import requests
index 6bd82f7da079239ec3e2afce2b8cb8f06ce55935..73439edc9065683956eca4df2b5b5c79e16af62f 100644 (file)
@@ -32,8 +32,8 @@ timeline ::
 
     >>> r = requests.get('https://github.com/timeline.json')
 
-Now, we have a :class:`Response` object called ``r``. We can get all the
-information we need from this object.
+Now, we have a :class:`Request <requests.Request>` object called ``r``. We can
+get all the information we need from this object.
 
 Requests' simple API means that all forms of HTTP request are as obvious. For
 example, this is how you make an HTTP POST request::
@@ -286,8 +286,9 @@ reference::
     >>> r.status_code == requests.codes.ok
     True
 
-If we made a bad request (a 4XX client error or 5XX server error response), we can raise it with
-:class:`Response.raise_for_status()`::
+If we made a bad request (a 4XX client error or 5XX server error response), we
+can raise it with
+:meth:`Response.raise_for_status() <requests.Response.raise_for_status>`::
 
     >>> bad_r = requests.get('http://httpbin.org/status/404')
     >>> bad_r.status_code