For the complete documentation index, see llms.txt. This page is also available as Markdown.

Config Categories

Config categories are like normal configs except they can be included in other configs or categories. Categories must be annotated with the @Category annotation its only change that is different from a config is that its id is not restricted to being very basic characters.

Config categories unlike entries are added to a config or category via its annotation with categories parameter. Categories are ordered by the way they are put into the annotations list. So if you want category 1 to show up before category 2 have category 1 higher in the list.

The following is an example of how to add categories to a config, this can also be done for a category as it has the same parameter.

@Config(
    value = "demo",
    categories = {
            Category1.class,
            DemoConfig.Category2.class
    }
)

Last updated