Switchs docs to load from jsdelivr
This should hopefully fix the issue we were seeing where the docs would not render properly immediately after a release because CDNjs has a delay in updating versions. jsdelivr does not have this delay, so we shouldn't have any many rendering issues.
This commit is contained in:
parent
deda455aac
commit
016f628954
@ -7,7 +7,7 @@ process:
|
|||||||
never_cache_twig: true
|
never_cache_twig: true
|
||||||
---
|
---
|
||||||
|
|
||||||
{% do assets.addJs('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.11/js/i18n/es.js', 90) %}
|
{% do assets.addJs('https://cdn.jsdelivr.net/npm/select2@4.0.10/dist/js/i18n/es.js', 90) %}
|
||||||
|
|
||||||
## Message translations
|
## Message translations
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
{% do assets.addCss('theme://css/custom.css',100) %}
|
{% do assets.addCss('theme://css/custom.css',100) %}
|
||||||
{% do assets.addCss('theme://css/font-awesome.min.css',100) %}
|
{% do assets.addCss('theme://css/font-awesome.min.css',100) %}
|
||||||
{% do assets.addCss('theme://css/featherlight.min.css') %}
|
{% do assets.addCss('theme://css/featherlight.min.css') %}
|
||||||
{% do assets.addCss('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.11/css/select2.min.css') %}
|
{% do assets.addCss('https://cdn.jsdelivr.net/npm/select2@4.0.11/dist/css/select2.min.css') %}
|
||||||
{% do assets.addCss('theme://css/s2-docs.css', 100) %}
|
{% do assets.addCss('theme://css/s2-docs.css', 100) %}
|
||||||
{% do assets.addCss('theme://css/theme.css',100) %}
|
{% do assets.addCss('theme://css/theme.css',100) %}
|
||||||
|
|
||||||
@ -33,7 +33,7 @@
|
|||||||
{% block javascripts %}
|
{% block javascripts %}
|
||||||
{% do assets.addJs('jquery',101) %}
|
{% do assets.addJs('jquery',101) %}
|
||||||
{% do assets.addJs('theme://js/modernizr.custom.71422.js',100) %}
|
{% do assets.addJs('theme://js/modernizr.custom.71422.js',100) %}
|
||||||
{% do assets.addJs('https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.11/js/select2.full.min.js', 100) %}
|
{% do assets.addJs('https://cdn.jsdelivr.net/npm/select2@4.0.11/dist/js/select2.full.min.js', 100) %}
|
||||||
{% do assets.addJs('https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js', 100) %}
|
{% do assets.addJs('https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js', 100) %}
|
||||||
{% do assets.addJs('theme://js/featherlight.min.js') %}
|
{% do assets.addJs('theme://js/featherlight.min.js') %}
|
||||||
{% do assets.addJs('theme://js/clipboard.min.js') %}
|
{% do assets.addJs('theme://js/clipboard.min.js') %}
|
||||||
|
Loading…
Reference in New Issue
Block a user