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:
Mendon Kissling 2025-02-06 17:39:05 -05:00 • committed by GitHub
commit 9ba0c9ce13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 16 additions and 12 deletions

View file

@ -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"
```

View file

@ -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',