Date: Mon, 23 Sep 2024 05:24:45 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: b19f1b1894 - main - macros: Unbreak build Message-ID: <202409230524.48N5OjeI025768@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=b19f1b1894932071da107f210d1cbc6539d20175 commit b19f1b1894932071da107f210d1cbc6539d20175 Author: Fernando ApesteguĂa <fernape@FreeBSD.org> AuthorDate: 2024-09-23 05:23:37 +0000 Commit: Fernando ApesteguĂa <fernape@FreeBSD.org> CommitDate: 2024-09-23 05:23:37 +0000 macros: Unbreak build Use a warning instead of an error for now. --- 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 da18d39935..e05cfe0a6f 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? - raise StandardError, "Crossref needs a description." + warn "Crossref needs a description." end doc = parent.document
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409230524.48N5OjeI025768>
