Build Packages / build:rpm (rocky8_nocuda) (push) Failing after 2m58s
Build Packages / build:rpm (rocky9_nocuda) (push) Failing after 2m56s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Failing after 2m31s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Failing after 3m0s
Build Packages / build:rpm (rocky8) (push) Failing after 3m6s
Build Packages / build:rpm (rocky9_sls9) (push) Failing after 3m23s
Build Packages / build:rpm (rocky8_sls9) (push) Failing after 3m31s
Build Packages / build:rpm (ubuntu2204) (push) Failing after 2m46s
Build Packages / build:rpm (rocky9) (push) Failing after 2m54s
Build Packages / Generate python client (push) Successful in 11s
Build Packages / Build documentation (push) Failing after 9s
Build Packages / Create release (push) Skipped
Build Packages / build:rpm (ubuntu2404) (push) Failing after 3m18s
Build Packages / XDS test (neggia plugin) (push) Successful in 5m47s
Build Packages / XDS test (durin plugin) (push) Successful in 6m54s
Build Packages / XDS test (JFJoch plugin) (push) Successful in 6m58s
Build Packages / DIALS test (push) Successful in 9m47s
Build Packages / Unit tests (push) Successful in 53m21s
32 lines
841 B
Bash
32 lines
841 B
Bash
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
# Build the Sphinx HTML documentation.
|
|
#
|
|
# Usage: make_doc.sh [output_dir]
|
|
# output_dir where the rendered HTML is written (default: ./public).
|
|
# Relative paths are resolved against the caller's working
|
|
# directory, so the frontend build can point this at frontend/dist/docs.
|
|
#
|
|
# The Python interpreter can be overridden with $PYTHON (default: python).
|
|
|
|
OUT="${1:-public}"
|
|
PYTHON="${PYTHON:-python3}"
|
|
|
|
# Resolve the output directory to an absolute path before we change directories.
|
|
mkdir -p "$OUT"
|
|
OUT="$(cd "$OUT" && pwd)"
|
|
|
|
# Run from the repository root regardless of where the script was invoked from.
|
|
cd "$(dirname "$0")"
|
|
|
|
"$PYTHON" -m venv tmp_venv/
|
|
source tmp_venv/bin/activate
|
|
|
|
pip install -r docs/requirements.txt
|
|
|
|
sphinx-build -b html docs "$OUT"
|
|
|
|
rm -rf tmp_venv/
|