20 lines
478 B
Bash
Executable File
20 lines
478 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Post-create hook for the VS Code Dev Container.
|
|
# Called automatically by devcontainer.json after the container is created.
|
|
|
|
set -euo pipefail
|
|
|
|
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
|
|
cd "$REPO_ROOT"
|
|
|
|
echo "Installing documentation build dependencies..."
|
|
if [ -f requirements.txt ]; then
|
|
pip install -r requirements.txt
|
|
fi
|
|
|
|
echo "IHUFT documentation environment ready."
|
|
echo "Build: make html"
|
|
echo "Serve: make serve"
|
|
echo "PDF: make pdf"
|