From 1fab48703015c4613d62be0712307104bdd94780 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Sat, 8 Sep 2012 20:24:07 +0100 Subject: [PATCH] Code highlighting --- api-guide/authentication.html | 12 +-- api-guide/contentnegotiation.html | 4 +- api-guide/exceptions.html | 4 +- api-guide/parsers.html | 4 +- api-guide/permissions.html | 4 +- api-guide/renderers.html | 4 +- api-guide/requests.html | 4 +- api-guide/responses.html | 4 +- api-guide/reverse.html | 6 +- api-guide/serializers.html | 32 ++++---- api-guide/settings.html | 14 ++-- api-guide/status-codes.html | 16 ++-- api-guide/throttling.html | 4 +- api-guide/views.html | 4 +- css/drf-styles.css | 3 + css/prettify.css | 30 +++++++ index.html | 16 ++-- js/prettify.js | 28 +++++++ topics/contributing.html | 4 +- topics/credits.html | 81 ++++++++++--------- topics/csrf.html | 4 +- topics/formoverloading.html | 8 +- tutorial/1-serialization.html | 45 ++++++----- tutorial/2-requests-and-responses.html | 18 +++-- tutorial/3-class-based-views.html | 14 ++-- ...entication-permissions-and-throttling.html | 4 +- .../5-relationships-and-hyperlinked-apis.html | 4 +- tutorial/6-resource-orientated-projects.html | 10 ++- 28 files changed, 249 insertions(+), 136 deletions(-) create mode 100644 css/prettify.css create mode 100644 js/prettify.js diff --git a/api-guide/authentication.html b/api-guide/authentication.html index 863e4649c..8a7f36f8f 100644 --- a/api-guide/authentication.html +++ b/api-guide/authentication.html @@ -7,6 +7,7 @@ + @@ -15,7 +16,7 @@ - +