From nobody Mon Sep 23 16:12:00 2024 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XC7Kr2S2fz5WB0K for ; Mon, 23 Sep 2024 16:12:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XC7Kr20MYz4KWq; Mon, 23 Sep 2024 16:12:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727107920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vq5bQmkzEPW8E9UOZ1nlM6SySaWw3Eb1iNP62Ci7CyU=; b=ZsklYfO8ws9fnLtEfgP80xCXt9BCHTRxYiwG77/2euDp86ZCS6mezbz9FWbZniznciKhhj ddNkBEbr4CnwMmQlG1dl/Y6zr80veErAZvrWbl4nLB4klGfppWbukhK5jPdoSPN5phslo0 CWNdcFdvBxv3AaePNd9J92KyfFtmYflfq8SkbvORMIR9UrM2qLYFSS/lLSsf58emGaTdw5 BJkZGg3tizwCOclQbfJY5I5EnVEIDiZ8aQIYkvmN/tOAUkdBxgqvSkrHyN7SGmPAulLrj3 kAaiHZlBMstpAcBW1B0CjEyJXY5HcQBygIa+DM+q/F/EHYSln1ssAhQN317HBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727107920; a=rsa-sha256; cv=none; b=QX0EX2mwukSuU6RzhxYo9w99m9KZsUw6BGNmaWCVbrZzSmWkujU+064U9F/jImIOJFDS1T c+TxNXjYc44UKIdcuQbG+UkAGn/e25Eyu/m+hIPZskwaQwbe7wjOoG0766ld8XTVxqs0zg SAHGMHlAx7u2d9YF1RNtN83vGA8ohHEKNycc59mWrJzCmM3DuZEu4dkM17gXb+Xp/zQfUF KU7j6DtS0Kw2DAs4uJciJTV26fcbpJs9TeLGkpGmoPMTsr4uhcZeMixDrBbdXY/FzsrqwU dBwHqEs/gaYJSY8dk5mDxBSYu7EUJFSdYi8eb2I6VsNxpAHZsaCZPT5G1PaGeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727107920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vq5bQmkzEPW8E9UOZ1nlM6SySaWw3Eb1iNP62Ci7CyU=; b=vm+WmxpJvaoISQK7vI6fwQzrLL7WQALRIoblmwJiOaUqctuHYv/wF+ccwAiCmK/jA2lM5R +tdzUAqtrBmjz8PA7fcs8bFqJdi7UmsrUVwDxcSae1wz4P8odzMCpEnsSoPLXwspXnnHp+ aPn12v9lrh77qJKq9h5DKeUAFT57e+UOTft+nRhwwovk7Smy1cAs6YhH1xhmEzReZ+UXaN jOFJOPLCuZPvX7I6kHAIFE6Jlz3CD1+bEQ+x8zZsA7yFJyaEEQ+q0j4kixdRwxLRly9ufx cRc3QD1wi02CFqvrhMwpcpIEwKI64nzfJFUtS0DPx32rvoBf8yMFF3ms4oGN1g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XC7Kr1bznzrwW; Mon, 23 Sep 2024 16:12:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48NGC0Cq028460; Mon, 23 Sep 2024 16:12:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48NGC0aL028444; Mon, 23 Sep 2024 16:12:00 GMT (envelope-from git) Date: Mon, 23 Sep 2024 16:12:00 GMT Message-Id: <202409231612.48NGC0aL028444@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: af92816e18 - main - [macros]: Report faulting anchor in warning List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: af92816e18893fd4d6caa44a39ac63a1f2f9a5e5 Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/doc/commit/?id=af92816e18893fd4d6caa44a39ac63a1f2f9a5e5 commit af92816e18893fd4d6caa44a39ac63a1f2f9a5e5 Author: Fernando ApesteguĂ­a AuthorDate: 2024-09-23 12:27:57 +0000 Commit: Fernando ApesteguĂ­a 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