diff --git a/content/en/administration/meta.json b/content/en/administration/meta.json index 1178253c..4c4275dd 100644 --- a/content/en/administration/meta.json +++ b/content/en/administration/meta.json @@ -1,5 +1,6 @@ { "title": "Administration", + "icon": "Settings", "defaultOpen": true, "pages": [ "[Console](/en/administration/console)", @@ -8,4 +9,4 @@ "cors", "[Virtual-Host Access](/en/integration/virtual)" ] -} \ No newline at end of file +} diff --git a/content/en/developer/meta.json b/content/en/developer/meta.json index 0e098da0..8fda7cce 100644 --- a/content/en/developer/meta.json +++ b/content/en/developer/meta.json @@ -1,9 +1,10 @@ { "title": "Developer", + "icon": "CodeXml", "defaultOpen": false, "pages": [ "sdk", "integration", "license" ] -} \ No newline at end of file +} diff --git a/content/en/installation/meta.json b/content/en/installation/meta.json index 50e6f7c5..df914461 100644 --- a/content/en/installation/meta.json +++ b/content/en/installation/meta.json @@ -1,5 +1,6 @@ { "title": "Installation", + "icon": "Download", "defaultOpen": true, "pages": [ "requirement", @@ -9,4 +10,4 @@ "[Windows](/en/installation/windows)", "[macOS](/en/installation/macos)" ] -} \ No newline at end of file +} diff --git a/content/en/operations/meta.json b/content/en/operations/meta.json index 72a98c46..e2af6905 100644 --- a/content/en/operations/meta.json +++ b/content/en/operations/meta.json @@ -1,5 +1,6 @@ { "title": "Operations & Observability", + "icon": "Activity", "defaultOpen": true, "pages": [ "rc", @@ -10,4 +11,4 @@ "status-check", "event-notifications" ] -} \ No newline at end of file +} diff --git a/content/en/operations/rc.mdx b/content/en/operations/rc.mdx index f248bcf4..5339949e 100644 --- a/content/en/operations/rc.mdx +++ b/content/en/operations/rc.mdx @@ -1,5 +1,5 @@ --- -title: "rc" +title: "CLI Client (rc)" description: "Install the RustFS command-line client and use it to connect to and inspect a RustFS cluster." --- diff --git a/content/en/reference/meta.json b/content/en/reference/meta.json index c82645dd..b8a080ea 100644 --- a/content/en/reference/meta.json +++ b/content/en/reference/meta.json @@ -1,8 +1,9 @@ { "title": "Reference", + "icon": "BookOpen", "defaultOpen": false, "pages": [ "environment-variables", "cli" ] -} \ No newline at end of file +} diff --git a/content/en/security-compliance/meta.json b/content/en/security-compliance/meta.json index 83847314..929608a0 100644 --- a/content/en/security-compliance/meta.json +++ b/content/en/security-compliance/meta.json @@ -1,5 +1,6 @@ { "title": "Security & Compliance", + "icon": "ShieldCheck", "defaultOpen": true, "pages": [ "iam", diff --git a/content/en/troubleshooting/meta.json b/content/en/troubleshooting/meta.json index df5e0579..88bcf50f 100644 --- a/content/en/troubleshooting/meta.json +++ b/content/en/troubleshooting/meta.json @@ -1,8 +1,9 @@ { "title": "Troubleshooting", + "icon": "Wrench", "defaultOpen": false, "pages": [ "driver", "node" ] -} \ No newline at end of file +} diff --git a/content/zh/administration/meta.json b/content/zh/administration/meta.json index 4b640d90..2640466a 100644 --- a/content/zh/administration/meta.json +++ b/content/zh/administration/meta.json @@ -1,5 +1,6 @@ { "title": "管理", + "icon": "Settings", "defaultOpen": true, "pages": [ "[控制台](/zh/administration/console)", @@ -8,4 +9,4 @@ "cors", "[虚拟主机访问](/zh/integration/virtual)" ] -} \ No newline at end of file +} diff --git a/content/zh/developer/meta.json b/content/zh/developer/meta.json index f175aa0b..5110637e 100644 --- a/content/zh/developer/meta.json +++ b/content/zh/developer/meta.json @@ -1,9 +1,10 @@ { "title": "开发者", + "icon": "CodeXml", "defaultOpen": false, "pages": [ "sdk", "integration", "license" ] -} \ No newline at end of file +} diff --git a/content/zh/installation/meta.json b/content/zh/installation/meta.json index 3735d432..8e1f7643 100644 --- a/content/zh/installation/meta.json +++ b/content/zh/installation/meta.json @@ -1,5 +1,6 @@ { "title": "安装", + "icon": "Download", "defaultOpen": true, "pages": [ "requirement", @@ -9,4 +10,4 @@ "[Windows](/zh/installation/windows)", "[macOS](/zh/installation/macos)" ] -} \ No newline at end of file +} diff --git a/content/zh/operations/meta.json b/content/zh/operations/meta.json index aa93c3df..8b01e076 100644 --- a/content/zh/operations/meta.json +++ b/content/zh/operations/meta.json @@ -1,5 +1,6 @@ { "title": "运维与可观测性", + "icon": "Activity", "defaultOpen": true, "pages": [ "rc", @@ -10,4 +11,4 @@ "status-check", "event-notifications" ] -} \ No newline at end of file +} diff --git a/content/zh/operations/rc.mdx b/content/zh/operations/rc.mdx index 3e766683..a0cd89ce 100644 --- a/content/zh/operations/rc.mdx +++ b/content/zh/operations/rc.mdx @@ -1,5 +1,5 @@ --- -title: "rc" +title: "命令行客户端(rc)" description: "安装 RustFS 命令行客户端,并使用它连接和检查 RustFS 集群。" --- @@ -167,4 +167,4 @@ rc bucket lifecycle --help rc object --help ``` -有关完整源代码和命令参考,请参阅 [RustFS CLI 仓库](https://github.com/rustfs/cli)。 \ No newline at end of file +有关完整源代码和命令参考,请参阅 [RustFS CLI 仓库](https://github.com/rustfs/cli)。 diff --git a/content/zh/reference/meta.json b/content/zh/reference/meta.json index 41121a97..11f58981 100644 --- a/content/zh/reference/meta.json +++ b/content/zh/reference/meta.json @@ -1,8 +1,9 @@ { "title": "参考", + "icon": "BookOpen", "defaultOpen": false, "pages": [ "environment-variables", "cli" ] -} \ No newline at end of file +} diff --git a/content/zh/security-compliance/meta.json b/content/zh/security-compliance/meta.json index d98c6b09..2224bd19 100644 --- a/content/zh/security-compliance/meta.json +++ b/content/zh/security-compliance/meta.json @@ -1,5 +1,6 @@ { "title": "安全与合规", + "icon": "ShieldCheck", "defaultOpen": true, "pages": [ "iam", diff --git a/content/zh/troubleshooting/meta.json b/content/zh/troubleshooting/meta.json index 40e7d467..18e6f54c 100644 --- a/content/zh/troubleshooting/meta.json +++ b/content/zh/troubleshooting/meta.json @@ -1,8 +1,9 @@ { "title": "故障排除", + "icon": "Wrench", "defaultOpen": false, "pages": [ "driver", "node" ] -} \ No newline at end of file +} diff --git a/press.config.tsx b/press.config.tsx index ca859a92..fb3213f4 100644 --- a/press.config.tsx +++ b/press.config.tsx @@ -1,4 +1,5 @@ import { defineConfig } from "fumapress"; +import { lucideIconsPlugin } from "fumadocs-core/source/plugins/lucide-icons"; import { fumadocsMdx } from "fumapress/adapters/mdx"; import { flexsearchPlugin } from "fumapress/plugins/flexsearch"; import { llmsPlugin } from "fumapress/plugins/llms.txt"; @@ -79,6 +80,9 @@ function createSidebarFooter(locale: keyof typeof layoutLabels) { export default defineConfig({ content: docs.toFumadocsSource(), translations, + loaderOptions: { + plugins: [lucideIconsPlugin()], + }, site: { name: "RustFS Documentation", baseUrl: isDev ? "http://localhost:3000" : "https://docs.rustfs.com",