From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1151588-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3D070138350
	for <garchives@archives.gentoo.org>; Wed, 11 Mar 2020 14:38:41 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 60874E0976;
	Wed, 11 Mar 2020 14:38:40 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 440ADE0976
	for <gentoo-commits@lists.gentoo.org>; Wed, 11 Mar 2020 14:38:40 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 082BE34F171
	for <gentoo-commits@lists.gentoo.org>; Wed, 11 Mar 2020 14:38:39 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B3733163
	for <gentoo-commits@lists.gentoo.org>; Wed, 11 Mar 2020 14:38:37 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1583937466.f18faa6e7cc6cddfbddd35fea7ca042e5f030087.ulm@gentoo>
Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/variables/
X-VCS-Repository: proj/devmanual
X-VCS-Files: ebuild-writing/variables/text.xml
X-VCS-Directories: ebuild-writing/variables/
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: f18faa6e7cc6cddfbddd35fea7ca042e5f030087
X-VCS-Branch: master
Date: Wed, 11 Mar 2020 14:38:37 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 470410fb-ad9e-452e-81f5-d16c6be4134c
X-Archives-Hash: be15fe14bcf602d8a28bbcce8124c322

commit:     f18faa6e7cc6cddfbddd35fea7ca042e5f030087
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 14:33:42 2020 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 14:37:46 2020 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=f18faa6e

ebuild-writing/variables: Replace codesample by pre.

Also remove a comment (which says that the sample isn't ebuild code,
so why was codesample used for it, in the first place?).

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ebuild-writing/variables/text.xml | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/ebuild-writing/variables/text.xml b/ebuild-writing/variables/text.xml
index 863330b..56966b3 100644
--- a/ebuild-writing/variables/text.xml
+++ b/ebuild-writing/variables/text.xml
@@ -451,13 +451,9 @@ pseudo-protocol.
 One might define a set of "example" mirrors,
 </p>
 
-<!--
-  The following isn't ebuild code, but lang="ebuild" works, and no
-  other language choice would be accurate either.
--->
-<codesample lang="ebuild">
+<pre>
 example https://download.example.com https://mirror1.example.org/example
-</codesample>
+</pre>
 
 <p>
 that can afterwards be referenced through a <c>mirror://</c> URI: