Skip to content

Commit d8da6bb

Browse files
author
Carlton Gibson
authored
Update coreapi JS to 0.1.1 (#5479)
Ref #5059
1 parent 161dc2d commit d8da6bb

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

docs/topics/api-clients.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -392,11 +392,11 @@ Once the API documentation URLs are installed, you'll be able to include both th
392392
<!--
393393
Load the CoreAPI library and the API schema.
394394

395-
/static/rest_framework/js/coreapi-0.1.0.js
395+
/static/rest_framework/js/coreapi-0.1.1.js
396396
/docs/schema.js
397397
-->
398398
{% load staticfiles %}
399-
<script src="{% static 'rest_framework/js/coreapi-0.1.0.js' %}"></script>
399+
<script src="{% static 'rest_framework/js/coreapi-0.1.1.js' %}"></script>
400400
<script src="{% url 'api-docs:schema-js' %}"></script>
401401

402402
The `coreapi` library, and the `schema` object will now both be available on the `window` instance.

rest_framework/static/rest_framework/js/coreapi-0.1.0.js renamed to rest_framework/static/rest_framework/js/coreapi-0.1.1.js

+5-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rest_framework/templates/rest_framework/docs/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<link href="{% static 'rest_framework/docs/img/favicon.ico' %}" rel="shortcut icon">
1818

1919
{% if code_style %}<style>{{ code_style }}</style>{% endif %}
20-
<script src="{% static 'rest_framework/js/coreapi-0.1.0.js' %}"></script>
20+
<script src="{% static 'rest_framework/js/coreapi-0.1.1.js' %}"></script>
2121
<script src="{% url 'api-docs:schema-js' %}"></script>
2222

2323
</head>
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% load rest_framework %}
22
{% load staticfiles %}
33
<pre class="highlight javascript hide" data-language="javascript"><code>{% code html %}<!-- Load the JavaScript client library -->
4-
<script src="{% static 'rest_framework/js/coreapi-0.1.0.js' %}"></script>
4+
<script src="{% static 'rest_framework/js/coreapi-0.1.1.js' %}"></script>
55
<script src="{% url 'api-docs:schema-js' %}"></script>{% endcode %}</code></pre>
66

0 commit comments

Comments
 (0)