setup: complete wiki scaffold with schema, seed files, sample article, search script, and workflow docs

This commit is contained in:
truetype committed 2026-05-10 17:39:01 +02:00
1 parent 125f74c563
commit 6731ff4e97
5 files changed
+115 -1

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
# Wiki search utility — grep-based fallback (no qmd needed)
# Usage: ./scripts/wiki-search.sh "search query"
QUERY="$1"
if [ -z "$QUERY" ]; then
echo "Usage: wiki-search.sh <query>"
exit 1
fi
echo "=== Searching wiki for: $QUERY ==="
echo ""
grep -rl --include="*.md" -i "$QUERY" "$(dirname "$0")/../wiki/" 2>/dev/null | while read file; do
echo "--- $file ---"
grep -n -i "$QUERY" "$file" 2>/dev/null | head -5
echo ""
done
echo "=== Search complete ==="