Skip to content

test(tool-loader): pin #800 doc-profile data-vs-recall disambiguation #37

test(tool-loader): pin #800 doc-profile data-vs-recall disambiguation

test(tool-loader): pin #800 doc-profile data-vs-recall disambiguation #37

Workflow file for this run

# Copyright(C) 2025-2026 Advanced Micro Devices, Inc. All rights reserved.
# SPDX-License-Identifier: MIT
name: Docs Validation
on:
push:
paths:
- 'docs/**'
- 'cpp/**/*.md'
- 'src/gaia/version.py'
- 'util/check_doc_versions.py'
- '.github/workflows/docs.yml'
pull_request:
paths:
- 'docs/**'
- 'cpp/**/*.md'
- 'src/gaia/version.py'
- 'util/check_doc_versions.py'
- '.github/workflows/docs.yml'
# Cancel in-progress runs when a new run is triggered
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
- name: Install Mintlify CLI
run: npm install -g mintlify
- name: Validate docs with Mintlify
working-directory: docs
run: |
echo "Validating documentation with Mintlify..."
mintlify validate
echo "✅ Documentation validated successfully"
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.12'
- name: Check version consistency
run: |
echo "Checking documentation version consistency..."
python util/check_doc_versions.py
echo "✅ Version consistency check passed"