summaryrefslogtreecommitdiff
path: root/doc/shot.sh
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-07-06 10:30:35 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-07-06 10:30:35 +0000
commit451b3d3e72c89ee0c86036300a8610b01d36f193 (patch)
tree4d79471252a5499cb3c1ea1f05185495c4f47129 /doc/shot.sh
parentd9d708d25c8c3c0f12de84cb32ff1c80cb600c31 (diff)
a start on an example of what i was thinking of for widget docs... eg
example screenshots auto-generated by scripts when we do "make doc" with those images put in the docs for that widget. some examples of usage. SVN revision: 61078
Diffstat (limited to 'doc/shot.sh')
-rwxr-xr-xdoc/shot.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/shot.sh b/doc/shot.sh
new file mode 100755
index 000000000..793bef9b2
--- /dev/null
+++ b/doc/shot.sh
@@ -0,0 +1,14 @@
1#!/bin/sh
2
3DIR=$1
4shift
5FILE=$1
6shift
7
8export ELM_THEME=default
9export ELM_SCALE=1.0
10export ELM_ENGINE=shot:delay=0.5:file=$DIR/$FILE
11
12mkdir -p $DIR || true
13
14exec $@