Przeglądaj źródła

feat(docs): add blogs nav to docs (#804)

xiamidaxia 4 miesięcy temu
rodzic
commit
2a5b01a39a

+ 0 - 5
apps/docs/rspress.config.ts

@@ -172,11 +172,6 @@ export default defineConfig({
         mode: 'link',
         mode: 'link',
         content: 'https://x.com/FlowGramAI',
         content: 'https://x.com/FlowGramAI',
       },
       },
-      {
-        icon: 'juejin',
-        mode: 'link',
-        content: 'https://juejin.cn/column/7479814468601315362',
-      },
     ],
     ],
   },
   },
 });
 });

+ 5 - 1
apps/docs/src/en/_nav.json

@@ -15,7 +15,11 @@
     "activeMatch": "/api/"
     "activeMatch": "/api/"
   },
   },
   {
   {
-    "text": "API Documentation",
+    "text": "Blogs",
+    "link": "https://juejin.cn/column/7479814468601315362"
+  },
+  {
+    "text": "TypeDocs",
     "link": "/auto-docs/",
     "link": "/auto-docs/",
     "activeMatch": "/auto-docs/"
     "activeMatch": "/auto-docs/"
   }
   }

+ 5 - 1
apps/docs/src/zh/_nav.json

@@ -15,7 +15,11 @@
     "activeMatch": "/api/"
     "activeMatch": "/api/"
   },
   },
   {
   {
-    "text": "API 文档",
+    "text": "掘金专栏",
+    "link": "https://juejin.cn/column/7479814468601315362"
+  },
+  {
+    "text": "TypeDocs",
     "link": "/auto-docs/",
     "link": "/auto-docs/",
     "activeMatch": "/auto-docs/"
     "activeMatch": "/auto-docs/"
   }
   }