summary refs log tree commit diff
path: root/Documentation/scripts/build.sh
blob: 5c132e30518b523facd5041657a0ae0e720671c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -e
# SPDX-FileCopyrightText: 2022 Unikie
# SPDX-License-Identifier: EUPL-1.2+

cd "$(dirname "$0")/.."

if [ ! -w . ] && [ ! -w .jekyll-cache ]; then
	set -- --disable-disk-cache "$@"
fi

find . '(' '!' -path ./_site -o -prune ')' \
	-a -name '*.drawio' \
	-exec drawio -xf svg '{}' ';'
jekyll build -b /doc "$@"