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?

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

Oh, yes, right, there were identical titles, I didn't notice the warnings. Thanks!

view this post on Zulip Notification Bot (Aug 26 2022 at 17:32):

Leandro Martínez has marked this topic as resolved.


Last updated: Nov 22 2024 at 04:41 UTC