Firstly, B.foo and C.bar should (i) have documentation lines and (ii) be in the markdown file, for example, in the @docs Documentator @docs .
'''@docs ABfoo ACbar '''
for cross reference between them. Secondly, the B.foo binding should be visible inside the C module. This can be achieved, for example, by adding import ..B: foo to the C module (or by adding export foo to B and using ..B to C ). Here is a working example:
module A module B "foo function" function foo end end module C import ..B: foo """ bar(x) Like ['foo'](@ref), but more 'bar'. """ function bar end end end
source share