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:

Reply via email to