aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-09-20 14:17:16 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-09-20 14:17:16 +0200
commit539cc38be44221ba526ee3a1e07ea44ec98c72da (patch)
tree3044b62936b800154ca57348be243d94cd40ed64
parent8f9934b438a145d9d84beec0153c431996697507 (diff)
Fix cover when generating pdf
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r--.gitignore1
-rw-r--r--docs/cover.jpgbin0 -> 291058 bytes
-rw-r--r--docs/cover_small.jpgbin0 -> 18659 bytes
-rwxr-xr-xdocs/resources/make_cover.sh2
4 files changed, 1 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index b305a39..b7710ac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,3 @@
build/
_book/
node_modules/
-docs/cover*.jpg
diff --git a/docs/cover.jpg b/docs/cover.jpg
new file mode 100644
index 0000000..8c2f9b9
--- /dev/null
+++ b/docs/cover.jpg
Binary files differ
diff --git a/docs/cover_small.jpg b/docs/cover_small.jpg
new file mode 100644
index 0000000..531dcfd
--- /dev/null
+++ b/docs/cover_small.jpg
Binary files differ
diff --git a/docs/resources/make_cover.sh b/docs/resources/make_cover.sh
index 1026ecb..5951bfe 100755
--- a/docs/resources/make_cover.sh
+++ b/docs/resources/make_cover.sh
@@ -15,7 +15,7 @@ DATE=$(grep '"published":' $BOOKFILE | cut -d'"' -f 4)
cat $(dirname $0)/cover.svg | sed -e "s/{title}/$TITLE/g" \
-e "s/font-size:87.5px/font-size:54px/g" \
-e "s/{subtitle}/$SUBTITLE/g" \
- -e "s/font-size:62.5px/font-size:40px/g" \
+ -e "s/font-size:62.5px/font-size:54px/g" \
-e "s/{version}/$VERSION/g" \
-e "s/{date}/$DATE/g" \
> /tmp/cover.svg