build: API Reference generation procedure simplified

This commit is contained in:
Mateusz Pusz
2024-09-25 12:39:37 +02:00
parent ab888aaecd
commit 1c31a2e7cb
3 changed files with 9 additions and 16 deletions

View File

@@ -32,9 +32,6 @@ RUN sudo install-packages \
npm \
ghc \
cabal-install
RUN npm install split mathjax-full mathjax-node-sre
RUN npm install split mathjax-full mathjax-node-sre mathjax-node-cli
RUN cabal update
# Install MathJax-Node-CLI
RUN git clone https://github.com/mathjax/mathjax-node-cli --depth=1
RUN echo "export PATH=\"$PWD/mathjax-node-cli/bin:\$PATH\"" >> ~/.bashrc
RUN echo "export PATH=\"~/node_modules/.bin:\$PATH\"" >> ~/.bashrc