mirror of
git://f0xx.org/android_cast
synced 2026-07-29 05:17:39 +03:00
sync
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# Render every docs/*.md to docs/<stem>.pdf (reportlab; see docs/_pdf_build/md_to_pdf.py).
|
||||
# Render docs/**/*.md to sibling .pdf, then diagram/special PDF builders.
|
||||
set -euo pipefail
|
||||
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
python3 "$ROOT_DIR/docs/_pdf_build/build_all_docs_pdf.py"
|
||||
echo "Done: $ROOT_DIR/docs/*.pdf"
|
||||
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)"
|
||||
|
||||
Reference in New Issue
Block a user