Annotation Type Documentation.Section

Enclosing class:
Documentation

@Target(FIELD) @Retention(RUNTIME) @Internal public static @interface Documentation.Section
Annotation used on config option fields to include them in specific sections. Sections are groups of options that are aggregated across option classes, with each group being placed into a dedicated file.

The position() argument controls the position in the generated table, with lower values being placed at the top. Fields with the same position are sorted alphabetically by key.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The relative position of the option in its section.
    The sections in the config docs where this option should be included.
  • Element Details

    • value

      String[] value
      The sections in the config docs where this option should be included.
      Default:
      {}
    • position

      int position
      The relative position of the option in its section.
      Default:
      2147483647