File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Bundle
2+
3+ on :
4+ push :
5+ branches :
6+ - " *"
7+
8+
9+ jobs :
10+ bundle :
11+ environment :
12+ name : github-pages
13+ url : ${{ steps.deployment.outputs.page_url }}
14+ runs-on : ubuntu-latest
15+ name : Generate Code Docs
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+
20+ - uses : pnpm/action-setup@v4
21+ name : Install pnpm
22+ with :
23+ version : 10
24+ run_install : false
25+
26+ - name : Install packages
27+ run : pnpm i
28+
29+ - name : Building new release
30+ run : |
31+ mkdir -p build
32+ cp -r node_modules/@mathjax/src/* build/
33+ cp -r components/* build/components
34+ cp -r ts/* build/ts
35+ cd build
36+ ls
37+ pnpm install
38+ pushd ts/a11y/sre/
39+ ls
40+ rm sre-lab.ts
41+ ls
42+ sed -i s/sre-lab/sre/g speech-worker.ts
43+ popd
44+ chmod 755 components/bin/*
45+ pnpm build
46+ cd ..
47+ mkdir IEEE
48+ mv build IEEE/mathjax4
49+ cp samples/* IEEE/
50+ cp ieee-config.js IEEE/
51+
52+ - name : Upload artifact
53+ uses : actions/upload-artifact@v4
54+ with :
55+ name : ieee
56+ path : ' ./IEEE'
57+
Original file line number Diff line number Diff line change 1+ window . MathJax = {
2+ loader : {
3+ load : [
4+ '[tex]/ieeemacros' ,
5+ '[tex]/ieeelegacy' ,
6+ '[tex]/ieeestix' ,
7+ '[tex]/eulerieee' ,
8+ '[tex]/bbm' ,
9+ '[tex]/bboldx' ,
10+ '[tex]/boldsymbol' ,
11+ '[tex]/dsfont' ,
12+ '[tex]/upgreek' ,
13+ '[tex]/textmacros' ,
14+ '[tex]/textcomp' ,
15+ '[tex]/colortbl' ,
16+ '[tex]/mathtools' ,
17+ '[tex]/empheq' ,
18+ '[tex]/cases' ,
19+ '[tex]/centernot' ,
20+ '[tex]/gensymb' ,
21+ 'ui/lazy' ,
22+ ] ,
23+ versionWarnings : false
24+ } ,
25+ tex : {
26+ inlineMath : [
27+ [ '$' , '$' ] ,
28+ [ '\\(' , '\\)' ]
29+ ] ,
30+ packages : { '[+]' : [
31+ 'ieeemacros' ,
32+ 'ieeelegacy' ,
33+ 'ieeestix' ,
34+ 'eulerieee' ,
35+ 'bbm' ,
36+ 'bboldx' ,
37+ 'boldsymbol' ,
38+ 'dsfont' ,
39+ 'upgreek' ,
40+ 'textmacros' ,
41+ 'textcomp' ,
42+ 'colortbl' ,
43+ 'mathtools' ,
44+ 'empheq' ,
45+ 'cases' ,
46+ 'centernot' ,
47+ 'gensymb' ,
48+ ] }
49+ } ,
50+ output : {
51+ font : 'mathjax-stix2' ,
52+ }
53+ } ;
You can’t perform that action at this time.
0 commit comments