Explorar o código

Update docs and side navbar. (#1097)

Taranjeet Singh hai 1 ano
pai
achega
367d6b70e2

+ 1 - 1
docs/components/data-sources/directory.mdx

@@ -1,5 +1,5 @@
 ---
-title: '📁 Directory'
+title: '📁 Directory/Folder'
 ---
 
 To use an entire directory as data source, just add `data_type` as `directory` and pass in the path of the local directory.

+ 1 - 1
docs/components/data-sources/docs-site.mdx

@@ -1,5 +1,5 @@
 ---
-title: '📚 Code documentation'
+title: '📚 Code Docs website'
 ---
 
 To add any code documentation website as a loader, use the data_type as `docs_site`. Eg:

+ 10 - 10
docs/components/data-sources/overview.mdx

@@ -8,30 +8,30 @@ Embedchain comes with built-in support for various data sources. We handle the c
   <Card title="📰 PDF file" href="/components/data-sources/pdf-file"></Card>
   <Card title="📊 CSV file" href="/components/data-sources/csv"></Card>
   <Card title="📃 JSON file" href="/components/data-sources/json"></Card>
-  <Card title="📽️ Youtube Channel" href="/components/data-sources/youtube-channel"></Card>
-  <Card title="📺 Youtube" href="/components/data-sources/youtube-video"></Card>
   <Card title="📝 Text" href="/components/data-sources/text"></Card>
-  <Card title="📚 Documentation website" href="/components/data-sources/docs-site"></Card>
-  <Card title="📄 DOCX file" href="/components/data-sources/docx"></Card>
+  <Card title="📁 Directory/ Folder" href="/components/data-sources/directory"></Card>
+  <Card title="🌐 HTML Web page" href="/components/data-sources/web-page"></Card>
+  <Card title="📽️ Youtube Channel" href="/components/data-sources/youtube-channel"></Card>
+  <Card title="📺 Youtube Video" href="/components/data-sources/youtube-video"></Card>
+  <Card title="📚 Docs website" href="/components/data-sources/docs-site"></Card>
   <Card title="📝 MDX file" href="/components/data-sources/mdx"></Card>
+  <Card title="📄 DOCX file" href="/components/data-sources/docx"></Card>
   <Card title="📓 Notion" href="/components/data-sources/notion"></Card>
-  <Card title="❓💬 Q&A pair" href="/components/data-sources/qna"></Card>
   <Card title="🗺️ Sitemap" href="/components/data-sources/sitemap"></Card>
-  <Card title="🌐 Web page" href="/components/data-sources/web-page"></Card>
   <Card title="🧾 XML file" href="/components/data-sources/xml"></Card>
+  <Card title="❓💬 Q&A pair" href="/components/data-sources/qna"></Card>
   <Card title="🙌 OpenAPI" href="/components/data-sources/openapi"></Card>
   <Card title="📬 Gmail" href="/components/data-sources/gmail"></Card>
+  <Card title="📝 Github" href="/components/data-sources/github"></Card>
   <Card title="🐘 Postgres" href="/components/data-sources/postgres"></Card>
   <Card title="🐬 MySQL" href="/components/data-sources/mysql"></Card>
   <Card title="🤖 Slack" href="/components/data-sources/slack"></Card>
-  <Card title="🗨️ Discourse" href="/components/data-sources/discourse"></Card>
   <Card title="💬 Discord" href="/components/data-sources/discord"></Card>
-  <Card title="📝 Github" href="/components/data-sources/github"></Card>
-  <Card title="⚙️ Custom" href="/components/data-sources/custom"></Card>
+  <Card title="🗨️ Discourse" href="/components/data-sources/discourse"></Card>
   <Card title="📝 Substack" href="/components/data-sources/substack"></Card>
   <Card title="🐝 Beehiiv" href="/components/data-sources/beehiiv"></Card>
-  <Card title="📁 Directory" href="/components/data-sources/directory"></Card>
   <Card title="💾 Dropbox" href="/components/data-sources/dropbox"></Card>
+  <Card title="⚙️ Custom" href="/components/data-sources/custom"></Card>
 </CardGroup>
 
 <br/ >

+ 1 - 1
docs/components/data-sources/web-page.mdx

@@ -1,5 +1,5 @@
 ---
-title: '🌐 Web page'
+title: '🌐 HTML Web page'
 ---
 
 To add any web page, use the data_type as `web_page`. Eg:

+ 1 - 1
docs/components/data-sources/youtube-video.mdx

@@ -1,5 +1,5 @@
 ---
-title: '📺 Youtube'
+title: '📺 Youtube Video'
 ---
 
 To add any youtube video to your app, use the data_type as `youtube_video`. Eg:

+ 17 - 9
docs/mint.json

@@ -94,25 +94,33 @@
             {
               "group": "Data types",
               "pages": [
+                "components/data-sources/pdf-file",
                 "components/data-sources/csv",
                 "components/data-sources/json",
+                "components/data-sources/text",
+                "components/data-sources/directory",
+                "components/data-sources/web-page",
+                "components/data-sources/youtube-channel",
+                "components/data-sources/youtube-video",
                 "components/data-sources/docs-site",
-                "components/data-sources/docx",
                 "components/data-sources/mdx",
+                "components/data-sources/docx",
                 "components/data-sources/notion",
-                "components/data-sources/pdf-file",
-                "components/data-sources/qna",
                 "components/data-sources/sitemap",
-                "components/data-sources/text",
-                "components/data-sources/web-page",
+                "components/data-sources/xml",
+                "components/data-sources/qna",
                 "components/data-sources/openapi",
-                "components/data-sources/youtube-video",
+                "components/data-sources/gmail",
+                "components/data-sources/github",
+                "components/data-sources/postgres",
+                "components/data-sources/mysql",
+                "components/data-sources/slack",
+                "components/data-sources/discord",
                 "components/data-sources/discourse",
                 "components/data-sources/substack",
-                "components/data-sources/discord",
                 "components/data-sources/beehiiv",
-                "components/data-sources/directory",
-                "components/data-sources/dropbox"
+                "components/data-sources/dropbox",
+                "components/data-sources/custom"
               ]
             },
             "components/data-sources/data-type-handling"