Skip to content

Commit 7e43422

Browse files
committed
docs(ca): fix plugin template XML root element
Change example from nested <Containers><Plugin> to standalone <Plugin> root element. The previous nesting was invalid for plugin templates.
1 parent 58088ac commit 7e43422

1 file changed

Lines changed: 16 additions & 15 deletions

File tree

docs/distribution/community-applications.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,26 +41,27 @@ The template file describes your plugin to Community Applications. It contains d
4141

4242
```xml
4343
<?xml version="1.0" encoding="UTF-8"?>
44-
<Containers>
45-
<Plugin>
46-
<Name>My Plugin Name</Name>
47-
<PluginURL>https://raw.githubusercontent.com/username/repo/main/myplugin.plg</PluginURL>
48-
<PluginAuthor>Your Name</PluginAuthor>
49-
<Description>
44+
<Plugin>
45+
<Name>My Plugin Name</Name>
46+
<PluginURL>https://raw.githubusercontent.com/username/repo/main/myplugin.plg</PluginURL>
47+
<PluginAuthor>Your Name</PluginAuthor>
48+
<Description>
5049
A brief description of what your plugin does. This appears in search results.
5150

5251
A longer description can follow. Use plain text, basic formatting is supported.
53-
</Description>
54-
<Icon>https://raw.githubusercontent.com/username/repo/main/icon.png</Icon>
55-
<Category>Tools: Productivity:</Category>
56-
<Support>https://forums.unraid.net/topic/12345-my-plugin-support/</Support>
57-
<Project>https://github.com/username/repo</Project>
58-
<MinVer>6.9.0</MinVer>
59-
<MaxVer>7.99</MaxVer>
60-
</Plugin>
61-
</Containers>
52+
</Description>
53+
<Icon>https://raw.githubusercontent.com/username/repo/main/icon.png</Icon>
54+
<Category>Tools: Productivity:</Category>
55+
<Support>https://forums.unraid.net/topic/12345-my-plugin-support/</Support>
56+
<Project>https://github.com/username/repo</Project>
57+
<MinVer>6.9.0</MinVer>
58+
<MaxVer>7.99</MaxVer>
59+
</Plugin>
6260
```
6361

62+
{: .note }
63+
> Use either a `Plugin` root or a `Containers` root format expected by the target CA template type. Do not nest `<Plugin>` inside `<Containers>` for plugin templates.
64+
6465
### Template Elements
6566

6667
| Element | Required | Description |

0 commit comments

Comments
 (0)