diff --git a/.github/mlc_config.json b/.github/mlc_config.json new file mode 100644 index 0000000..d5439a6 --- /dev/null +++ b/.github/mlc_config.json @@ -0,0 +1,22 @@ +{ + "ignorePatterns": [ + { "pattern": "^http://localhost" }, + { "pattern": "^https://localhost" }, + { "pattern": "^http://127\\.0\\.0\\.1" }, + { "pattern": "^[a-z][a-z0-9/-]*/$", "comment": "MkDocs clean URLs (e.g. getting-started/quickstart/) only resolve after the site is built; valid as authored, not checkable as raw file paths." } + ], + "httpHeaders": [ + { + "urls": ["https://github.com", "https://www.github.com"], + "headers": { + "Accept-Encoding": "gzip, deflate, br", + "User-Agent": "Mozilla/5.0 (compatible; MarkdownLinkCheck/1.0; +https://github.com/OpenAgentHQ/modeldock)" + } + } + ], + "aliveStatusCodes": [200, 206, 429], + "retryOn429": true, + "retryCount": 3, + "fallbackRetryDelay": "15s", + "timeout": "20s" +} diff --git a/.github/workflows/docs-link-check.yml b/.github/workflows/docs-link-check.yml new file mode 100644 index 0000000..7f8ae76 --- /dev/null +++ b/.github/workflows/docs-link-check.yml @@ -0,0 +1,30 @@ +name: Docs Link Check + +on: + pull_request: + branches: [main] + schedule: + - cron: "0 6 * * 1" + +permissions: + contents: read + +concurrency: + group: docs-link-check-${{ github.ref }} + cancel-in-progress: true + +jobs: + markdown-link-check: + name: Check Markdown Links + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Check links in Markdown files + uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + use-quiet-mode: "yes" + use-verbose-mode: "yes" + config-file: ".github/mlc_config.json" + folder-path: "." diff --git a/README.md b/README.md index 3e47adf..39e8dab 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Coverage PRs Forks - Stars + Stars Contributors License: MIT Python diff --git a/SUPPORT.md b/SUPPORT.md index 7af2131..38e4201 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -12,10 +12,6 @@ Thank you for using ModelDock! This document explains how to get help. - **Development**: [Development.md](Development.md) — Build, test, CI - **Changelog**: [CHANGELOG.md](CHANGELOG.md) — Version history -### Community - -- **GitHub Discussions**: [Discussions](https://github.com/OpenAgentHQ/modeldock/discussions) — Ask questions, share ideas - ### Direct Support - **Issues**: [GitHub Issues](https://github.com/OpenAgentHQ/modeldock/issues) — Bug reports and feature requests