Date: Mon, 23 Sep 2024 16:12:00 GMT From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= <fernape@FreeBSD.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org Subject: git: af92816e18 - main - [macros]: Report faulting anchor in warning Message-ID: <202409231612.48NGC0aL028444@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=af92816e18893fd4d6caa44a39ac63a1f2f9a5e5 commit af92816e18893fd4d6caa44a39ac63a1f2f9a5e5 Author: Fernando ApesteguĂa <fernape@FreeBSD.org> AuthorDate: 2024-09-23 12:27:57 +0000 Commit: Fernando ApesteguĂa <fernape@FreeBSD.org> CommitDate: 2024-09-23 16:11:45 +0000 [macros]: Report faulting anchor in warning --- shared/lib/InterDocumentReferencesMacro/extension.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/lib/InterDocumentReferencesMacro/extension.rb b/shared/lib/InterDocumentReferencesMacro/extension.rb index e05cfe0a6f..7d74ede1bb 100644 --- a/shared/lib/InterDocumentReferencesMacro/extension.rb +++ b/shared/lib/InterDocumentReferencesMacro/extension.rb @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409231612.48NGC0aL028444>
