Skip to content

Commit 99235cb

Browse files
yoshinorinAlex LEE
authored andcommitted
Delete Bootcss settings and docs (#439)
* Delete Bootcss settings and docs * It return 301 Moved Permanently * Add CDN example
1 parent e10e9fc commit 99235cb

File tree

3 files changed

+46
-18
lines changed

3 files changed

+46
-18
lines changed

_config.yml

Lines changed: 44 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,6 @@ math:
448448
#cdn: //cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
449449
# For direct link to MathJax.js with CloudFlare CDN (cdnjs.cloudflare.com).
450450
#cdn: //cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML
451-
# For automatic detect latest version link to MathJax.js and get from Bootcss.
452-
#cdn: //cdn.bootcss.com/mathjax/2.7.1/latest.js?config=TeX-AMS-MML_HTMLorMML
453451

454452
# hexo-renderer-markdown-it-plus (or hexo-renderer-markdown-it with markdown-it-katex plugin)
455453
# needed to full Katex support.
@@ -458,8 +456,6 @@ math:
458456
cdn: //cdn.jsdelivr.net/npm/katex@0.7.1/dist/katex.min.css
459457
# CDNJS, provided by cloudflare, maybe the best CDN, but not works in China
460458
#cdn: //cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css
461-
# Bootcss, works great in China, but not so well in other region
462-
#cdn: //cdn.bootcss.com/KaTeX/0.7.1/katex.min.css
463459

464460
# Han Support
465461
# Dependencies: https://github.com/theme-next/theme-next-han
@@ -859,56 +855,87 @@ vendors:
859855
_internal: lib
860856

861857
# Internal version: 2.1.3
858+
# Example:
859+
# jquery: //cdn.jsdelivr.net/npm/jquery@2.1.3/dist/jquery.min.js
860+
# jquery: //cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js
862861
jquery:
863862

864863
# Internal version: 2.1.5
865864
# See: http://fancyapps.com/fancybox/
865+
# Example:
866+
# fancybox: //cdn.jsdelivr.net/npm/fancybox@3.0.0/dist/js/jquery.fancybox.pack.js
867+
# fancybox_css: //cdn.jsdelivr.net/npm/fancybox@3.0.0/dist/css/jquery.fancybox.min.css
868+
# fancybox: //cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.js
869+
# fancybox_css: //cdnjs.cloudflare.com/ajax/libs/fancybox/3.2.5/jquery.fancybox.min.css
866870
fancybox:
867871
fancybox_css:
868872

869873
# Internal version: 1.0.6
870874
# See: https://github.com/ftlabs/fastclick
875+
# Example:
876+
# fastclick: //cdn.jsdelivr.net/npm/fastclick@1.0.6/lib/fastclick.min.js
871877
fastclick:
872878

873879
# Internal version: 1.9.7
874880
# See: https://github.com/tuupola/jquery_lazyload
881+
# lazyload: //cdn.jsdelivr.net/npm/jquery_lazyload@1.9.3/jquery.lazyload.min.js
875882
lazyload:
876883

877884
# Internal version: 1.2.1
878885
# See: http://VelocityJS.org
886+
# Example:
887+
# velocity: https://cdn.jsdelivr.net/npm/velocity-animate@1.2.1/velocity.min.js
888+
# velocity: https://cdnjs.cloudflare.com/ajax/libs/velocity/1.2.1/velocity.min.js
879889
velocity:
880890

881891
# Internal version: 1.2.1
882892
# See: http://VelocityJS.org
893+
# velocity_ui: //cdn.jsdelivr.net/npm/velocity-animate@1.2.1/velocity.ui.min.js
894+
# velocity_ui: //cdnjs.cloudflare.com/ajax/libs/velocity/1.2.1/velocity.ui.min.js
883895
velocity_ui:
884896

885897
# Internal version: 0.7.9
886898
# See: https://faisalman.github.io/ua-parser-js/
899+
# Example:
900+
# ua_parser: //cdn.jsdelivr.net/npm/ua-parser-js@0.7.17/src/ua-parser.min.js
901+
# ua_parser: //cdnjs.cloudflare.com/ajax/libs/UAParser.js/0.7.9/ua-parser.min.js
887902
ua_parser:
888903

889904
# Internal version: 4.6.2
890905
# See: http://fontawesome.io/
906+
# Example:
907+
# fontawesome: //cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css
908+
# fontawesome: //cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.2/css/font-awesome.min.css
891909
fontawesome:
892910

893911
# Internal version: 1
894912
# https://www.algolia.com
913+
# Example:
914+
# algolia_instant_js: //cdn.jsdelivr.net/npm/instantsearch.js@2.4.1/dist/instantsearch.js
915+
# algolia_instant_css: //cdn.jsdelivr.net/npm/instantsearch.js@2.4.1/dist/instantsearch.min.css
895916
algolia_instant_js:
896917
algolia_instant_css:
897918

898919
# Internal version: 1.0.2
899920
# See: https://github.com/HubSpot/pace
900-
# Or use direct links below:
901-
# pace: //cdn.bootcss.com/pace/1.0.2/pace.min.js
902-
# pace_css: //cdn.bootcss.com/pace/1.0.2/themes/blue/pace-theme-flash.min.css
921+
# Example:
922+
# pace: //cdn.jsdelivr.net/npm/pace-js@1.0.2/pace.min.js
923+
# pace: //cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.min.js
924+
# pace_css: //cdn.jsdelivr.net/npm/pace-js@1.0.2/themes/blue/pace-theme-minimal.css
925+
# pace_css: //cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/themes/blue/pace-theme-minimal.min.css
903926
pace:
904927
pace_css:
905928

906929
# Internal version: 1.0.0
907930
# https://github.com/hustcc/canvas-nest.js
931+
# Example:
932+
# canvas_nest: //cdn.jsdelivr.net/npm/canvas-nest.js@1.0.1/dist/canvas-nest.min.js
933+
# canvas_nest: //cdnjs.cloudflare.com/ajax/libs/canvas-nest.js/1.0.1/canvas-nest.min.js
908934
canvas_nest:
909935

910936
# Internal version: 1.0.0
911937
# See: https://github.com/theme-next/theme-next-three
938+
# Example:
912939
# three: //cdn.jsdelivr.net/gh/theme-next/theme-next-three@1.0.0/three.min.js
913940
# three_waves: //cdn.jsdelivr.net/gh/theme-next/theme-next-three@1.0.0/three-waves.min.js
914941
# canvas_lines: //cdn.jsdelivr.net/gh/theme-next/theme-next-three@1.0.0/canvas_lines.min.js
@@ -928,22 +955,31 @@ vendors:
928955

929956
# Internal version: 3.3.0
930957
# https://github.com/vinta/pangu.js
958+
# Example:
959+
# pangu: //cdn.jsdelivr.net/npm/pangu@3.3.0/dist/browser/pangu.min.js
960+
# pangu: //cdnjs.cloudflare.com/ajax/libs/pangu/3.3.0/pangu.min.js
931961
pangu:
932962

933963
# needMoreShare2
934964
# https://github.com/revir/need-more-share2
965+
# Example:
966+
# needmoreshare2_js: //cdn.jsdelivr.net/gh/theme-next/theme-next-needmoreshare2@1.0.0/needsharebutton.min.js
967+
# needmoreshare2_css: //cdn.jsdelivr.net/gh/theme-next/theme-next-needmoreshare2@1.0.0/needsharebutton.min.css
935968
needmoreshare2_js:
936969
needmoreshare2_css:
937970

938971
# bookmark
939972
# Internal version: 1.0.0
940973
# https://github.com/theme-next/theme-next-bookmark
974+
# Example:
975+
# bookmark: //cdn.jsdelivr.net/gh/theme-next/theme-next-bookmark@1.0.0/bookmark.min.js
941976
bookmark:
942977

943978
# reading_progress
944979
# Internal version: 1.0
945980
# https://github.com/theme-next/theme-next-reading-progress
946-
# Example: https://cdn.jsdelivr.net/gh/theme-next/theme-next-reading-progress@1.1/reading_progress.min.js
981+
# Example:
982+
# reading_progress: //cdn.jsdelivr.net/gh/theme-next/theme-next-reading-progress@1.1/reading_progress.min.js
947983
reading_progress:
948984

949985
# valine comment

docs/MATH.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,16 +211,12 @@ math:
211211
cdn: //cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
212212
# For direct link to MathJax.js with CloudFlare CDN (cdnjs.cloudflare.com).
213213
#cdn: //cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML
214-
# For automatic detect latest version link to MathJax.js and get from Bootcdn.
215-
#cdn: //cdn.bootcss.com/mathjax/2.7.1/latest.js?config=TeX-AMS-MML_HTMLorMML
216214
217215
# hexo-renderer-markdown-it-plus (or hexo-renderer-markdown-it with markdown-it-katex plugin)
218216
# needed to full Katex support.
219217
katex:
220218
# Use Katex 0.7.1 as default
221219
cdn: //cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css
222-
# For whose visitors are mostly in China
223-
#cdn: //cdn.bootcss.com/KaTeX/0.7.1/katex.min.css
224220
# If you want to try the latest version of Katex, use one below instead
225221
#cdn: //cdn.jsdelivr.net/katex/latest/katex.min.css
226222
```
@@ -279,7 +275,7 @@ Firstly, both MathJax and Katex use the [jsDelivr](https://www.jsdelivr.com/) as
279275

280276
The reason that jsDelivr is chosen is because it is fast everywhere, and jsDelivr has the valid ICP license issued by the Chinese government, it can be accessed in China pretty well.
281277

282-
And we also provide other optional CDNs, including the famous [CDNJS](https://cdnjs.com/) and the [Bootcss](http://www.bootcdn.cn/) which has the quite high access speed in China.
278+
And we also provide other optional CDNs, including the famous [CDNJS](https://cdnjs.com/).
283279

284280
For MathJax, we are currently using version 2.7.1.
285281

docs/zh-CN/MATH.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,6 @@ math:
218218
#cdn: //cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
219219
# For direct link to MathJax.js with CloudFlare CDN (cdnjs.cloudflare.com).
220220
#cdn: //cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_CHTML
221-
# For automatic detect latest version link to MathJax.js and get from Bootcss.
222-
#cdn: //cdn.bootcss.com/mathjax/2.7.1/latest.js?config=TeX-AMS-MML_HTMLorMML
223221
224222
# hexo-renderer-markdown-it-plus (or hexo-renderer-markdown-it with markdown-it-katex plugin)
225223
# needed to full Katex support.
@@ -228,8 +226,6 @@ math:
228226
cdn: //cdn.jsdelivr.net/npm/katex@0.7.1/dist/katex.min.css
229227
# CDNJS, provided by cloudflare, maybe the best CDN, but not works in China
230228
#cdn: //cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css
231-
# Bootcss, works great in China, but not so well in other region
232-
#cdn: //cdn.bootcss.com/KaTeX/0.7.1/katex.min.css
233229
```
234230

235231
### enable
@@ -286,7 +282,7 @@ MathJax 和 Katex 都提供了 `cdn` 的配置,如果你不知道什么是 `cd
286282

287283
之所以选择 jsDelivr 是因为它在全球各地都有比较不错的速度,而且具有中国官方颁布的 ICP 证书,在中国也能比较好地访问。
288284

289-
同时,我们也提供了其他的 CDN 备选方案,包括著名的 [CDNJS](https://cdnjs.com/) 和在中国地区具有不错访问效果的 [Bootcss](http://www.bootcdn.cn/)
285+
同时,我们也提供了其他的 CDN 备选方案,包括著名的 [CDNJS](https://cdnjs.com/)。
290286

291287
对于 MathJax 来说,我们目前采用的版本为 2.7.1。
292288

0 commit comments

Comments
 (0)