Skip to content

Commit efb9e78

Browse files
committed
feat: remove old src tags and add new
1 parent 511b751 commit efb9e78

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docs_theme/main.html

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
<meta name="author" content="Tom Christie">
1313

1414
<!-- Le styles -->
15-
<link href="{{ 'css/prettify.css'|url }}" rel="stylesheet">
15+
<!-- <link href="{{ 'css/prettify.css'|url }}" rel="stylesheet">
1616
<link href="{{ 'css/bootstrap.css'|url }}" rel="stylesheet">
1717
<link href="{{ 'css/bootstrap-responsive.css'|url }}" rel="stylesheet">
18-
<link href="{{ 'css/default.css'|url }}" rel="stylesheet">
18+
<link href="{{ 'css/default.css'|url }}" rel="stylesheet"> -->
19+
20+
<link rel="stylesheet" href="{{ 'css/bootstrap5.css'|url }}">
1921

2022

2123
<script type="text/javascript">
@@ -134,13 +136,16 @@ <h3 id="myModalLabel">Documentation search</h3>
134136
<!-- Le javascript
135137
================================================== -->
136138
<!-- Placed at the end of the document so the pages load faster -->
137-
<script async src="https://fund.django-rest-framework.org/sidebar_include.js"></script>
139+
<!-- <script async src="https://fund.django-rest-framework.org/sidebar_include.js"></script>
138140
<script src="{{ 'js/jquery-1.8.1-min.js'|url }}"></script>
139141
<script src="{{ 'js/prettify-1.0.js'|url }}"></script>
140142
<script src="{{ 'js/bootstrap-2.1.1-min.js'|url }}"></script>
141-
<script src="{{ 'js/theme.js'|url }}"></script>
143+
<script src="{{ 'js/theme.js'|url }}"></script> -->
142144

143145
<script>var base_url = '{{ base_url }}';</script>
146+
147+
<script src="{{ 'js/bootstrap5.bundle.js'|url }}"></script>
148+
144149
{% for path in config.extra_javascript %}
145150
<script src="{{ path|url }}" defer></script>
146151
{% endfor %}

0 commit comments

Comments
 (0)