summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2017-08-22 13:27:17 +0300
committerRasmus Andersson <rasmus@notion.se>2017-08-22 13:27:17 +0300
commit23e527398d8cae84d046178bcf8c7eeea90ab154 (patch)
tree12f89d63bc59e61b3c108d732b60ad2cd5a423cf /docs
parentfffd0c2ebc8095105645ebfe5ec2485bb1890322 (diff)
downloadinter-23e527398d8cae84d046178bcf8c7eeea90ab154.tar.xz
make sure there is a symlink to fonts when running the local server for lab
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/serve.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/serve.sh b/docs/serve.sh
index c9cb7b6ef..fd8b94c63 100755
--- a/docs/serve.sh
+++ b/docs/serve.sh
@@ -2,6 +2,10 @@
set -e
cd "$(dirname "$0")"
+if [ ! -s docs/lab/fonts ]; then
+ ln -s ../../build/dist docs/lab/fonts
+fi
+
if (which caddy >/dev/null); then
caddy_args=(\
-host localhost \