Enums
The docstring for this abbreviation is in the reference.
"""
[`INSTANCES`](@ref) lists the instances of an enum with their values:
$(INSTANCES)
"""
@enum Fruit apple banana = 3 cherry
The docstring renders as:
Examples.Fruit — Type
INSTANCES lists the instances of an enum with their values:
apple= 0banana= 3cherry= 4