mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed SVG minimization - accidentally removed up ids
This commit is contained in:
parent
fe86225ff9
commit
6769793f97
2
Makefile
2
Makefile
@ -91,7 +91,7 @@ IMAGES_ICONS = $(subst src,material,$(wildcard src/assets/images/icons/*.svg))
|
|||||||
material/assets/images/icons: ${IMAGES_ICONS}
|
material/assets/images/icons: ${IMAGES_ICONS}
|
||||||
material/assets/images/icons/%.svg: src/assets/images/icons/%.svg | $$(@D)/.
|
material/assets/images/icons/%.svg: src/assets/images/icons/%.svg | $$(@D)/.
|
||||||
@ echo "+ $@"
|
@ echo "+ $@"
|
||||||
@ ${BIN}/svgo -q -i $< -o $@ --disable=removeViewBox
|
@ ${BIN}/svgo -q -i $< -o $@ --disable=cleanupIDs,removeViewBox
|
||||||
|
|
||||||
# Images
|
# Images
|
||||||
IMAGES = $(subst src,material,$(wildcard src/assets/images/*.png))
|
IMAGES = $(subst src,material,$(wildcard src/assets/images/*.png))
|
||||||
|
Loading…
Reference in New Issue
Block a user