fix: update documentation links for Custom Component to use the correct URL (#6145)
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
792f882088
commit
9ba0c9ce13
12 changed files with 16 additions and 12 deletions
|
|
@ -99,7 +99,7 @@ from langflow.schema import Data
|
|||
class CustomComponent(Component):
|
||||
display_name = "Custom Component"
|
||||
description = "Use as a template to create your own component."
|
||||
documentation: str = "http://docs.langflow.org/components/custom"
|
||||
documentation: str = "https://docs.langflow.org/components-custom-components"
|
||||
icon = "custom_components"
|
||||
name = "CustomComponent"
|
||||
```
|
||||
|
|
|
|||
|
|
@ -175,6 +175,10 @@ const config = {
|
|||
to: "/concepts-api",
|
||||
from: "/workspace-api",
|
||||
},
|
||||
{
|
||||
to: "/components-custom-components",
|
||||
from: "/components/custom",
|
||||
},
|
||||
// add more redirects like this
|
||||
// {
|
||||
// to: '/docs/anotherpage',
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ from langflow.schema import Data
|
|||
class CustomComponent(Component):
|
||||
display_name = "Custom Component"
|
||||
description = "Use as a template to create your own component."
|
||||
documentation: str = "http://docs.langflow.org/components/custom"
|
||||
documentation: str = "https://docs.langflow.org/components-custom-components"
|
||||
icon = "code"
|
||||
name = "CustomComponent"
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class MCPSse(Component):
|
|||
tool_names = [str]
|
||||
display_name = "MCP Tools (SSE)"
|
||||
description = "Connects to an MCP server over SSE and exposes it's tools as langflow tools to be used by an Agent."
|
||||
documentation: str = "http://docs.langflow.org/components/custom"
|
||||
documentation: str = "https://docs.langflow.org/components-custom-components"
|
||||
icon = "code"
|
||||
name = "MCPSse"
|
||||
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ class MCPStdio(Component):
|
|||
description = (
|
||||
"Connects to an MCP server over stdio and exposes it's tools as langflow tools to be used by an Agent."
|
||||
)
|
||||
documentation: str = "http://docs.langflow.org/components/custom"
|
||||
documentation: str = "https://docs.langflow.org/components-custom-components"
|
||||
icon = "code"
|
||||
name = "MCPStdio"
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@
|
|||
"Data"
|
||||
],
|
||||
"display_name": "Async Component",
|
||||
"documentation": "http://docs.langflow.org/components/custom",
|
||||
"documentation": "https://docs.langflow.org/components-custom-components",
|
||||
"minimized": false,
|
||||
"custom_fields": {},
|
||||
"output_types": [],
|
||||
|
|
@ -850,7 +850,7 @@
|
|||
"icon": "custom_components",
|
||||
"base_classes": [],
|
||||
"display_name": "Custom Component",
|
||||
"documentation": "http://docs.langflow.org/components/custom",
|
||||
"documentation": "https://docs.langflow.org/components-custom-components",
|
||||
"custom_fields": {},
|
||||
"output_types": [],
|
||||
"pinned": false,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ from langflow.schema import Data
|
|||
class DynamicOutputComponent(Component):
|
||||
display_name = "Dynamic Output Component"
|
||||
description = "Use as a template to create your own component."
|
||||
documentation: str = "http://docs.langflow.org/components/custom"
|
||||
documentation: str = "https://docs.langflow.org/components-custom-components"
|
||||
icon = "custom_components"
|
||||
name = "DynamicOutputComponent"
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
},
|
||||
"base_classes": ["str"],
|
||||
"display_name": "text checkpoint",
|
||||
"documentation": "http://docs.langflow.org/components/custom",
|
||||
"documentation": "https://docs.langflow.org/components-custom-components",
|
||||
"custom_fields": {
|
||||
"save_path": null,
|
||||
"text_input": null
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ import time
|
|||
class CustomComponent(Component):
|
||||
display_name = "Custom Component"
|
||||
description = "Use as a template to create your own component."
|
||||
documentation: str = "http://docs.langflow.org/components/custom"
|
||||
documentation: str = "https://docs.langflow.org/components-custom-components"
|
||||
icon = "custom_components"
|
||||
name = "CustomComponent"
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ from langflow.schema import Data
|
|||
class CustomComponent(Component):
|
||||
display_name = "Custom Component"
|
||||
description = "Use as a template to create your own component."
|
||||
documentation: str = "http://docs.langflow.org/components/custom"
|
||||
documentation: str = "https://docs.langflow.org/components-custom-components"
|
||||
icon = "custom_components"
|
||||
name = "CustomComponent"
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ from langflow.schema.message import Message
|
|||
class CustomComponent(Component):
|
||||
display_name = "Custom Component"
|
||||
description = "Use as a template to create your own component."
|
||||
documentation: str = "http://docs.langflow.org/components/custom"
|
||||
documentation: str = "https://docs.langflow.org/components-custom-components"
|
||||
icon = "custom_components"
|
||||
name = "CustomComponent"
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ import pytorch
|
|||
class CustomComponent(Component):
|
||||
display_name = "Custom Component"
|
||||
description = "Use as a template to create your own component."
|
||||
documentation: str = "http://docs.langflow.org/components/custom"
|
||||
documentation: str = "https://docs.langflow.org/components-custom-components"
|
||||
icon = "custom_components"
|
||||
name = "CustomComponent"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue