From 4922cc1a8dd5906825ee4f37b00ab355e6f22bd5 Mon Sep 17 00:00:00 2001 From: trsdn Date: Wed, 17 Sep 2025 21:51:04 +0200 Subject: [PATCH 1/2] test: verify docs.yml workflow hashFiles function works correctly Add test comment to docs/README.md to trigger documentation workflow and verify that the hashFiles('docs/conf.py') != '' condition works without syntax errors after the fix in PR #25. This tests Issue #29 resolution. --- docs/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/README.md b/docs/README.md index 77697eb..2f8c55c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,6 +2,8 @@ This directory contains comprehensive documentation for the MarkItDown MCP server. + + ## 📁 Documentation Structure ### `/api/` From fe65c40444159e89d06ead1252e103d8e484a7ad Mon Sep 17 00:00:00 2001 From: trsdn Date: Wed, 17 Sep 2025 21:52:42 +0200 Subject: [PATCH 2/2] fix: add proper GitHub Actions expression syntax for hashFiles function The hashFiles function requires wrapper in if conditions. This fixes the Unrecognized function hashFiles error on line 66. Fixes Issue #29 properly by using correct GitHub Actions syntax. --- .github/workflows/docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8c366e4..ffd47ac 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -63,7 +63,7 @@ jobs: build-sphinx: name: Build Sphinx Docs runs-on: ubuntu-latest - if: hashFiles('docs/conf.py') != '' + if: ${{ hashFiles('docs/conf.py') != '' }} steps: - uses: actions/checkout@v4