mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
Add a theme.js file to enable highlighing
This commit is contained in:
parent
9883862576
commit
dbc5c066c2
|
@ -169,6 +169,7 @@
|
|||
<script src="{{ base_url }}/js/jquery-1.8.1-min.js"></script>
|
||||
<script src="{{ base_url }}/js/prettify-1.0.js"></script>
|
||||
<script src="{{ base_url }}/js/bootstrap-2.1.1-min.js"></script>
|
||||
<script src="{{ base_url }}/js/theme.js"></script>
|
||||
|
||||
<script>
|
||||
//$('.side-nav').scrollspy()
|
||||
|
|
5
docs_theme/js/theme.js
Normal file
5
docs_theme/js/theme.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
$(function(){
|
||||
|
||||
$('pre code').parent().addClass('prettyprint well');
|
||||
|
||||
});
|
Loading…
Reference in New Issue
Block a user