1
0
mirror of https://git.FreeBSD.org/doc.git synced 2026-06-02 11:25:20 +00:00

[macros]: Report faulting anchor in warning

This commit is contained in:
Fernando Apesteguía
2024-09-23 14:27:57 +02:00
parent 172312e266
commit af92816e18
@@ -13,7 +13,7 @@ class InterDocumentReferencesMacro < Asciidoctor::Extensions::InlineMacroProcess
text = attrs[2]
if text.nil? || text.empty?
warn "Crossref needs a description."
warn "Crossref '#{anchor}' needs a description."
end
doc = parent.document