📝 docs(custom-component.mdx): add note about custom components appearing in 'Other' category if using a subdirectory not listed in config.yaml

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-31 18:31:52 -03:00
commit 1fa00fcf8f

View file

@ -357,6 +357,8 @@ Create a folder that follows the same structural conventions as the [config.yaml
Inside `custom_components`, you can create a Python file for each component. Similarly, any custom agents should be housed in an `agents` subdirectory.
If you use a subdirectory name that is not in our config.yaml file, your component will appear in an `Other` category in the sidebar.
Your structure should look something like this:
```
@ -366,6 +368,8 @@ Your structure should look something like this:
└── ...
└── agents
└── ...
└── my_agents <-- Other category
└── ...
```
### Loading Custom Components