# Documenter: @ref to another module

**URL:** <https://discourse.julialang.org/t/documenter-ref-to-another-module/14814>\
**Category:** New to Julia\
**Created:** [September 11, 2018, 2:29pm UTC](https://discourse.julialang.org/t/documenter-ref-to-another-module/14814 "2018-09-11T14:29:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DominiqueMakowski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dominiquemakowski/32/51410_2.png) [@DominiqueMakowski](https://discourse.julialang.org/u/DominiqueMakowski)\
**Post date:** [September 11, 2018, 2:29pm UTC](https://discourse.julialang.org/t/documenter-ref-to-another-module/14814/1 "2018-09-11T14:29:02Z")

</div>

I am trying, in a docstring, to point to the function of another module. For example `mad` of `StatsBase`.

I tried `[mad](@ref))`, `[mad](@ref StatsBase.mad))` and `[StatsBase.mad](@ref))` but none of them seem to work: travis says:

```julia
Documenter: rendering document.
 !! Invalid local link: unresolved path
    '@ref StatsBase.mad' in man/API.md

```

Is it expected or did I miss something?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [September 11, 2018, 3:23pm UTC](https://discourse.julialang.org/t/documenter-ref-to-another-module/14814/2 "2018-09-11T15:23:54Z")

</div>

[https://github.com/JuliaDocs/Documenter.jl/issues/688](https://github.com/JuliaDocs/Documenter.jl/issues/688)

---

<div class="post-metadata">

**Author:** ![tk3369](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tk3369/32/2824_2.png) [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Post date:** [September 11, 2018, 3:29pm UTC](https://discourse.julialang.org/t/documenter-ref-to-another-module/14814/3 "2018-09-11T15:29:16Z")

</div>

A little off topic here but something like [rdocumentation](https://www.rdocumentation.org) would be very useful…
