assets.toml 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. # Versioning and Subresource Integrity (SRI) for Academic's JavaScript and CSS dependencies
  2. # When updating the version of an asset below, please also update the corresponding SRI.
  3. # How to update the SRI for an entry:
  4. # echo -n "sha512-" && curl --silent "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_CHTML" | openssl dgst -sha512 -binary | openssl enc -base64 -A
  5. # Or, the SRI for the appropriate asset can be copied from https://cdnjs.com/ .
  6. # JavaScript
  7. [js.highlight]
  8. version = "10.2.0"
  9. sri = "sha512-TDKKr+IvoqZnPzc3l35hdjpHD0m+b2EC2SrLEgKDRWpxf2rFCxemkgvJ5kfU48ip+Y+m2XVKyOCD85ybtlZDmw=="
  10. url = "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/%s/highlight.min.js"
  11. [js.highlight_lang]
  12. version = "10.2.0"
  13. sri = "" # No SRI as highlight language styles is determined at run time.
  14. url = "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/%s/languages/%s.min.js"
  15. [js.mathJax]
  16. version = "3"
  17. sri = "" # No SRI as dynamically generated.
  18. url = "https://cdn.jsdelivr.net/npm/mathjax@%s/es5/tex-chtml.js"
  19. async = true
  20. [js.isotope]
  21. version = "3.0.6"
  22. sri = "sha256-CBrpuqrMhXwcLLUd5tvQ4euBHCdh7wGlDfNz8vbu/iI="
  23. url = "https://cdnjs.cloudflare.com/ajax/libs/jquery.isotope/%s/isotope.pkgd.min.js"
  24. [js.imagesLoaded]
  25. version = "4.1.4"
  26. sri = "sha256-lqvxZrPLtfffUl2G/e7szqSvPBILGbwmsGE1MKlOi0Q="
  27. url = "https://cdnjs.cloudflare.com/ajax/libs/jquery.imagesloaded/%s/imagesloaded.pkgd.min.js"
  28. [js.gmaps]
  29. version = "0.4.25"
  30. sri = "sha256-7vjlAeb8OaTrCXZkCNun9djzuB2owUsaO72kXaFDBJs="
  31. url = "https://cdnjs.cloudflare.com/ajax/libs/gmaps.js/%s/gmaps.min.js"
  32. [js.leaflet]
  33. version = "1.7.1"
  34. sri = "sha512-SeiQaaDh73yrb56sTW/RgVdi/mMqNeM2oBwubFHagc5BkixSpP1fvqF47mKzPGWYSSy4RwbBunrJBQ4Co8fRWA=="
  35. url = "https://cdnjs.cloudflare.com/ajax/libs/leaflet/%s/leaflet.min.js"
  36. [js.fancybox]
  37. version = "3.5.7"
  38. sri = "sha256-yt2kYMy0w8AbtF89WXb2P1rfjcP/HTHLT7097U8Y5b8="
  39. url = "https://cdnjs.cloudflare.com/ajax/libs/fancybox/%s/jquery.fancybox.min.js"
  40. [js.fuse]
  41. version = "3.2.1"
  42. sri = "sha256-VzgmKYmhsGNNN4Ph1kMW+BjoYJM2jV5i4IlFoeZA9XI="
  43. url = "https://cdnjs.cloudflare.com/ajax/libs/fuse.js/%s/fuse.min.js"
  44. [js.mark]
  45. version = "8.11.1"
  46. sri = "sha256-4HLtjeVgH0eIB3aZ9mLYF6E8oU5chNdjU6p6rrXpl9U="
  47. url = "https://cdnjs.cloudflare.com/ajax/libs/mark.js/%s/jquery.mark.min.js"
  48. [js.instantsearch]
  49. version = "2.10.2"
  50. sri = "sha256-gFCtPk/sonctyfwYOgjrPoWApQ0rqB6ezBBZ7p32yGc="
  51. url = "https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/%s/instantsearch.min.js"
  52. [js.anchor]
  53. version = "4.2.2"
  54. sri = "sha512-I7w3ZdSFzw5j3jU3ZkNikBNeIrl3i+hEuEdwNmqUJvwNcaBUNcijnP2gd9DtGlgVYDplfjGoD8vTNsID+lCjqg=="
  55. url = "https://cdnjs.cloudflare.com/ajax/libs/anchor-js/%s/anchor.min.js"
  56. [js.mermaid]
  57. version = "8.8.4"
  58. sri = "sha512-as1BF4+iHZ3BVO6LLDQ7zrbvTXM+c/1iZ1qII/c3c4L8Rn5tHLpFUtpaEtBNS92f+xGsCzsD7b62XP3XYap6oA=="
  59. url = "https://cdnjs.cloudflare.com/ajax/libs/mermaid/%s/mermaid.min.js"
  60. [js.cookieconsent]
  61. version = "3.1.1"
  62. sri = "sha256-5VhCqFam2Cn+yjw61zbBNrbHVJ6SRydPeKopYlngbiQ="
  63. url = "https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/%s/cookieconsent.min.js"
  64. [js.plotly]
  65. version = "1.55.2"
  66. sri = "sha512-gttPT9uTUiaLBj6XZdcB0ydKXiDaBwstInkN4Qvp1Nz3iwXNc8TTQplIEPIGxyJBDqERjwkKxf2OyO47/0EHbQ=="
  67. url = "https://cdnjs.cloudflare.com/ajax/libs/plotly.js/%s/plotly.min.js"
  68. # CSS
  69. [css.academicons]
  70. version = "1.9.0"
  71. sri = "sha512-W4yqoT1+8NLkinBLBZko+dFB2ZbHsYLDdr50VElllRcNt2Q4/GSs6u71UHKxB7S6JEMCp5Ve4xjh3eGQl/HRvg=="
  72. url = "https://cdnjs.cloudflare.com/ajax/libs/academicons/%s/css/academicons.min.css"
  73. [css.leaflet]
  74. version = "1.7.1"
  75. sri = "sha512-1xoFisiGdy9nvho8EgXuXvnpR5GAMSjFwp40gSRE3NwdUdIMIKuPa7bqoUhLD0O/5tPNhteAsE5XyyMi5reQVA=="
  76. url = "https://cdnjs.cloudflare.com/ajax/libs/leaflet/%s/leaflet.min.css"
  77. [css.fancybox]
  78. version = "3.5.7"
  79. sri = "sha256-Vzbj7sDDS/woiFS3uNKo8eIuni59rjyNGtXfstRzStA="
  80. url = "https://cdnjs.cloudflare.com/ajax/libs/fancybox/%s/jquery.fancybox.min.css"
  81. [css.instantsearch]
  82. version = "2.9.0"
  83. sri = "sha256-ZtmLe16p4jS4/2wPwwH6NzJt460SJzgLmhKrYo5yn7g="
  84. url = "https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/%s/instantsearch.min.css"
  85. [css.instantsearchTheme]
  86. version = "2.10.2"
  87. sri = "sha256-uL8LUd3zkI/lXvc/Hv/oOu8ld6RJcOZiUY/8c+I+3/o="
  88. url = "https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/%s/instantsearch-theme-algolia.min.css"
  89. [css.highlight]
  90. version = "10.2.0"
  91. sri = "" # No SRI as highlight style is determined at run time.
  92. url = "https://cdnjs.cloudflare.com/ajax/libs/highlight.js/%s/styles/%s.min.css"
  93. [css.cookieconsent]
  94. version = "3.1.1"
  95. sri = "sha256-zQ0LblD/Af8vOppw18+2anxsuaz3pWYyVWi+bTvTH8Q="
  96. url = "https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/%s/cookieconsent.min.css"