You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2021/03/01 09:46:25 UTC

[apisix-dashboard] 01/01: docs: improve config

This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch docs-improve-config
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git

commit b73b1d8eca0d5f9b5e48253760f8669f7980f9e1
Author: juzhiyuan <ju...@apache.org>
AuthorDate: Mon Mar 1 17:46:09 2021 +0800

    docs: improve config
---
 docs/en/latest/config.json | 32 +++++++++++++++++++++-----------
 1 file changed, 21 insertions(+), 11 deletions(-)

diff --git a/docs/en/latest/config.json b/docs/en/latest/config.json
index e3ea7c2..bc80f75 100644
--- a/docs/en/latest/config.json
+++ b/docs/en/latest/config.json
@@ -1,14 +1,24 @@
 {
   "version": 2.4,
-  "docs": {
-    "Getting Started": ["USER_GUIDE", "IMPORT_OPENAPI_USER_GUIDE", "api/api"],
-    "Installation": ["deploy-with", "deploy-with-docker", "deploy-with-rpm"],
-    "Contributing": [
-      "develop",
-      "front-end-e2e",
-      "back-end-e2e",
-      "I18N_USER_GUIDE"
-    ],
-    "FAQ": ["faq"]
-  }
+  "docs": [
+    {
+      "type": "category",
+      "label": "Getting Started",
+      "items": ["USER_GUIDE", "IMPORT_OPENAPI_USER_GUIDE", "api/api"]
+    },
+    {
+      "type": "category",
+      "label": "Installation",
+      "items": ["deploy", "deploy-with-docker", "deploy-with-rpm"]
+    },
+    {
+      "type": "category",
+      "label": "Contributing",
+      "items": ["develop", "front-end-e2e", "back-end-e2e", "I18N_USER_GUIDE"]
+    },
+    {
+      "type": "doc",
+      "id": "FAQ"
+    }
+  ]
 }