fix: exclude superpowers/ from marp slide discovery
Prevents AI tooling docs (specs, plans) from being built as presentations. The grep pattern matched marp: true inside code examples in plan files. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
84586b718c
commit
afe0dff5f9
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ OUTPUT_DIR="$REPO_ROOT/slides"
|
||||||
SLIDES=()
|
SLIDES=()
|
||||||
while IFS= read -r f; do
|
while IFS= read -r f; do
|
||||||
SLIDES+=("$f")
|
SLIDES+=("$f")
|
||||||
done < <(grep -rl "^marp: true" "$REPO_ROOT/docs" --include="*.md" 2>/dev/null || true)
|
done < <(grep -rl "^marp: true" "$REPO_ROOT/docs" --include="*.md" --exclude-dir=superpowers 2>/dev/null || true)
|
||||||
|
|
||||||
if [ ${#SLIDES[@]} -eq 0 ]; then
|
if [ ${#SLIDES[@]} -eq 0 ]; then
|
||||||
echo "No marp presentations found in docs/."
|
echo "No marp presentations found in docs/."
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue