build changes
This commit is contained in:
parent
f5b7d26cec
commit
2e470a4a3f
28
Makefile
28
Makefile
|
@ -7,7 +7,8 @@ site/index.html: docs/** \
|
|||
theme/main.html \
|
||||
theme/style.min.css \
|
||||
theme/gruvbox-dark.min.css \
|
||||
mkdocs.yml
|
||||
mkdocs.yml \
|
||||
favicon_all
|
||||
mkdocs build
|
||||
|
||||
build: site/index.html
|
||||
|
@ -30,12 +31,13 @@ theme/favicon-ex.png: theme/favicon.svg
|
|||
inkscape theme/favicon.svg --export-filename=theme/favicon-ex.png
|
||||
|
||||
theme/favicon.png: theme/favicon-ex.png
|
||||
magick theme/favicon-ex.png -compress Zip -quality 1 -resize 144x144 theme/favicon.png
|
||||
magick theme/favicon-ex.png -quality 95 -resize 144x144 theme/favicon.png
|
||||
|
||||
theme/favicon.ico: theme/favicon-ex.png
|
||||
magick theme/favicon-ex.png -compress Zip -quality 1 -resize 144x144 theme/favicon.ico
|
||||
# theme/favicon.ico: theme/favicon-ex.png
|
||||
# magick theme/favicon-ex.png -compress Zip -quality 95 -resize 144x144 -background transparent theme/favicon.ico
|
||||
|
||||
favicon_all: theme/favicon.png theme/favicon.ico
|
||||
favicon_all: theme/favicon.png
|
||||
# theme/favicon.ico
|
||||
|
||||
# Scripts
|
||||
|
||||
|
@ -59,12 +61,12 @@ purge: clean format build
|
|||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -r site/
|
||||
rm theme/main.html
|
||||
rm theme/style.min.css
|
||||
rm theme/gruvbox-dark.min.css
|
||||
rm theme/favicon-ex.png
|
||||
rm theme/favicon.min.svg
|
||||
rm theme/favicon.png
|
||||
rm theme/favicon.ico
|
||||
rm -r site/ || true
|
||||
rm theme/main.html || true
|
||||
rm theme/style.min.css || true
|
||||
rm theme/gruvbox-dark.min.css || true
|
||||
rm theme/favicon-ex.png || true
|
||||
rm theme/favicon.min.svg || true
|
||||
rm theme/favicon.png || true
|
||||
rm theme/favicon.ico || true
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
%meta(charset="UTF-8")
|
||||
%meta(name="viewport" content="width=device-width, initial-scale=1.0")
|
||||
%link(rel="icon" type="image/png" href="/~tasiaiso/favicon.png")
|
||||
%link(rel="icon" type="image/x-icon" href="/~tasiaiso/favicon.ico")
|
||||
-# %link(rel="icon" type="image/x-icon" href="/~tasiaiso/favicon.ico")
|
||||
%link(rel="icon" type="image/svg+xml" href="/~tasiaiso/favicon.svg" sizes="any")
|
||||
|
||||
%link(rel="stylesheet" href="/~tasiaiso/gruvbox-dark.min.css")
|
||||
|
|
Loading…
Reference in a new issue