Update indexing and quantization docs #465
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docs Check | |
| # The REST API spec is tracked in-repo at the release pinned in `assemble.yaml` | |
| # and enforced by `make check-spec` in the Assemble workflow. This job used to | |
| # overwrite it from lance-namespace@main before checking links, which meant it | |
| # validated a spec the site would never publish. | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| broken-links-and-openapi: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event_name != 'workflow_dispatch' || github.ref == 'refs/heads/main' }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Install Mintlify CLI | |
| run: npm install -g mintlify@latest | |
| - name: Check broken links | |
| run: | | |
| set -euo pipefail | |
| if command -v mint >/dev/null 2>&1; then | |
| (cd docs && mint broken-links) | |
| elif command -v mintlify >/dev/null 2>&1; then | |
| (cd docs && mintlify broken-links) | |
| else | |
| (cd docs && npx -y mintlify@latest broken-links) | |
| fi |