aboutsummaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorIan Cordasco <graffatcolmingov@gmail.com>2013-05-14 12:57:33 -0400
committerIan Cordasco <graffatcolmingov@gmail.com>2013-05-14 12:57:33 -0400
commit55244c208aa6d580aa7b3db5d6abae5ee62923b5 (patch)
tree56ccf57f6b7e325b158528f994552e8c95b98a02 /README.rst
parented06fdd46914d64b0e8ed3f62dea922ed2e2acc5 (diff)
downloaduritemplates-55244c208aa6d580aa7b3db5d6abae5ee62923b5.tar.gz
Fix link to LICENSE
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 42c41d5..8dea14d 100644
--- a/README.rst
+++ b/README.rst
@@ -3,7 +3,9 @@ uritemplate
Documentation_ -- GitHub_ -- BitBucket_
-Simple python library to deal with `URI Templates`_. The API looks like::
+Simple python library to deal with `URI Templates`_. The API looks like
+
+.. code-block:: python
from uritemplate import URITemplate, expand
@@ -19,7 +21,9 @@ Simple python library to deal with `URI Templates`_. The API looks like::
t.expand({'gist_id': 123456})
print(expand(gist_uri, {'gist_id': 123456}))
-Where it might be useful to have a class::
+Where it might be useful to have a class
+
+.. code-block:: python
import requests
@@ -47,4 +51,4 @@ Modified BSD license_
.. _GitHub: https://github.com/sigmavirus24/uritemplate
.. _BitBucket: https://bitbucket.org/icordasc/uritemplate
.. _URI Templates: http://tools.ietf.org/html/rfc6570
-.. _license: ./LICENSE
+.. _license: https://github.com/sigmavirus24/uritemplate/blob/master/LICENSE