Spaces:
Running
Running
Jeremiah Lowin commited on
Update logo files (#1473)
Browse files
.github/workflows/run-static.yml
CHANGED
|
@@ -58,13 +58,30 @@ jobs:
|
|
| 58 |
SKIP: no-commit-to-branch
|
| 59 |
- name: Check SDK documentation is up to date
|
| 60 |
run: |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
just api-ref-all > /dev/null 2>&1
|
| 62 |
-
|
|
|
|
|
|
|
| 63 |
echo "❌ SDK documentation is out of date!"
|
| 64 |
echo "Files that were updated:"
|
| 65 |
-
git diff --name-only docs/python-sdk/
|
| 66 |
echo ""
|
| 67 |
echo "Run 'just api-ref-all' and commit the changes."
|
| 68 |
exit 1
|
| 69 |
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
echo "✅ SDK documentation is up to date"
|
|
|
|
| 58 |
SKIP: no-commit-to-branch
|
| 59 |
- name: Check SDK documentation is up to date
|
| 60 |
run: |
|
| 61 |
+
# Save original docs.json for comparison
|
| 62 |
+
cp docs/docs.json docs/docs.json.orig
|
| 63 |
+
|
| 64 |
+
# Generate documentation
|
| 65 |
just api-ref-all > /dev/null 2>&1
|
| 66 |
+
|
| 67 |
+
# Check if python-sdk files changed
|
| 68 |
+
if ! git diff --quiet docs/python-sdk/; then
|
| 69 |
echo "❌ SDK documentation is out of date!"
|
| 70 |
echo "Files that were updated:"
|
| 71 |
+
git diff --name-only docs/python-sdk/
|
| 72 |
echo ""
|
| 73 |
echo "Run 'just api-ref-all' and commit the changes."
|
| 74 |
exit 1
|
| 75 |
fi
|
| 76 |
+
|
| 77 |
+
# Check if docs.json content changed (ignoring formatting)
|
| 78 |
+
if ! jq --sort-keys . docs/docs.json.orig | diff -q - <(jq --sort-keys . docs/docs.json) > /dev/null 2>&1; then
|
| 79 |
+
echo "❌ docs.json content has changed!"
|
| 80 |
+
echo "Run 'just api-ref-all' and commit the changes."
|
| 81 |
+
exit 1
|
| 82 |
+
fi
|
| 83 |
+
|
| 84 |
+
# Restore original docs.json to avoid false positives
|
| 85 |
+
mv docs/docs.json.orig docs/docs.json
|
| 86 |
+
|
| 87 |
echo "✅ SDK documentation is up to date"
|
docs/assets/brand/card-background.png
ADDED
|
Git LFS Details
|
docs/assets/{favicon.svg → brand/favicon.svg}
RENAMED
|
File without changes
|
docs/assets/brand/logo-wordmark-dark.svg
ADDED
|
|
docs/assets/brand/logo-wordmark.svg
ADDED
|
|
docs/css/style.css
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
/* Code highlighting -- target only inline code elements, not code blocks */
|
| 2 |
p code:not(pre code),
|
| 3 |
table code:not(pre code),
|
|
@@ -12,3 +16,5 @@ h6 code:not(pre code) {
|
|
| 12 |
color: #f72585 !important;
|
| 13 |
background-color: rgba(247, 37, 133, 0.09);
|
| 14 |
}
|
|
|
|
|
|
|
|
|
| 1 |
+
img.nav-logo {
|
| 2 |
+
height: 34px;
|
| 3 |
+
}
|
| 4 |
+
|
| 5 |
/* Code highlighting -- target only inline code elements, not code blocks */
|
| 6 |
p code:not(pre code),
|
| 7 |
table code:not(pre code),
|
|
|
|
| 16 |
color: #f72585 !important;
|
| 17 |
background-color: rgba(247, 37, 133, 0.09);
|
| 18 |
}
|
| 19 |
+
|
| 20 |
+
|
docs/docs.json
CHANGED
|
@@ -4,6 +4,10 @@
|
|
| 4 |
"default": "system",
|
| 5 |
"strict": false
|
| 6 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
"background": {
|
| 8 |
"color": {
|
| 9 |
"dark": "#222831",
|
|
@@ -11,6 +15,10 @@
|
|
| 11 |
},
|
| 12 |
"decoration": "windows"
|
| 13 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
"banner": {
|
| 15 |
"content": "Remote MCP that just works. [Try FastMCP Cloud ->](https://fastmcp.link/IhmBxWn)"
|
| 16 |
},
|
|
@@ -21,8 +29,8 @@
|
|
| 21 |
},
|
| 22 |
"description": "The fast, Pythonic way to build MCP servers and clients.",
|
| 23 |
"favicon": {
|
| 24 |
-
"dark": "/assets/favicon.svg",
|
| 25 |
-
"light": "/assets/favicon.svg"
|
| 26 |
},
|
| 27 |
"footer": {
|
| 28 |
"socials": {
|
|
|
|
| 4 |
"default": "system",
|
| 5 |
"strict": false
|
| 6 |
},
|
| 7 |
+
"logo": {
|
| 8 |
+
"light": "/assets/brand/logo-wordmark.svg",
|
| 9 |
+
"dark": "/assets/brand/logo-wordmark-dark.svg"
|
| 10 |
+
},
|
| 11 |
"background": {
|
| 12 |
"color": {
|
| 13 |
"dark": "#222831",
|
|
|
|
| 15 |
},
|
| 16 |
"decoration": "windows"
|
| 17 |
},
|
| 18 |
+
"thumbnails": {
|
| 19 |
+
"appearance": "light",
|
| 20 |
+
"background": "/assets/brand/card-background.png"
|
| 21 |
+
},
|
| 22 |
"banner": {
|
| 23 |
"content": "Remote MCP that just works. [Try FastMCP Cloud ->](https://fastmcp.link/IhmBxWn)"
|
| 24 |
},
|
|
|
|
| 29 |
},
|
| 30 |
"description": "The fast, Pythonic way to build MCP servers and clients.",
|
| 31 |
"favicon": {
|
| 32 |
+
"dark": "/assets/brand/favicon.svg",
|
| 33 |
+
"light": "/assets/brand/favicon.svg"
|
| 34 |
},
|
| 35 |
"footer": {
|
| 36 |
"socials": {
|