Skip to content

Commit 8c92352

Browse files
Change docs theme to palm while preserving custom colors (#504)
* Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update docs.json * Update navigation * Update index.mdx * Update docs.json * Update navigation * Merge changes from main * Update mint to 4.2.186 and add mode to zh-CN index * Update .mcp.json to change Mintlify command and args, add dark color to docs.json, and update package-lock.json with dependency version changes and new packages. * Refactor documentation structure by reintroducing the Community section in both English and Chinese versions, and enhance the homepage layout with new sections for Getting Started, Learn & Tutorials, Development, and Get Help. Adjust styles for better spacing and presentation. * Update package-lock.json to upgrade React from version 19.1.0 to 19.2.0, including updated resolved URL and integrity hash. --------- Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> Co-authored-by: ComfyUI Wiki <[email protected]>
1 parent 8bb97c5 commit 8c92352

File tree

6 files changed

+4200
-893
lines changed

6 files changed

+4200
-893
lines changed

.mcp.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"playwright": {
44
"command": "npx",
55
"args": ["-y", "@executeautomation/playwright-mcp-server"]
6+
},
7+
"mintlify": {
8+
"command": "npx",
9+
"args": ["-y", "@mintlify/mcp", "docs.comfy.org"]
610
}
711
}
812
}

docs.json

Lines changed: 62 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"$schema": "https://mintlify.com/docs.json",
3-
"theme": "maple",
3+
"theme": "almond",
44
"name": "ComfyUI",
55
"colors": {
66
"primary": "#1A56DB",
7-
"light": "#1A56DB"
7+
"light": "#1A56DB",
8+
"dark": "#1A56DB"
89
},
910
"icons": {
1011
"library": "fontawesome"
@@ -14,10 +15,9 @@
1415
"languages": [
1516
{
1617
"language": "en",
17-
"dropdowns": [
18+
"tabs": [
1819
{
19-
"dropdown": "Get Started",
20-
"icon": "sparkles",
20+
"tab": "Get Started",
2121
"pages": [
2222
{
2323
"group": "Get Started",
@@ -267,25 +267,11 @@
267267
]
268268
}
269269
]
270-
},
271-
{
272-
"group": "Troubleshooting",
273-
"icon": "bug",
274-
"pages": [
275-
"troubleshooting/overview",
276-
"troubleshooting/model-issues",
277-
"troubleshooting/custom-node-issues"
278-
]
279-
},
280-
{
281-
"group": "Community",
282-
"pages": ["community/contributing", "community/links"]
283270
}
284271
]
285272
},
286273
{
287-
"dropdown": "Built-in Nodes",
288-
"icon": "network-wired",
274+
"tab": "Built-in Nodes",
289275
"pages": [
290276
"built-in-nodes/overview",
291277
{
@@ -472,8 +458,7 @@
472458
]
473459
},
474460
{
475-
"dropdown": "Development",
476-
"icon": "terminal",
461+
"tab": "Development",
477462
"pages": [
478463
"development/overview",
479464
{
@@ -569,17 +554,34 @@
569554
]
570555
},
571556
{
572-
"dropdown": "Registry API Reference",
557+
"tab": "Support",
558+
"pages": [
559+
{
560+
"group": "Troubleshooting",
561+
"icon": "bug",
562+
"pages": [
563+
"troubleshooting/overview",
564+
"troubleshooting/model-issues",
565+
"troubleshooting/custom-node-issues"
566+
]
567+
},
568+
{
569+
"group": "Community",
570+
"pages": ["community/contributing", "community/links"]
571+
}
572+
]
573+
},
574+
{
575+
"tab": "Registry API Reference",
573576
"openapi": "https://api.comfy.org/openapi"
574577
}
575578
]
576579
},
577580
{
578581
"language": "cn",
579-
"dropdowns": [
582+
"tabs": [
580583
{
581-
"dropdown": "开始使用",
582-
"icon": "sparkles",
584+
"tab": "开始使用",
583585
"pages": [
584586
{
585587
"group": "开始使用",
@@ -835,25 +837,11 @@
835837
]
836838
}
837839
]
838-
},
839-
{
840-
"group": "故障排除",
841-
"icon": "bug",
842-
"pages": [
843-
"zh-CN/troubleshooting/overview",
844-
"zh-CN/troubleshooting/model-issues",
845-
"zh-CN/troubleshooting/custom-node-issues"
846-
]
847-
},
848-
{
849-
"group": "社区",
850-
"pages": ["community/contributing", "zh-CN/community/links"]
851840
}
852841
]
853842
},
854843
{
855-
"dropdown": "内置节点",
856-
"icon": "network-wired",
844+
"tab": "内置节点",
857845
"pages": [
858846
"zh-CN/built-in-nodes/overview",
859847
{
@@ -1040,8 +1028,7 @@
10401028
]
10411029
},
10421030
{
1043-
"dropdown": "开发",
1044-
"icon": "terminal",
1031+
"tab": "开发",
10451032
"pages": [
10461033
"zh-CN/development/overview",
10471034
{
@@ -1142,7 +1129,25 @@
11421129
]
11431130
},
11441131
{
1145-
"dropdown": "Registry API 参考文档",
1132+
"tab": "支持",
1133+
"pages": [
1134+
{
1135+
"group": "故障排除",
1136+
"icon": "bug",
1137+
"pages": [
1138+
"zh-CN/troubleshooting/overview",
1139+
"zh-CN/troubleshooting/model-issues",
1140+
"zh-CN/troubleshooting/custom-node-issues"
1141+
]
1142+
},
1143+
{
1144+
"group": "社区",
1145+
"pages": ["zh-CN/community/contributing", "zh-CN/community/links"]
1146+
}
1147+
]
1148+
},
1149+
{
1150+
"tab": "Registry API 参考文档",
11461151
"openapi": "https://api.comfy.org/openapi"
11471152
}
11481153
]
@@ -1154,6 +1159,19 @@
11541159
"dark": "/logo/dark.svg",
11551160
"href": "https://docs.comfy.org"
11561161
},
1162+
"navbar": {
1163+
"links": [
1164+
{
1165+
"label": "Download",
1166+
"href": "https://comfy.org/download"
1167+
}
1168+
],
1169+
"primary": {
1170+
"type": "button",
1171+
"label": "Comfy Cloud",
1172+
"href": "https://comfy.org/cloud?utm_source=comfy&utm_content=docs"
1173+
}
1174+
},
11571175
"appearance": {
11581176
"default": "dark",
11591177
"strict": false

0 commit comments

Comments
 (0)