diff --git a/README.md b/README.md index 5db3d241..f9b26265 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,9 @@ or using [npm](https://docs.npmjs.com/getting-started/what-is-npm): npm install redoc --save -Alternatively you can just download [`redoc.min.js`](https://raw.githubusercontent.com/Rebilly/ReDoc/releases/dist/redoc.min.js). +Alternatively, you can **reference redoc directly** from CDN: +- latest release: https://rebilly.github.io/ReDoc/releases/latest/redoc.min.js +- particular release, e.g. v0.14.0: https://rebilly.github.io/ReDoc/releases/v0.14.0/redoc.min.js #### 2. Reference redoc script in HTML Then reference [`redoc.min.js`](https://raw.githubusercontent.com/Rebilly/ReDoc/releases/dist/redoc.min.js) in your HTML page: diff --git a/demo/index.html b/demo/index.html index 8f466a01..27b4769f 100644 --- a/demo/index.html +++ b/demo/index.html @@ -17,8 +17,8 @@ - + diff --git a/lib/components/JsonSchema/json-schema.html b/lib/components/JsonSchema/json-schema.html index f3512c8e..1d075bca 100644 --- a/lib/components/JsonSchema/json-schema.html +++ b/lib/components/JsonSchema/json-schema.html @@ -17,11 +17,11 @@ {{enumItem.val | json}} - +
-