How to document an enum?

I do a primary docstring like you have, but also a short docstring for each variant so that ?VSM tells me what it is

@doc """
   VSM::Model

Vortex Step Method.

See also [`Model`](@ref).
""" VSM

@doc """
   LLT::Model

Lifting Line Theory.

See also [`Model`](@ref).
""" LLT
3 Likes