Try Install Learn Blog API Packages GitHub
Pages

Documentation Directive

The @documentation directive compiles the JSON documentation of the given entity into the resulting JavaScript code so it can be used to display information about that entity.

record Component {
  name : String
}

try {
  decoded =
    decode @documentation(Main) as Component

  decoded.name
}