[Doc] Add the start of an arch overview page (#10368)

This commit is contained in:
Russell Bryant
2024-11-19 09:52:11 +00:00
committed by GitHub
parent 382b6a4852
commit 5390d6664f
10 changed files with 334 additions and 78 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Ensure that *.excalidraw.png files have the excalidraw metadata
# embedded in them. This ensures they can be loaded back into
# the tool and edited in the future.
find . -iname '*.excalidraw.png' | while read -r file; do
if git check-ignore -q "$file"; then
continue
fi
if ! grep -q "excalidraw+json" "$file"; then
echo "$file was not exported from excalidraw with 'Embed Scene' enabled."
exit 1
fi
done