release: v3.37.0 — MCP vs CLI landing page + guide section
- New guide section: guide/ecosystem/mcp-vs-cli.md (4 decision dimensions, 15-row guidance table, token cost analysis, practitioner quotes) - New landing page: cc.bruniaux.com/ecosystem/mcp-vs-cli/ (4 decision cards, collapsible guidance table, zero JS, WCAG-compliant badges) - ICM v0.5.0 setup guide corrections + icm-session-starter.md template - 3 resource evaluations: mcp2cli, MCPorter, CircleCI MCP vs CLI blog - WP10 v1.2.0 DAF/finance feedback corrections (FR+EN) - Recap cards EN translations (57 cards) + FR version bump 3.32.1 → 3.36.0 - Whitepapers v2.2: 7 WPs synced with guide v3.27.6 → v3.36.0 delta - check-landing-sync.sh: section 7 for MCP vs CLI sync tracking - docs/for-cto.md: whitepapers links updated to florian.bruniaux.com/guides Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
728431cd4d
commit
f5d78e1004
14 changed files with 663 additions and 27 deletions
|
|
@ -195,6 +195,42 @@ else
|
|||
fi
|
||||
echo ""
|
||||
|
||||
# ===================
|
||||
# 7. MCP VS CLI PAGE SYNC
|
||||
# ===================
|
||||
MCP_GUIDE="$GUIDE_DIR/guide/ecosystem/mcp-vs-cli.md"
|
||||
MCP_LANDING="$LANDING_DIR/src/pages/ecosystem/mcp-vs-cli.astro"
|
||||
|
||||
echo -e "${BLUE}7. MCP vs CLI page sync${NC}"
|
||||
|
||||
if [ ! -f "$MCP_GUIDE" ]; then
|
||||
echo -e " ${YELLOW}INFO${NC}: guide/ecosystem/mcp-vs-cli.md not found (skip)"
|
||||
elif [ ! -f "$MCP_LANDING" ]; then
|
||||
echo -e " ${RED}MISSING${NC}: landing page src/pages/ecosystem/mcp-vs-cli.astro not found"
|
||||
ISSUES=$((ISSUES + 1))
|
||||
else
|
||||
# Count H2 sections in guide
|
||||
GUIDE_H2=$(grep -c '^## ' "$MCP_GUIDE" || true)
|
||||
# Count guidance table rows (lines starting with | followed by content, skip header/separator)
|
||||
GUIDE_TABLE_ROWS=$(grep -cE '^\| [^-]' "$MCP_GUIDE" || true)
|
||||
# Count <tr> rows in landing (approximate — includes header rows)
|
||||
LANDING_TR=$(grep -c '<tr>' "$MCP_LANDING" || true)
|
||||
|
||||
echo " Guide H2 sections: $GUIDE_H2"
|
||||
echo " Guide table rows: $GUIDE_TABLE_ROWS"
|
||||
echo " Landing <tr> rows: $LANDING_TR"
|
||||
|
||||
# Loose check: if landing has zero <tr>, something is wrong
|
||||
if [ "$LANDING_TR" -lt 5 ]; then
|
||||
echo -e " ${RED}ERROR${NC}: Landing page has too few table rows — may be out of sync"
|
||||
ISSUES=$((ISSUES + 1))
|
||||
else
|
||||
echo -e " ${GREEN}OK${NC} (landing page exists, has table content)"
|
||||
echo " Tip: if you update the guide section, mirror changes in mcp-vs-cli.astro"
|
||||
fi
|
||||
fi
|
||||
echo ""
|
||||
|
||||
# ===================
|
||||
# SUMMARY
|
||||
# ===================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue