From 14a0dd0b1627b570a731016f4b8c2526be435b44 Mon Sep 17 00:00:00 2001 From: carlosrcoelho Date: Fri, 23 Jun 2023 14:08:45 -0300 Subject: [PATCH] improved mendable file and centralized videos. --- docs/.docusaurus/docusaurus.config.mjs | 7 ++----- docs/docs/collection.mdx | 5 ++++- docs/docs/components.mdx | 5 ++++- docs/docs/creating-flows.mdx | 12 +++++++++--- docs/docs/features.mdx | 5 ++++- docs/docusaurus.config.js | 5 ++--- 6 files changed, 25 insertions(+), 14 deletions(-) diff --git a/docs/.docusaurus/docusaurus.config.mjs b/docs/.docusaurus/docusaurus.config.mjs index 59f9fa94d..b0b597e6c 100644 --- a/docs/.docusaurus/docusaurus.config.mjs +++ b/docs/.docusaurus/docusaurus.config.mjs @@ -7,17 +7,14 @@ export default { "title": "LangFlow Documentation", "tagline": "LangFlow is a GUI for LangChain, designed with react-flow", "favicon": "img/favicon.ico", - "url": "https://langflow-docs.github.io", + "url": "https://langflow.docs.com", "baseUrl": "/", "onBrokenLinks": "throw", "onBrokenMarkdownLinks": "warn", "organizationName": "logspace-ai", "projectName": "langflow", - "deploymentBranch": "gh pages", "trailingSlash": false, - "customFields": { - "mendableAnonKey": "b7f52734-297c-41dc-8737-edbd13196394" - }, + "customFields": {}, "i18n": { "defaultLocale": "en", "locales": [ diff --git a/docs/docs/collection.mdx b/docs/docs/collection.mdx index efc8d9fc9..ca9231075 100644 --- a/docs/docs/collection.mdx +++ b/docs/docs/collection.mdx @@ -7,4 +7,7 @@ import ReactPlayer from 'react-player'; A collection is a snapshot of the flows available in the database. You can download your entire collection for local storage and upload it anytime for future use. - +
+ +
diff --git a/docs/docs/components.mdx b/docs/docs/components.mdx index c99c864f3..04441d682 100644 --- a/docs/docs/components.mdx +++ b/docs/docs/components.mdx @@ -38,4 +38,7 @@ On the top right corner, you will find the component status icon 🔴. Make the LangFlow components can be edited in the component settings button. Hide parameters to reduce complexity and keep the canvas clean and intuitive for experimentation. - \ No newline at end of file +
+ +
\ No newline at end of file diff --git a/docs/docs/creating-flows.mdx b/docs/docs/creating-flows.mdx index ef909862e..e830eb9c5 100644 --- a/docs/docs/creating-flows.mdx +++ b/docs/docs/creating-flows.mdx @@ -21,11 +21,17 @@ Creating flows with LangFlow is easy. Drag sidebar components onto the canvas an The easiest way to start with LangFlow is by forking a **community example**. Forking an example stores a copy in your project collection, allowing you to edit and save the modified version as a new flow. - -

+
+ +
+ ## Build Building a flow means validating if the components have prerequisites fulfilled and are properly instantiated. When a chat message is sent, the flow will run for the first time, executing the pipeline. - \ No newline at end of file +
+ +
diff --git a/docs/docs/features.mdx b/docs/docs/features.mdx index 1ff7a5217..bf227ffe4 100644 --- a/docs/docs/features.mdx +++ b/docs/docs/features.mdx @@ -58,4 +58,7 @@ Once you save a flow, the API endpoint is created with your latest changes. Clic The example below shows a Python script making a POST request to a local API endpoint, which gets a prediction based on the message input. - \ No newline at end of file +
+ +
\ No newline at end of file diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 89fa8b455..e81bea162 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -7,16 +7,15 @@ const lightCodeTheme = require('prism-react-renderer/themes/github'); title: 'LangFlow Documentation', tagline: 'LangFlow is a GUI for LangChain, designed with react-flow', favicon: 'img/favicon.ico', - url: 'https://langflow-docs.github.io', + url: 'https://langflow.docs.com', baseUrl: '/', onBrokenLinks: 'throw', onBrokenMarkdownLinks: 'warn', organizationName: 'logspace-ai', projectName: 'langflow', - deploymentBranch: 'gh pages', trailingSlash: false, customFields: { - mendableAnonKey: "b7f52734-297c-41dc-8737-edbd13196394", + mendableAnonKey: process.env.MENDABLE_ANON_KEY, }, i18n: { defaultLocale: 'en',