NanoVNA-F V3 Starlight documentation site
Astro 5 + Starlight 0.37 docs site for the NanoVNA-F V3 portable vector network analyzer. Content sourced from the extracted PDF user guide and menu structure map. - 38 MDX content pages organized in diataxis structure (getting-started, tutorials, how-to guides, reference) - Steel blue/teal theme (#2d7d9a/#5bb8d4) distinct from NanoVNA-H - 5 custom Astro components (CommandTable, MenuTree, SpecCard, ScreenRegion, CalibrationStep) - 42 renamed screenshots from the user guide PDF extraction - Docker deployment via Caddy behind caddy-docker-proxy - Full console command reference (28 commands) - Complete menu map with interactive tree component
This commit is contained in:
commit
a0394b0c56
99 changed files with 10108 additions and 0 deletions
56
Makefile
Normal file
56
Makefile
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
.PHONY: build up down restart logs shell clean rebuild status dev build-local
|
||||
|
||||
# Default target
|
||||
all: up
|
||||
|
||||
# Build the Docker image
|
||||
build:
|
||||
docker compose build
|
||||
|
||||
# Start the container
|
||||
up:
|
||||
docker compose up -d
|
||||
@echo "Waiting for container to start..."
|
||||
@sleep 3
|
||||
docker compose logs --tail=20
|
||||
|
||||
# Stop the container
|
||||
down:
|
||||
docker compose down
|
||||
|
||||
# Restart the container
|
||||
restart: down up
|
||||
|
||||
# View logs
|
||||
logs:
|
||||
docker compose logs -f
|
||||
|
||||
# View recent logs
|
||||
logs-tail:
|
||||
docker compose logs --tail=50
|
||||
|
||||
# Shell into the container
|
||||
shell:
|
||||
docker compose exec docs sh
|
||||
|
||||
# Clean up (remove container and image)
|
||||
clean:
|
||||
docker compose down --rmi local --volumes
|
||||
|
||||
# Full rebuild (clean + build + up)
|
||||
rebuild: clean build up
|
||||
|
||||
# Check status
|
||||
status:
|
||||
docker compose ps
|
||||
@echo ""
|
||||
@echo "Health check:"
|
||||
@docker compose exec docs wget -q --spider http://127.0.0.1:80/ && echo "OK" || echo "FAILED"
|
||||
|
||||
# Dev mode (local preview without Docker)
|
||||
dev:
|
||||
pnpm dev
|
||||
|
||||
# Build locally (for testing)
|
||||
build-local:
|
||||
pnpm build
|
||||
Loading…
Add table
Add a link
Reference in a new issue