doc/proto: fix a bug with the pages script

Removing the chapter pages means the directory no longer exists, so we
manually have to mkdir it.
This commit is contained in:
Peter Hutterer 2023-03-08 16:05:14 +10:00
parent 5258a559eb
commit 6b7424e821

View file

@ -77,6 +77,8 @@ done < <($SCANNER --component=ei "$PROTOFILE" - <<EOF
EOF
)
mkdir -p "$SITEDIR/content/doc"
cp "$TEMPLATEDIR/_index.md" "$SITEDIR/content"
cp "$TEMPLATEDIR/overview.md" "$SITEDIR/content/doc"
cp "$TEMPLATEDIR/types.md" "$SITEDIR/content/doc"