Skip to content

Commit 1834a8a

Browse files
committed
Add cuddly Ferris icon, generate favicon from it
1 parent 971bbbc commit 1834a8a

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
/site/
2+
/docs/img/favicon-*.png
3+
/docs/img/favicon.ico

GNUmakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.PHONY: all
22

33
all:
4+
$(MAKE) -C docs/img
45
mkdocs build

docs/img/GNUmakefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
SIZES := 32 128 152 167 180 192 196
2+
PNGS := $(foreach size,$(SIZES),favicon-$(size).png)
3+
TARGETS := $(PNGS) favicon.ico
4+
5+
.PHONY: all clean
6+
all: $(TARGETS)
7+
8+
clean:
9+
rm -f $(TARGETS)
10+
11+
favicon-%.png: cuddlyferris.png
12+
convert $< -resize $*x$* $@
13+
14+
favicon.ico: $(PNGS)
15+
icotool -c -o $@ $^

docs/img/cuddlyferris.png

67.9 KB
Loading

0 commit comments

Comments
 (0)