mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-23 22:14:18 +02:00
Update logo files (#1473)
This commit is contained in:
parent
cfbcf55e61
commit
c8d03dacc5
7 changed files with 43 additions and 4 deletions
21
.github/workflows/run-static.yml
vendored
21
.github/workflows/run-static.yml
vendored
|
|
@ -58,13 +58,30 @@ jobs:
|
|||
SKIP: no-commit-to-branch
|
||||
- name: Check SDK documentation is up to date
|
||||
run: |
|
||||
# Save original docs.json for comparison
|
||||
cp docs/docs.json docs/docs.json.orig
|
||||
|
||||
# Generate documentation
|
||||
just api-ref-all > /dev/null 2>&1
|
||||
if ! git diff --quiet docs/python-sdk/ docs/docs.json; then
|
||||
|
||||
# Check if python-sdk files changed
|
||||
if ! git diff --quiet docs/python-sdk/; then
|
||||
echo "❌ SDK documentation is out of date!"
|
||||
echo "Files that were updated:"
|
||||
git diff --name-only docs/python-sdk/ docs/docs.json
|
||||
git diff --name-only docs/python-sdk/
|
||||
echo ""
|
||||
echo "Run 'just api-ref-all' and commit the changes."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if docs.json content changed (ignoring formatting)
|
||||
if ! jq --sort-keys . docs/docs.json.orig | diff -q - <(jq --sort-keys . docs/docs.json) > /dev/null 2>&1; then
|
||||
echo "❌ docs.json content has changed!"
|
||||
echo "Run 'just api-ref-all' and commit the changes."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Restore original docs.json to avoid false positives
|
||||
mv docs/docs.json.orig docs/docs.json
|
||||
|
||||
echo "✅ SDK documentation is up to date"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue