Skip to content

Commit

Permalink
Add more information to warning about unresolved link (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen authored and fredrikekre committed Nov 15, 2019
1 parent 6dfecdf commit b756415
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Writers/HTMLWriter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1666,7 +1666,7 @@ function fixlinks!(ctx, navnode, link::Markdown.Link)
# provided files or generated by code examples)
path = relhref(get_url(ctx, navnode), path)
else
@warn "invalid local link: unresolved path in $(Utilities.locrepr(navnode.page))" link = link.url
@warn "invalid local link: unresolved path in $(Utilities.locrepr(navnode.page))" link.text link.url
end

# Replace any backslashes in links, if building the docs on Windows
Expand Down

0 comments on commit b756415

Please sign in to comment.