Restaurant Speisekarte

Docs & Code reference

Documentation CI (GitHub Actions)

This document explains the docs-ci.yml workflow located at .github/workflows/docs-ci.yml.

Purpose

Triggers

Jobs

Workflow (excerpt)

name: Documentation CI

on:
  push:
    branches: [ main, master ]
    paths:
      - 'docs/**'
      - 'README.md'
      - '*.md'
  pull_request:
    branches: [ main, master ]
    paths:
      - 'docs/**'
      - 'README.md'
      - '*.md'

jobs:
  validate-docs:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Validate Markdown files
      uses: gaurav-nelson/github-action-markdown-link-check@v1
      with:
        use-quiet-mode: 'yes'
        use-verbose-mode: 'yes'
        config-file: '.github/workflows/markdown-link-check-config.json'
    - name: Check documentation structure
      run: |
        # checks for files
    - name: Generate documentation summary
      run: |
        # add changed md files to $GITHUB_STEP_SUMMARY

Notes