Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Compatibility with `@next-theme/plugins` * Update test cases
- Loading branch information
1 parent
04da779
commit d248a3f
Showing
26 changed files
with
223 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
source/lib/* linguist-vendored | ||
test/* linguist-vendored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
anime: | ||
name: animejs | ||
version: 3.2.0 | ||
file: lib/anime.min.js | ||
fontawesome: | ||
name: '@fortawesome/fontawesome-free' | ||
version: 5.14.0 | ||
file: css/all.min.css | ||
alias: font-awesome | ||
prism: | ||
name: prismjs | ||
version: 1.20.0 | ||
file: components/prism-core.min.js | ||
alias: prism | ||
prism_autoloader: | ||
name: prismjs | ||
version: 1.20.0 | ||
file: plugins/autoloader/prism-autoloader.min.js | ||
alias: prism | ||
prism_line_numbers: | ||
name: prismjs | ||
version: 1.20.0 | ||
file: plugins/line-numbers/prism-line-numbers.min.js | ||
alias: prism | ||
mathjax: | ||
name: mathjax | ||
version: 3.0.5 | ||
file: es5/tex-mml-chtml.js | ||
katex: | ||
name: katex | ||
version: 0.11.1 | ||
file: dist/katex.min.css | ||
alias: KaTeX | ||
copy_tex_js: | ||
name: katex | ||
version: 0.11.1 | ||
file: dist/contrib/copy-tex.min.js | ||
alias: KaTeX | ||
copy_tex_css: | ||
name: katex | ||
version: 0.11.1 | ||
file: dist/contrib/copy-tex.min.css | ||
alias: KaTeX | ||
pjax: | ||
name: '@next-theme/pjax' | ||
version: 0.4.0 | ||
file: pjax.min.js | ||
unavailable: [cdnjs] | ||
jquery: | ||
name: jquery | ||
version: 3.5.1 | ||
file: dist/jquery.min.js | ||
fancybox: | ||
name: '@fancyapps/fancybox' | ||
version: 3.5.7 | ||
file: dist/jquery.fancybox.min.js | ||
alias: fancybox | ||
fancybox_css: | ||
name: '@fancyapps/fancybox' | ||
version: 3.5.7 | ||
file: dist/jquery.fancybox.min.css | ||
alias: fancybox | ||
mediumzoom: | ||
name: medium-zoom | ||
version: 1.0.6 | ||
file: dist/medium-zoom.min.js | ||
lazyload: | ||
name: lozad | ||
version: 1.15.0 | ||
file: dist/lozad.min.js | ||
alias: lozad.js | ||
pangu: | ||
name: pangu | ||
version: 4.0.7 | ||
file: dist/browser/pangu.min.js | ||
quicklink: | ||
name: quicklink | ||
version: 2.0.0 | ||
file: dist/quicklink.umd.js | ||
disqusjs_js: | ||
name: disqusjs | ||
version: 1.3.0 | ||
file: dist/disqus.js | ||
unavailable: [cdnjs] | ||
disqusjs_css: | ||
name: disqusjs | ||
version: 1.3.0 | ||
file: dist/disqusjs.css | ||
unavailable: [cdnjs] | ||
valine: | ||
name: valine | ||
version: 1.4.14 | ||
file: dist/Valine.min.js | ||
gitalk_js: | ||
name: gitalk | ||
version: 1.6.2 | ||
file: dist/gitalk.min.js | ||
gitalk_css: | ||
name: gitalk | ||
version: 1.6.2 | ||
file: dist/gitalk.css | ||
algolia_search: | ||
name: algoliasearch | ||
version: 4.3.1 | ||
file: dist/algoliasearch-lite.umd.js | ||
instant_search: | ||
name: instantsearch.js | ||
version: 4.7.0 | ||
file: dist/instantsearch.production.min.js | ||
mermaid: | ||
name: mermaid | ||
version: 8.6.4 | ||
file: dist/mermaid.min.js | ||
animate_css: | ||
name: animate.css | ||
version: 3.1.1 | ||
file: animate.min.css | ||
pace: | ||
name: pace-js | ||
version: 1.0.2 | ||
file: pace.min.js | ||
alias: pace | ||
pace_css: | ||
name: pace-js | ||
version: 1.0.2 | ||
file: themes/blue/pace-theme-minimal.css | ||
alias: pace | ||
canvas_ribbon: | ||
name: ribbon.js | ||
version: 1.0.2 | ||
file: dist/ribbon.min.js | ||
unavailable: [cdnjs] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
{%- if theme.canvas_ribbon.enable %} | ||
{%- set canvas_ribbon_uri = theme.vendors.canvas_ribbon or '//cdn.jsdelivr.net/npm/ribbon.js@1/dist/ribbon.min.js' %} | ||
<script size="{{ theme.canvas_ribbon.size }}" alpha="{{ theme.canvas_ribbon.alpha }}" zIndex="{{ theme.canvas_ribbon.zIndex }}" src="{{ url_for(canvas_ribbon_uri) }}"></script> | ||
<script size="{{ theme.canvas_ribbon.size }}" alpha="{{ theme.canvas_ribbon.alpha }}" zIndex="{{ theme.canvas_ribbon.zIndex }}" src="{{ theme.vendors.canvas_ribbon }}"></script> | ||
{%- endif %} | ||
|
||
{%- for name, internal in js_vendors() %} | ||
<script src="{{ url_for(theme.vendors[name] or internal) }}"></script> | ||
{%- for name in js_vendors() %} | ||
<script src="{{ url_for(theme.vendors[name]) }}"></script> | ||
{%- endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
{%- set katex_uri = theme.vendors.katex or '//cdn.jsdelivr.net/npm/katex@0/dist/katex.min.css' %} | ||
<link rel="stylesheet" href="{{ url_for(katex_uri) }}"> | ||
<link rel="stylesheet" href="{{ theme.vendors.katex }}"> | ||
{%- if theme.math.katex.copy_tex %} | ||
{%- set copy_tex_js_uri = theme.vendors.copy_tex_js or '//cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.js' %} | ||
{%- set copy_tex_css_uri = theme.vendors.copy_tex_css or '//cdn.jsdelivr.net/npm/katex@0/dist/contrib/copy-tex.min.css' %} | ||
<script src="{{ url_for(copy_tex_js_uri) }}"></script> | ||
<link rel="stylesheet" href="{{ url_for(copy_tex_css_uri) }}"> | ||
<script src="{{ theme.vendors.copy_tex_js }}"></script> | ||
<link rel="stylesheet" href="{{ theme.vendors.copy_tex_css }}"> | ||
{%- endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.