Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/.docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,9 @@ RUN mkdir -p /opt/antora-ui \

# Pre-download MathJax es5 for offline LaTeX. Copy /opt/mathjax/es5 into a
# supplemental UI or reference it from your UI template for client-side math.
# MathJax 600692ad9d3552cc25f85510d5797bc942ecc9f7 (600692a): v3.2.2
RUN mkdir -p /opt/mathjax \
&& npm pack mathjax@3 --pack-destination /tmp \
&& npm pack git+https://github.com/mathjax/MathJax.git#600692a --pack-destination /tmp \
&& tar -xzf /tmp/mathjax-*.tgz -C /tmp \
Comment on lines 87 to 89

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michalharakal Should we addresse this?

&& cp -r /tmp/package/es5 /opt/mathjax/es5 \
&& rm -rf /tmp/mathjax-* /tmp/package
Expand Down