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):
|
class CustomComponent(Component):
|
||||||
display_name = "Custom Component"
|
display_name = "Custom Component"
|
||||||
description = "Use as a template to create your own 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"
|
icon = "custom_components"
|
||||||
name = "CustomComponent"
|
name = "CustomComponent"
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -175,6 +175,10 @@ const config = {
|
||||||
to: "/concepts-api",
|
to: "/concepts-api",
|
||||||
from: "/workspace-api",
|
from: "/workspace-api",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
to: "/components-custom-components",
|
||||||
|
from: "/components/custom",
|
||||||
|
},
|
||||||
// add more redirects like this
|
// add more redirects like this
|
||||||
// {
|
// {
|
||||||
// to: '/docs/anotherpage',
|
// to: '/docs/anotherpage',
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ from langflow.schema import Data
|
||||||
class CustomComponent(Component):
|
class CustomComponent(Component):
|
||||||
display_name = "Custom Component"
|
display_name = "Custom Component"
|
||||||
description = "Use as a template to create your own 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"
|
icon = "code"
|
||||||
name = "CustomComponent"
|
name = "CustomComponent"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@ class MCPSse(Component):
|
||||||
tool_names = [str]
|
tool_names = [str]
|
||||||
display_name = "MCP Tools (SSE)"
|
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."
|
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"
|
icon = "code"
|
||||||
name = "MCPSse"
|
name = "MCPSse"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ class MCPStdio(Component):
|
||||||
description = (
|
description = (
|
||||||
"Connects to an MCP server over stdio and exposes it's tools as langflow tools to be used by an Agent."
|
"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"
|
icon = "code"
|
||||||
name = "MCPStdio"
|
name = "MCPStdio"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
"Data"
|
"Data"
|
||||||
],
|
],
|
||||||
"display_name": "Async Component",
|
"display_name": "Async Component",
|
||||||
"documentation": "http://docs.langflow.org/components/custom",
|
"documentation": "https://docs.langflow.org/components-custom-components",
|
||||||
"minimized": false,
|
"minimized": false,
|
||||||
"custom_fields": {},
|
"custom_fields": {},
|
||||||
"output_types": [],
|
"output_types": [],
|
||||||
|
|
@ -850,7 +850,7 @@
|
||||||
"icon": "custom_components",
|
"icon": "custom_components",
|
||||||
"base_classes": [],
|
"base_classes": [],
|
||||||
"display_name": "Custom Component",
|
"display_name": "Custom Component",
|
||||||
"documentation": "http://docs.langflow.org/components/custom",
|
"documentation": "https://docs.langflow.org/components-custom-components",
|
||||||
"custom_fields": {},
|
"custom_fields": {},
|
||||||
"output_types": [],
|
"output_types": [],
|
||||||
"pinned": false,
|
"pinned": false,
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ from langflow.schema import Data
|
||||||
class DynamicOutputComponent(Component):
|
class DynamicOutputComponent(Component):
|
||||||
display_name = "Dynamic Output Component"
|
display_name = "Dynamic Output Component"
|
||||||
description = "Use as a template to create your own 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"
|
icon = "custom_components"
|
||||||
name = "DynamicOutputComponent"
|
name = "DynamicOutputComponent"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
},
|
},
|
||||||
"base_classes": ["str"],
|
"base_classes": ["str"],
|
||||||
"display_name": "text checkpoint",
|
"display_name": "text checkpoint",
|
||||||
"documentation": "http://docs.langflow.org/components/custom",
|
"documentation": "https://docs.langflow.org/components-custom-components",
|
||||||
"custom_fields": {
|
"custom_fields": {
|
||||||
"save_path": null,
|
"save_path": null,
|
||||||
"text_input": null
|
"text_input": null
|
||||||
|
|
|
||||||
|
|
@ -144,7 +144,7 @@ import time
|
||||||
class CustomComponent(Component):
|
class CustomComponent(Component):
|
||||||
display_name = "Custom Component"
|
display_name = "Custom Component"
|
||||||
description = "Use as a template to create your own 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"
|
icon = "custom_components"
|
||||||
name = "CustomComponent"
|
name = "CustomComponent"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ from langflow.schema import Data
|
||||||
class CustomComponent(Component):
|
class CustomComponent(Component):
|
||||||
display_name = "Custom Component"
|
display_name = "Custom Component"
|
||||||
description = "Use as a template to create your own 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"
|
icon = "custom_components"
|
||||||
name = "CustomComponent"
|
name = "CustomComponent"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ from langflow.schema.message import Message
|
||||||
class CustomComponent(Component):
|
class CustomComponent(Component):
|
||||||
display_name = "Custom Component"
|
display_name = "Custom Component"
|
||||||
description = "Use as a template to create your own 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"
|
icon = "custom_components"
|
||||||
name = "CustomComponent"
|
name = "CustomComponent"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ import pytorch
|
||||||
class CustomComponent(Component):
|
class CustomComponent(Component):
|
||||||
display_name = "Custom Component"
|
display_name = "Custom Component"
|
||||||
description = "Use as a template to create your own 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"
|
icon = "custom_components"
|
||||||
name = "CustomComponent"
|
name = "CustomComponent"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue