diff options
| author | Tom Christie | 2012-09-08 20:23:32 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-09-08 20:23:32 +0100 |
| commit | 5d9dfcd8ae10db37f0cca043d3b9977e27197487 (patch) | |
| tree | 2ecb637c6a8a52cb8ff986b43cf482822bd388c5 /docs/template.html | |
| parent | 382b277dfc74f337d4d74ab100aec031041e42b7 (diff) | |
| download | django-rest-framework-5d9dfcd8ae10db37f0cca043d3b9977e27197487.tar.bz2 | |
Code highlighting in docs
Diffstat (limited to 'docs/template.html')
| -rw-r--r-- | docs/template.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/template.html b/docs/template.html index 42d030d3..a4b4d4b4 100644 --- a/docs/template.html +++ b/docs/template.html @@ -7,6 +7,7 @@ <meta name="author" content=""> <!-- Le styles --> + <link href="{{ base_url }}/css/prettify.css" rel="stylesheet"> <link href="{{ base_url }}/css/bootstrap.css" rel="stylesheet"> <link href="{{ base_url }}/css/bootstrap-responsive.css" rel="stylesheet"> <link href="{{ base_url }}/css/drf-styles.css" rel="stylesheet"> @@ -15,7 +16,7 @@ <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> - <body> + <body onload="prettyPrint()"> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar-inner"> @@ -102,6 +103,7 @@ ================================================== --> <!-- Placed at the end of the document so the pages load faster --> <script src="{{ base_url }}/js/jquery-1.8.1-min.js"></script> + <script src="{{ base_url }}/js/prettify.js"></script> <script src="{{ base_url }}/js/bootstrap-dropdown.js"></script> <script src="{{ base_url }}/js/bootstrap-scrollspy.js"></script> <script src="{{ base_url }}/js/bootstrap-collapse.js"></script> |
