📝 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:
parent
a5cb741fc5
commit
1fa00fcf8f
1 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
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:
|
Your structure should look something like this:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
@ -366,6 +368,8 @@ Your structure should look something like this:
|
||||||
└── ...
|
└── ...
|
||||||
└── agents
|
└── agents
|
||||||
└── ...
|
└── ...
|
||||||
|
└── my_agents <-- Other category
|
||||||
|
└── ...
|
||||||
```
|
```
|
||||||
|
|
||||||
### Loading Custom Components
|
### Loading Custom Components
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue