docs: harden docs navigation gates

This commit is contained in:
tukuaiai
2026-05-03 22:21:18 +08:00
parent 75c82f6154
commit 7ab504b055
10 changed files with 166 additions and 13 deletions
+7 -2
View File
@@ -1,6 +1,6 @@
# Makefile for Vibe Coding Guide
.PHONY: help lint check-links build test clean
.PHONY: help lint check-links check-details build test clean
help:
@echo "Makefile for Vibe Coding Guide"
@@ -9,6 +9,7 @@ help:
@echo " help - Show this help message"
@echo " lint - Lint all markdown files"
@echo " check-links - Check local markdown links and anchors"
@echo " check-details - Check markdown details/summary blocks"
@echo " build - Verify knowledge base has no build step"
@echo " test - Run repository quality gates"
@echo " clean - Remove ignored generated caches"
@@ -23,10 +24,14 @@ check-links:
@echo "Checking local markdown links and anchors..."
@python3 scripts/check-local-links.py
check-details:
@echo "Checking markdown details/summary blocks..."
@python3 scripts/check-markdown-details.py
build:
@echo "No build step: this repository is a documentation and knowledge-base project."
test: lint check-links
test: lint check-links check-details
@echo "Quality gates complete."
clean: