diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-03-18 12:36:39 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-03-18 12:36:39 +0900 |
commit | 0154f00b08057faaa452105987cc6ef336058a92 (patch) | |
tree | cb4749106763b382956adde5c6602db7b2cb550a /.builds | |
parent | f4d3d4f01b539a3824ee000a275a3bcf3a5643c6 (diff) | |
download | site-0154f00b08057faaa452105987cc6ef336058a92.tar.gz |
Switch to MathML for web pages
Diffstat (limited to '.builds')
-rw-r--r-- | .builds/auto.yml | 1 | ||||
-rw-r--r-- | .builds/shell.nix | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/.builds/auto.yml b/.builds/auto.yml index b446731..bcca7f6 100644 --- a/.builds/auto.yml +++ b/.builds/auto.yml @@ -17,6 +17,7 @@ tasks: - build: | cd site nix-shell .builds/shell.nix --run 'julia --project=@. .builds/franklin.jl' + nix-shell -p htmlq --run _libs/onlymathml nix-shell -p python3Packages.css-html-js-minify --run _libs/postprocess - deploy: | tar -cvzf site.tar.gz -C site/__site . diff --git a/.builds/shell.nix b/.builds/shell.nix index b73cc6c..8a1166d 100644 --- a/.builds/shell.nix +++ b/.builds/shell.nix @@ -7,9 +7,6 @@ mkShell { shellHook = '' npm install highlight.js # https://github.com/NixOS/nixpkgs/issues/152201 katex=${nodePackages.katex}/lib/node_modules/katex/dist - install -m 755 -d _css/fonts _libs/katex - install -m 644 $katex/katex.min.css _css - install -m 644 $katex/fonts/* _css/fonts install -m 644 $katex/{katex.min.js,contrib/auto-render.min.js} _libs/katex ''; } |