Stream: helpdesk (published)

Topic: cross-referencing in Documenter.jl


view this post on Zulip Leandro Martínez (Aug 26 2022 at 15:07):

Given file1.md, with:

# My Title
content

and file2.md with:

# New section
See [My Title](@ref)

What am I missing such that the link in file2.md points to the My Title section in file1.md? From the generated outputs it seems that it is cross-referencing only within each file.

(I tried adding (@id other_name) and referencing that explicility, but the problem is the same).

FWIW, I'm generating the docs locally with LiveServer + servedocs(), but I guess tha has nothing to do with it.

view this post on Zulip Sundar R (Aug 26 2022 at 16:05):

That should work. Are you getting reference link warnings during doc generation?


Last updated: Oct 02 2023 at 04:34 UTC