blob: da1065392484b897acbed238052f4fe052b33122 [file] [log] [blame] [edit]
#!/bin/sh
set -euxo pipefail
cd "$DOCS_DIR"
# Fetch the docs.json file at HEAD, otherwise mintlify fails.
curl -sS "$DOCS_JSON_URL" -o docs.json
# https://www.mintlify.com/docs/installation#validate-documentation-build
mint validate
# TODO: call `mint broken-links``