DocStringExtensions.jl
DocStringExtensions.jl copied to clipboard
MODULES key not found for `@template`
maybe I'm using it wrong, but
module Foo
@template MODULES = Foo
end
resultes in
ERROR: LoadError: KeyError: key :MODULES not found
From what I recall it's meant to work in the following way: @template MODULES = "..."
defines a template in the top module that can be used in any submodules by using @template MODULES = ParentModule
. Using it to refer to itself can't work. That's what I vaguely remember it being meant to do anyway.