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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user