Skip to content

Commit 0235343

Browse files
committed
Update
1 parent bc87015 commit 0235343

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,5 @@ COPY assets/.markdownlint.json .
4949
COPY scripts/ /app/scripts/
5050
COPY --chmod=755 bin/ /usr/local/bin/
5151

52-
RUN git clone --depth 1 https://github.com/raineblog/mkdocs-material.git
53-
COPY assets/katex.render.js mkdocs-material/material/templates/assets/katex.render.js
54-
RUN pip install --no-cache-dir ./mkdocs-material
55-
5652
ENTRYPOINT ["/sbin/tini", "--"]
5753
CMD ["/usr/local/bin/mkdocs-build"]

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ mkdocs-glightbox
1616
mkdocs-table-reader-plugin
1717
mkdocs-jupyter
1818
markdown-exec[ansi]
19+
20+
git+https://github.com/raineblog/mkdocs-material.git

scripts/template.serve.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ markdown_extensions:
6060
- pymdownx.tasklist
6161
- pymdownx.tabbed
6262
extra_javascript:
63-
- assets/katex.render.js
63+
- https://cdn.jsdelivr.net/gh/raineblog/mkdocs-docker@latest/assets/katex.render.js

0 commit comments

Comments
 (0)