Files
proxmox/docs/scripts/check-docs-links.sh
defiQUG fbda1b4beb
Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
docs: Ledger Live integration, contract deploy learnings, NEXT_STEPS updates
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands
- CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround
- CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check
- NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere
- MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates
- LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:46:57 -08:00

21 lines
859 B
Bash
Executable File

#!/usr/bin/env bash
# check-docs-links.sh - Suggest running markdown-link-check or lychee to find broken links in docs/
# Usage: run from repo root: ./docs/scripts/check-docs-links.sh
# Install: npm install -g markdown-link-check (or: cargo install lychee)
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
DOCS_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
ROOT_DIR="$(cd "$DOCS_DIR/.." && pwd)"
echo "Docs directory: $DOCS_DIR"
echo "Repo root: $ROOT_DIR"
echo ""
echo "To check links in docs/, run one of:"
echo " (from repo root) npx markdown-link-check \"$DOCS_DIR/**/*.md\""
echo " (from repo root) lychee \"$DOCS_DIR/**/*.md\" --base \"$ROOT_DIR\""
echo ""
echo "Broken refs report (if generated): $ROOT_DIR/reports/BROKEN_REFERENCES_REPORT.md"
echo "Fix docs-internal and root links first; submodule links can be handled separately."
exit 0