PhysicalOceanography

Using @autodocs:

Citing a specific docstring:

Doctest examples

Using the @repl mode (or @example mode):

julia> using PhysicalOceanography

julia> f(10)
2.5325197527300464e-5

Using a doctest, with hidden setup & output,:

isapprox(f(45),1.03125867182e-4)