Update logo files (#1473)

This commit is contained in:
Jeremiah Lowin 2025-08-12 17:19:10 -04:00 committed by GitHub
commit c8d03dacc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 43 additions and 4 deletions

View file

@ -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"