Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
ci: replace MkDocs build workflow with Mintlify docs validation
KaifAhmad17c9da0643d28
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 994503ad..d53f95c1 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -5,15 +5,13 @@ on:branches: [main]paths-ignore:- 'docs/**'- - 'mkdocs.yml'- - 'requirements-docs.txt'+ - 'docs_check.py'- '**/*.md'pull_request:branches: [main]paths-ignore:- 'docs/**'- - 'mkdocs.yml'- - 'requirements-docs.txt'+ - 'docs_check.py'- '**/*.md'jobs:diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.ymlindex 36bb4f1c..7e1b4394 100644--- a/.github/workflows/docs.yml+++ b/.github/workflows/docs.yml@@ -1,35 +1,30 @@name: Build and Deploy Documentation-# This workflow builds the documentation site and deploys it to GitHub Pages-# It runs when changes are pushed to the 'docs' folder on the main branch-on:push:branches: [main]paths:- 'docs/**'- - 'mkdocs.yml'- - 'requirements-docs.txt'+ - 'docs_check.py'- 'CHANGELOG.md'- 'RELEASE.md'- release:- types: [published]+ pull_request:+ branches: [main]+ paths:+ - 'docs/**'+ - 'docs_check.py'workflow_dispatch:-# Permissions needed to deploy to GitHub Pagespermissions:contents: read- pages: write- id-token: write-# Prevent concurrent deploymentsconcurrency:group: "pages"cancel-in-progress: falsejobs:build:- name: Build Documentation+ name: Validate Documentationruns-on: ubuntu-lateststeps:- name: Checkout code@@ -40,41 +35,5 @@ jobs:with:python-version: '3.11'- - name: Install documentation dependencies- run: |- python -m pip install --upgrade pip- pip install -r requirements-docs.txt-- - name: Build documentation- # Builds the static site using MkDocs- run: mkdocs build --strict-- - name: Check for broken links- # Optional: checks if any links in the docs are broken- run: |- pip install linkchecker || echo "Skipping link check"- if [ -d "site" ]; then- linkchecker site/ --check-extern || echo "Link check completed"- fi- continue-on-error: true-- - name: Setup Pages- uses: actions/configure-pages@v6- continue-on-error: true-- - name: Upload artifact- uses: actions/upload-pages-artifact@v5- with:- path: ./site-- deploy:- name: Deploy to GitHub Pages- environment:- name: github-pages- url: ${{ steps.deployment.outputs.page_url }}- runs-on: ubuntu-latest- needs: build- steps:- - name: Deploy to GitHub Pages- id: deployment- uses: actions/deploy-pages@v5+ - name: Validate documentation+ run: python docs_check.py