1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 02:18:40 +03:00
Files
android_cast/scripts/build-all-docs-pdf.sh
Anton Afanasyeu 9d9a6d66d9 sync
2026-06-11 18:37:48 +02:00

16 lines
542 B
Bash
Executable File

#!/usr/bin/env bash
# Render docs/**/*.md to sibling .pdf, then diagram/special PDF builders.
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
PDF_BUILD="$ROOT_DIR/docs/_pdf_build"
python3 "$PDF_BUILD/build_all_docs_pdf.py"
for extra in \
build_git_flow_pdf.py \
build_graphvis_pivot_pdf.py \
build_egress_review_pdf.py; do
if [[ -f "$PDF_BUILD/$extra" ]]; then
python3 "$PDF_BUILD/$extra" || echo "WARN: $extra failed (optional)" >&2
fi
done
echo "Done: PDFs under $ROOT_DIR/docs/ (recursive + diagram builders)"